Skip to main content
Glama

Date Math

Cron schedule

cron_schedule
Read-onlyIdempotent

Explain a cron expression in plain English and list its next run times in any time zone. Costs $0.001 per call (x402).

Input Schema

NameRequiredDescriptionDefault
fromNoISO 8601 datetime with offset; default now
countNoDefault 5
timezoneNoDefault UTC
expressionYes5- or 6-field cron expression

Output Schema

NameRequiredDescriptionDefault
fromNo
timezoneYes
next_runsYes
expressionYes
descriptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds a genuinely useful behavioral fact, the $0.001 per-call x402 cost, which is not in the schema or annotations. It does not explain how payment is handled or whether calls require pre-authorization, so it is adequate rather than rich.

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?

Two short sentences with the core capability front-loaded and the cost note appended. Nothing is redundant and every sentence carries information.

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?

An output schema exists, so return-value explanation is unnecessary, and the parameter schema is fully described. The description covers purpose, time-zone scope and pricing. The only gap is that the x402 payment flow is not explained, which could matter for an agent deciding whether the call will succeed.

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%, so expression, from, count and timezone are all documented structurally. The description mentions time zone handling but adds no syntax, format or constraint details beyond the schema, making the baseline 3 correct.

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 states a specific verb and resource: explain a cron expression and list its next run times. That is concrete and distinguishable from siblings like date_add or timezone_convert. It doesn't explicitly name an alternative, so it falls short of 5.

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?

The phrase 'in any time zone' implies context for use, but there is no explicit when-to-use or when-not-to-use guidance and no named alternatives among the many date/time siblings. Usage is implied rather than stated.

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.