Skip to main content
Glama

Cron & Regex Debugger

cron-debugger

Explain a cron expression in plain language and compute its next 5 fire times, or test a regular expression against sample text and return the matches. Inputs: cron (a standard 5-field cron expression) and/or regex with optional flags and text. Use this when a user asks when a cron schedule runs, wants to verify a cron format, or wants to test/debug a regex.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cronNoA standard 5-field cron expression, e.g. "*/5 * * * *".*/5 * * * *
textNoSample text to run the regex against.
flagsNoRegex flags, e.g. "gi".g
regexNoA JavaScript regular expression pattern to test.
localeNoUI language for the rendered card.en

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses that the cron path computes the next 5 fire times and that the regex path returns matches, which is useful output behavior, but it says nothing about invalid-expression handling, error behavior, or that the operation is a side-effect-free computation.

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?

Three sentences, front-loaded with the primary action and ending with the usage triggers. Efficient and zero filler, though the 'Inputs:' sentence partially restates schema content; it does earn some of its place by clarifying the and/or relationship between the two modes.

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-mode tool with 5 all-optional parameters, no annotations, and no output schema, the description covers both modes and their outputs adequately. The gap is minor: it does not state behavior when conflicting or missing inputs occur, and omits the locale parameter.

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 the baseline is 3. The description restates the key inputs (cron as a 5-field expression; regex with optional flags and text) but adds little format or constraint detail beyond the schema, and never mentions the locale parameter at all.

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 names two specific verbs and resources: explaining a cron expression (with next 5 fire times) and testing a regex against sample text. This is concrete enough that an agent can tell exactly what the tool produces, and it is readily distinguishable from the sibling tools, none of which overlap with cron/regex debugging.

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 final sentence gives explicit trigger conditions: when a schedule runs, when verifying a cron format, or when testing/debugging a regex. That is clear when-to-use guidance, but it offers no exclusions or named alternatives, and does not clarify what happens if neither input or both inputs are supplied.

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