Skip to main content
Glama

Why no run?

cron_why_no_run
Read-onlyIdempotent

Explains field-by-field why a job schedule did or did not select a timestamp, showing previous and next runs plus day-field AND and DST effects. Use it when an expected run is missing.

Instructions

Explain field-by-field why a job's schedule did or did not select a timestamp ('day-of-week Tuesday is not in Monday and Friday'), with the previous and next scheduled runs and notes on this dialect's day-field AND rule and DST effects. Use it when an expected run is missing. If the schedule does match, the answer refers to execution history (cron_list_runs) instead.

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": {
      "name": "<name>",
      "at": "<at>"
    },
    "name": "cron_why_no_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
atYesTimestamp to test, in ISO 8601, such as 2026-10-26T09:00. Without an offset it uses the job's time zone.
nameYesExact job name, as cron_list_jobs returns it. A workflow's schedule is dag:<name>.

Output Schema

NameRequiredDescriptionDefault
atYes
jobYes
notesYes
checksYes
failedYes
rebootYes
enabledYes
matchesYes
resolvedNo
timezoneYes
next_fireYes
at_in_zoneNo
expressionYes
descriptionYes
previous_fireYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.2.73
    • addedInput schema / properties / at / description
      Added value: +"Timestamp to test, in ISO 8601, such as 2026-10-26T09:00. Without an offset it uses the job's time zone."
    • addedInput schema / properties / name / description
      Added value: +"Exact job name, as cron_list_jobs returns it. A workflow's schedule is dag:<name>."
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish the safe read-only, idempotent, closed-world profile, so the description earns credit for what it adds: the answer is field-by-field, includes previous/next runs, and flags dialect quirks (day-field AND rule, DST effects). It stops short of describing the shape or size of the response, but the output schema exists to cover that.

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?

Three sentences, front-loaded with the core operation, then the trigger, then the escape hatch. The parenthetical example does real work by showing the output style in a dozen words; nothing is redundant.

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

Completeness5/5

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

Two required parameters are fully specified by the schema, an output schema exists, and the description still tells the agent what the answer will contain and how to route when the tool is the wrong choice. An agent can decide and call correctly with nothing further.

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 both `name` and `at` are already fully documented including ISO 8601 format and the DST/job-timezone fallback. The description adds only the implicit notion that `at` is 'a timestamp' being tested, which is the baseline for a fully documented schema.

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?

A concrete verb-plus-resource ('Explain field-by-field why a job's schedule did or did not select a timestamp') with an inline worked example that makes the operation unambiguous. The one gap is that the near-identical sibling cron_explain_schedule is never mentioned, so an agent must infer the difference from the required `at` parameter rather than from the text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ('Use it when an expected run is missing') and an explicit routing rule for the matching case, naming cron_list_runs as the alternative. Both the when and the when-not are stated, which is rare.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.