Skip to main content
Glama

Alomo: Developer utilities

Explain a cron expression and list its next run times

explain_cron
Read-onlyIdempotent

Explains a standard 5-field cron expression (minute hour day-of-month month day-of-week; ranges, lists, steps, month and day names, and macros such as @daily) in plain English and lists the next run times in a time zone (default UTC), with daylight saving applied. When both day fields are restricted, it runs on either (standard cron behaviour).

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": "explain_cron"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many next runs to list (1–20, default 5).
time_zoneNoOptional IANA zone, default 'UTC'.
expressionYesCron expression, e.g. '*/15 9-17 * * mon-fri'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's real contribution is behavioral: time-zone default of UTC with DST applied, and the standard cron quirk where restricting both day-of-month and day-of-week yields an OR match. Missing only edge-case behavior such as invalid-expression handling, which keeps it below 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 sentences with zero filler: the first front-loads what is explained and returned, the second preserves an important cron semantics caveat. No repetition of the title or schema fields.

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?

There is no output schema, and the description does state the two return components (plain-English explanation and next run times), which is sufficient for correct invocation. It does not describe how the returned explanation is shaped, a minor gap for a low-complexity, single-required-parameter tool.

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%, so all three parameters (expression, count, time_zone) are already documented, and the description only restates the UTC default. It does add useful syntax exemplification for the expression parameter, but does not convey anything new about count or time_zone format beyond 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?

States a specific verb (explains) plus the exact resource (a standard 5-field cron expression) and the second output (next run times). The supported syntax surface (ranges, lists, steps, month/day names, macros like @daily) further pins down exactly what inputs qualify, so an agent can distinguish it from sibling utilities such as convert_time_zones or business_days.

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 scope statement ("standard 5-field cron expression", macros supported) implicitly tells the agent when this tool applies and when it does not, e.g. non-standard 6/7-field Quartz-style expressions. There is no explicit statement of when to prefer a sibling tool, but no sibling overlaps enough to require one.

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