Skip to main content
Glama

Tidy Byte Tools API

Parse a cron expression

cron_parse
Read-onlyIdempotent

Explain a 5- or 6-field cron string and list the next fire times in UTC.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cron_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many upcoming run times to list, a whole number from 1 to 20. Default 5.
startNoOptional start date and time for the list, in ISO format. Default is now.
expressionNoThe cron schedule, with 5 or 6 fields, like "0 9 * * 1-5".

Output Schema

NameRequiredDescriptionDefault
okYes
toolYes
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / count / description
      Added value: +"How many upcoming run times to list, a whole number from 1 to 20. Default 5."
    • addedInput schema / properties / expression / description
      Added value: +"The cron schedule, with 5 or 6 fields, like \"0 9 * * 1-5\"."
    • addedInput schema / properties / start
      Added value: +{
      +  "description": "Optional start date and time for the list, in ISO format. Default is now.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safe-read profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the bar is lower. The description still adds real behavioral value that annotations do not: output times are reported in UTC, and the accepted expression grammar is narrowed to 5 or 6 fields. It does not say what happens on a malformed expression or whether 'start' is normalized to UTC.

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 front-loaded sentence with no filler; the grammar constraint and the UTC output convention are both stated before any elaboration. Nothing could be removed without losing 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 shape need not be explained, and all three parameters are documented in the schema. For a simple read-only parser this is nearly sufficient; only error behavior for invalid cron strings and timezone semantics for the 'start' input are left unaddressed.

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 coverage is 100%, so all three parameters already carry their own descriptions and ranges (count 1-20, ISO start, expression format). The description only reinforces the '5- or 6-field' grammar, which the expression parameter already states; it adds no new meaning about how 'start' interacts with the UTC output. Baseline 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?

The description gives specific verbs and a resource: 'Explain' a cron string and 'list the next fire times'. Combined with the field-count constraint (5- or 6-field) this is unambiguous and clearly distinct from every sibling utility (base64, hash, date_timezone, etc.).

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 implied by the stated output ('next fire times'), which tells an agent this is for interpreting a schedule rather than converting formats. However, there is no explicit when-to-use framing, no mention of when a dedicated scheduling library or sibling tool like date_timezone would be more appropriate, and no handling guidance for invalid expressions.

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.