Skip to main content
Glama

Beggar Bot

cron_parse

Validate and explain a cron expression and list its next N fire times in an IANA timezone (DST-aware, pure compute). Paid: $0.02 USDC via x402.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
tzNoIANA timezone, default UTC
exprYes5-field cron or @daily etc.
fromNostart ISO 8601 or unix seconds (default now)
countNonext times 1-50 (default 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the two traits that matter most here: it is pure computation with no side effects, and it is a paid call costing $0.02 USDC via x402 (an agent must budget for that). It does not say what happens on an invalid expression (error vs. explanation-only) or the shape of the returned fire-time list, which keeps it short of a 5.

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 tight sentences, front-loaded with the capability and followed by the payment/behavioral note. Every clause (DST-aware, pure compute, price) earns its place with no filler.

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 4-parameter, stateless compute tool with no output schema, the description covers purpose, timezone handling, result shape (next N fire times), and the payment model. The main residual gap is failure behavior for malformed cron input, which matters for a validator.

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 schema already documents tz, expr, from, and count, and the baseline is 3. The description adds the useful nuance that timezone handling is DST-aware and that output is the next N fire times, but it never mentions the 'from' start parameter, so it does not meaningfully exceed the schema.

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 three specific actions (validate, explain, list next fire times) against a clearly identified resource (a cron expression), plus the timezone context. An agent knows exactly what it gets back conceptually, and nothing in the sibling list overlaps with cron handling.

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 rather than stated: the tool is self-evidently for cron expressions, and 'pure compute' signals it is a local calculation with no chain or network dependency. There is no explicit when-to-use/when-not-to-use framing or mention of any alternative, so an agent must infer applicability.

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.