Skip to main content
Glama

IA-QA — 152 QA & Dev Tools for AI Agents

cron_validator

Read-onlyIdempotent

Validate a 5-field cron expression, explain the schedule, and preview the next execution times. Use this to debug cron jobs before they reach production. Returns parsed fields, a human-readable description, and upcoming ISO timestamps.

Input Schema

NameRequiredDescriptionDefault
expressionYesCron expression with 5 fields, e.g. "*/15 9-18 * * 1-5"
next_runs_countNoHow many upcoming runs to return (1-50, default: 10)

Output Schema

NameRequiredDescriptionDefault
validNo
fieldsNo
next_runsNo
expressionNo
human_readableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "expression": "0 0 29 2 *",
      +    "next_runs_count": 1
      +  }
      +]
  2. Changed1 schema field changed
    • addedOutput schema / properties
      Added value: +{
      +  "expression": {},
      +  "fields": {
      +    "type": "object"
      +  },
      +  "human_readable": {},
      +  "next_runs": {},
      +  "valid": {
      +    "type": "boolean"
      +  }
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is fully covered. The description adds that the tool returns parsed fields, a human-readable description, and upcoming ISO timestamps, but since an output schema exists this is largely redundant rather than genuine extra behavioral context.

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 short sentences, front-loaded with the verb+resource and followed by purpose and return value. Nearly every sentence earns its place, with only minor redundancy given the existing output schema.

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 simple 2-parameter read-only tool with an output schema and full annotation coverage, the description is essentially complete. The one gap is the relationship to the cron_parse sibling, which an agent would have to resolve on its own.

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% – both expression and next_runs_count are documented in the schema with examples and ranges. The description reinforces the 5-field constraint and the next-run preview, but adds no syntax or format information beyond the schema, matching the baseline 3.

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 and resource ('Validate a 5-field cron expression') plus two concrete adjacent capabilities (explain the schedule, preview next runs). It is clear what the tool does, but it never distinguishes itself from the sibling cron_parse, which plausibly covers the same parsing/explaining ground.

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?

'Use this to debug cron jobs before they reach production' gives a usage context, so guidance is implied rather than absent. However, there is no when-not guidance, no mention of the cron_parse alternative, and no statement about how to handle 6-field (seconds) expressions besides the implicit rejection.

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.