Skip to main content
Glama

validate_cron

Check if a cron expression is valid. Returns {valid: bool, error?: string}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesCron expression to validate

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It explicitly details the return format as {valid: bool, error?: string}, which tells the agent what to expect and implies a read-only, non-destructive operation. This adds useful behavioral context beyond a simple statement of purpose.

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?

The description consists of two short, focused sentences with no fluff. It states the purpose and the return format efficiently, earning each word.

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 validation tool, the description is complete enough: it covers the purpose and explicitly provides the return shape, compensating for the lack of an output schema. It could optionally mention supported cron syntax variants or error handling details, but those are not essential for basic usage.

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?

The input schema already provides a complete description of the 'expression' parameter with 100% coverage, so the baseline is 3. The tool description does not add any additional meaning or examples for the parameter, but the schema fully explains it.

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 clearly states the tool checks if a cron expression is valid, using a specific verb and resource. This distinguishes it from sibling tools like generate_cron, explain_cron, and next_runs, which serve different purposes.

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?

The description does not explicitly state when to use this tool or mention alternatives, but the purpose is so straightforward that usage is implied (i.e., when validation is needed). No exclusions or alternative comparisons are provided.

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.

TDQS

A3.8/5.0
Disambiguation5/5

Each tool serves a distinct purpose: validating, explaining, comparing, generating, listing common expressions, and computing next runs. No two tools overlap in functionality, making selection unambiguous.

Naming Consistency4/5

Names mostly follow a lowercase snake_case verb_noun pattern (diff_cron, explain_cron, generate_cron, validate_cron). 'common_crons' and 'next_runs' are slight deviations but remain readable and cohesive.

Tool Count5/5

With 6 tools, the server is well-scoped for a cron utility. Each tool earns its place, covering the core domain without redundancy or bloat.

Completeness5/5

The toolset covers the full lifecycle of working with cron expressions: validation, explanation, generation, comparison, scheduling, and common examples. There are no obvious missing operations for the stated purpose.