59trust / 100

Dev Cron Describe

by AgentTools in Onchain & crypto

x402 APIFailing, checked 2 h ago

Turn a cron expression into plain English, validate it, and compute the exact next execution times. Deterministic — the answer to 'when does this cron actually fire?' without guessing. Use this when an agent needs to explain a cron expression and compute the next runs.

GET https://agenttools-hub.vercel.app/api/v1/dev/cron-describe

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
25.0%
Response time
144 ms typical, 144 ms slowest 5%
Last check
2 h ago: Expected HTTP 402, got 308
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://agenttools-hub.vercel.app/api/v1/dev/cron-describe?expr=0+9+*+*+1-5&ref=2026-10-01T09%3A00%3A00Z"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagenttools-hub.vercel.app%2Fapi%2Fv1%2Fdev%2Fcron-describe
const res = await pay("https://agenttools-hub.vercel.app/api/v1/dev/cron-describe?expr=0+9+*+*+1-5&ref=2026-10-01T09%3A00%3A00Z");
console.log(await res.json());

Example input

{
  "expr": "0 9 * * 1-5",
  "ref": "2026-10-01T09:00:00Z"
}

Example output

{
  "result": {
    "answer": "At 09:00 AM, Monday through Friday",
    "answerLabel": "\"0 9 * * 1-5\"",
    "details": [
      {
        "label": "Fields",
        "value": "5 (minute hour day month weekday)"
      },
      {
        "label": "Reference",
        "value": "2026-10-01T09:00:00.000Z"
      }
    ],
    "steps": [
      "Validate 5-field cron syntax",
      "Render plain-English description",
      "Iterate the schedule 5 times from the reference moment"
    ],
    "table": {
      "columns": [
        "#",
        "Next execution (UTC)"
      ],
      "rows": [
        [
          1,
          "2026-10-02T09:00:00.000Z"
        ],
        [
          2,
          "2026-10-05T09:00:00.000Z"
        ],
        [
          3,
          "2026-10-06T09:00:00.000Z"
        ],
        [
          4,
          "2026-10-07T09:00:00.000Z"
        ],
        [
          5,
          "2026-10-08T09:00:00.000Z"
        ]
      ]
    },
    "value": null
  },
  "tool": "cron-describe"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoExpected HTTP 402, got 30830848 ms-
6 h agoExpected HTTP 402, got 30830815 ms-
11 h agoExpected HTTP 402, got 30830819 ms-
14 h agoExpected HTTP 402, got 30830831 ms-
19 h agoExpected HTTP 402, got 30830817 ms-
21 h agoExpected HTTP 402, got 30830813 ms-
25 h agoPassed402144 ms$0.002
30 h agoPassed402144 ms$0.002