Skip to main content
Glama

Compute Cron Fire Times

cron_next
Read-only

Deterministic cron expression validator and scheduler: parses a cron expression (5 or 6 field, seconds optional) and computes the next N actual fire times, timezone-aware. Use this instead of guessing - cron semantics (DOM/DOW OR-logic, DST transitions) are routinely miscalculated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNoCompute fire times after this ISO 8601 instant. Default now.
countNoHow many fire times. Default 5.
timezoneNoIANA timezone, e.g. "America/Chicago". Default UTC.
expressionYesCron expression, e.g. "0 9 * * MON-FRI".

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, but the description adds valuable behavior: determinism, support for 5/6 field expressions, timezone-awareness, and specific mentions of DST and DOM/DOW logic. This exceeds the minimal and provides helpful context beyond annotations.

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?

The description is two sentences, front-loaded with the primary purpose and then a rationale. Every clause adds value, with no redundancy or fluff.

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?

Given the tool's moderate complexity, the description covers the main use cases (validation, scheduling, timezone handling) and even highlights edge cases (DST, OR-logic). With no output schema, it clearly states that it computes fire times, providing sufficient context.

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 baseline is 3. The description adds semantics like '5 or 6 field, seconds optional' and 'timezone-aware', which supplement the schema's parameter definitions and help interpret the 'expression' 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?

The description clearly states the tool's function: 'parses a cron expression... and computes the next N actual fire times'. It distinguishes itself from siblings by its specific focus on cron validation and scheduling, and no sibling offers similar functionality.

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?

The description provides explicit guidance: 'Use this instead of guessing' and explains common pitfalls (DOM/DOW OR-logic, DST transitions). While no alternative tool is named, the guidance is clear and context-specific.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a unique, clearly defined purpose (counters, cron, DNS, email, fixtures, webhooks, KV, locks, name checks, regex, timers, timezone, URL checks). There is no functional overlap; even closely related tools like timer_schedule and cron_next are clearly separated by descriptions.

Naming Consistency4/5

The dominant naming pattern is <resource>_<action> (e.g., inbox_create, kv_get, lock_acquire, tz_convert). A few tools deviate, such as counter_next and cron_next (resource_qualifier), fixture_rows (resource_noun), and request_tool (verb_noun), but these are minor and do not obscure the overall pattern.

Tool Count3/5

At 24 tools, the server exceeds the typical 3-15 range, leaning heavy. The tools cover many independent utility categories, each with a minimal set of operations, but the overall count feels slightly excessive for a single server, though it is justified by the broad scope.

Completeness4/5

The server provides complete lifecycles for its functional areas: KV (set/get/list/delete), inbox (create/poll/delete), locks (acquire/release), timers (schedule/status/cancel/verify). Each utility is self-contained, and the request_tool offers a path for extending the surface. No obvious gaps or dead ends within the intended domain.

Resources