Skip to main content
Glama

MAD Synapse · Utils

Cron expression explain + next runs

cron_explain
Read-onlyIdempotent

Explain a cron expression in plain English and list its next N run times in any time zone — catch a schedule mistake before it fires at 3 am. Supports 5-field and 6-field (seconds) cron, ranges, steps, L/W/#, and nicknames (@daily, @hourly…). Price: free. Errors: returns isError with a message for invalid input or an upstream failure (not charged).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tzNoIANA time zone for the next-run times. Default "UTC".UTC
countNoHow many upcoming run times to list. Range 1-50. Default 5.
expressionYesCron expression, 5 fields (or 6 with seconds), e.g. "*/15 9-17 * * 1-5".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tzNo
validNo
meaningNo
next_runsNo
expressionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely new behavioral facts: pricing ('free') and error contract ('returns isError with a message for invalid input or an upstream failure (not charged)'). It stops short of richer context like latency or output shape, but the output schema covers the latter.

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?

Three tightly packed sentences front-loaded with purpose and payoff; the syntax-support and pricing/error details follow without filler or repetition of the schema.

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?

With an output schema present, return values need no explanation, and the annotations carry the safety profile. The description still supplies the error contract, pricing, and accepted syntax, so nothing an agent needs to invoke it correctly is missing.

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, but the description adds meaningful semantics for the expression parameter by enumerating supported syntax: 5-field and 6-field (seconds), ranges, steps, L/W/#, and nicknames (@daily, @hourly). That tells the agent what inputs will be accepted beyond the schema's single example.

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?

States a specific verb (explain) and resource (cron expression) plus a second concrete deliverable (next N run times in any time zone). No sibling tool does cron work, so the agent can identify it immediately from name and description alone.

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

Usage Guidelines4/5

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

Gives a clear motivating use case ('catch a schedule mistake before it fires at 3 am') that tells the agent when this is the right tool. It does not name any alternative or exclusion, but no plausible sibling competes for this task.

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.

Resources