Skip to main content
Glama

cron

Explain a cron expression in plain English and list its next run times.

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": {
      "expr": "<expr>"
    },
    "name": "cron"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNoHow many next runs (1-50, default 5)
tzNoIANA time zone, default UTC
exprYes5 fields (minute hour day month weekday) or @daily etc.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. To its credit it discloses both outputs (an English explanation and a list of next run times), which is the core behavior an agent needs. It says nothing about error handling for malformed expressions, how time zones affect the listed runs, or whether evaluation is pure/read-only—gaps that matter for a 3-parameter tool with zero annotation coverage.

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?

A single sentence with no filler, front-loading the primary function (explaining) before the secondary output (next run times). Nothing is redundant or vague enough to waste an agent's attention.

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

Completeness4/5

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

For a simple, non-destructive utility with three fully documented parameters and no output schema, the description covers both what goes in and what comes back. Only minor gaps remain, such as what happens with an unparseable expression or how tz interacts with the listed run times.

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 description coverage is 100%: expr format, the n range with default, and the IANA tz default are all documented in the schema. The description adds no meaning beyond that, so the baseline of 3 applies—the schema does the work and the description merely restates the tool's purpose.

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

Purpose4/5

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

The description names two concrete operations on a specific resource: explain a cron expression in plain English and list its next run times. That is a clear verb+resource pair an agent can match to a request. It does not need sibling differentiation because no other tool in the sibling list touches cron scheduling, though it also does not say so explicitly.

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 only implied: the agent must infer this tool is for when it has a cron expression and wants either a human-readable reading or upcoming fire times. There is no statement of when not to use it, no mention of behavior for invalid expressions, and no alternatives named (none exist among the siblings, but that is left 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.

Resources