Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

cron_next_runs

Read-onlyIdempotent

Compute the next run times of a 5-field cron expression or macro in a chosen time zone. Use it to verify schedules and preview upcoming trigger times.

Instructions

utilpeek: the next run times of a cron expression. For iCalendar RRULEs use expand_rrule. Standard 5-field cron (minute hour day-of-month month day-of-week) or a macro (@daily, @hourly, ...); no seconds or year fields, no R/H/W. Day-of-month and day-of-week use Vixie OR semantics; an expression that never fires (Feb 30) is a 422 no_next_run (not charged); rare ones return what exists with exhausted: true. An invalid expression, start or zone is a 422 (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/cron-next-run-api.html

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "expression": "<expression>"
    },
    "name": "cron_next_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of next runs.
startNoISO 8601 start (default now).
timezoneNoIANA time zone (default UTC).
expressionYes5-field cron expression or macro, e.g. */15 9-17 * * MON-FRI.

Output Schema

NameRequiredDescriptionDefault
runsNo
countNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
startNo
sourceNo
timezoneNo
exhaustedNo
expressionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover read-only/idempotent/non-destructive, but the description adds substantial behavior beyond them: error taxonomy (422 for invalid expression/start/zone, 422 no_next_run for impossible dates, neither charged), the exhausted flag for sparse expressions, latency expectation, price, and a free-tier rate limit per IP per UTC day.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and alternative, then compact clauses that each carry a distinct constraint. The trailing pricing/docs sentence is useful but the paragraph is dense with no visual breaks, which slightly slows scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers everything an agent needs to call it correctly: input domain, escaping alternative tool, failure modes with billing implications, sparse-result handling, and cost. Return values need no elaboration since an output schema exists, and the exhausted flag is explained anyway.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description adds real meaning by constraining the expression parameter (no seconds/year fields, no R/H/W) beyond the schema's example, and by tying 422 errors to the start and timezone parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb-and-resource statement ("the next run times of a cron expression") and immediately names the sibling alternative (expand_rrule for RRULEs), so an agent can route correctly without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states the alternative and the condition selecting it ("For iCalendar RRULEs use expand_rrule") and defines the accepted input domain (5-field cron or @macro; no seconds/year, no R/H/W), including Vixie OR semantics for day-of-month/day-of-week.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools