Skip to main content
Glama

AgentTools Hub

Cron Explainer

dev_cron_describe

Turn a cron expression into plain English, validate it, and compute the exact next execution times. Deterministic — the answer to 'when does this cron actually fire?' without guessing. — x402 price $0.001/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYesReference date (optional)
exprYes5 fields: minute hour day month weekday

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose two valuable traits: determinism (no guessing) and the x402 payment requirement at $0.001/call with chain ID. It does not say how invalid expressions are surfaced or what the response shape looks like, leaving some behavioral gaps.

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

Conciseness4/5

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

Two tight sentences that front-load the capability before the value proposition, with the pricing clause cleanly appended. Slightly dense with three verbs in one sentence but nothing is wasted.

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 two-parameter tool with no output schema, it conveys the input contract, the returned content (plain English plus next fire times), and the payment model. Remaining gaps are edge-case behavior on malformed expressions and the exact output format.

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% and both parameters are already documented in the schema, including the 5-field format for 'expr'. The description adds no syntax, format, or defaulting detail beyond that, so the baseline of 3 applies.

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 three specific functions on a specific resource: translate a cron expression to plain English, validate it, and compute the next execution times. This is unambiguous and clearly distinct from every calculator/converter sibling.

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?

Frames the use case sharply ('when does this cron actually fire?') which signals when to reach for it, and no sibling overlaps in domain. It stops short of explicit when-not guidance or naming an alternative for partial needs (e.g. a plain validator).

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