Skip to main content
Glama

mechacut

cron_next

Next N fire times of a 5-field cron expression (or @macro), wall-clock semantics in tz, Vixie dom/dow OR rule. Pin after for a byte-stable answer. Free.

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": {
      "expression": "<expression>"
    },
    "name": "cron_next"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNoUTC
afterNoISO instant (default: wall now)
countNo1-1000
expressionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses key semantics: wall-clock interpretation in `tz`, the Vixie dom/dow OR rule, and deterministic output when `after` is pinned. It does not state what happens on an invalid expression, whether errors are raised or returned, or the output shape.

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 dense fragments with no waste; the core operation is front-loaded and each clause adds distinct information (macro support, timezone semantics, dom/dow rule, determinism, cost).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description should be more explicit about returned values (a list of ISO instants?) and invalid-input behavior. For a 4-parameter computation tool with no annotations, it is serviceable but leaves gaps an agent would care about.

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 50%. The description adds meaning to `tz` (wall-clock semantics) and `after` (pinning yields a byte-stable answer β€” it is the reference instant), and "N" maps to `count`. It does not add format or edge-case detail for `expression` beyond the tool name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: computes the next N fire times of a 5-field cron expression or @macro. An agent can tell this is a forward-scheduling tool distinct from cron_humanize and cron_validate, though siblings are not named.

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?

"Pin `after` for a byte-stable answer" gives a concrete usage hint for determinism, and "Free" signals cost, but there is no explicit when-to-use vs when-to-use-an-alternative guidance or stated prerequisites.

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.