Skip to main content
Glama

Explain a cron expression

explain_cron
Read-onlyIdempotent

Turn a cron expression into English, the next UTC run times, and snippets for crontab, GitHub Actions, Vercel, Kubernetes, and node-cron.

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": "explain_cron"
  }
}

Input Schema

NameRequiredDescriptionDefault
nowNoISO timestamp used as the clock. Omit it to use the current time.
dialectNostandard
timeZoneNoIANA time zone used to list the next runs. Hosted schedules stay in UTC.UTC
expressionYesA cron expression, including @daily or @reboot.

Output Schema

NameRequiredDescriptionDefault
runsYes
errorYes
validYes
fieldsYes
englishYes
snippetsYes
hostedNoteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and closed-world, so safety is covered; the description's added value is naming the returned artifacts (English text, next run times, multi-platform snippets). However it says 'next UTC run times' while the schema exposes a timeZone parameter defaulting to UTC and noting hosted schedules stay in UTC — the description doesn't reconcile that behavior, and says nothing about failures on malformed expressions.

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

Conciseness5/5

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

One front-loaded sentence with the action first and the payoff list after; no filler, no restatement of the title, nothing that could be cut without losing information.

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?

An output schema exists, so return values need no explanation, and annotations carry the safety profile; what remains for the description — what the tool produces and in what forms — is stated. The only soft spot is dialect semantics, which is a schema-documentation gap shared with the input schema.

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

Parameters3/5

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

Schema coverage is 75%, so the baseline is 3. The description adds no meaning to dialect values (standard/seconds/quartz/hosted are only an enum in the schema, with no prose anywhere) and its 'UTC run times' wording slightly undercuts the timeZone and now parameters rather than clarifying them.

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?

A specific verb-and-resource statement ('Turn a cron expression into English, the next UTC run times, and snippets...') that also enumerates the concrete outputs (English explanation, upcoming runs, snippets for crontab, GitHub Actions, Vercel, Kubernetes, node-cron). This makes it unmistakable next to unrelated siblings like explain_chmod or convert_unix_timestamp.

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

Usage Guidelines3/5

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

Usage is implied by the phrasing — you bring a cron expression and get an explanation plus snippets — but there is no explicit 'when to use this versus that', no statement about invalid-expression handling, and no mention of the dialect choice as a usage decision. Adequate but leaves selection and preconditions to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.