Skip to main content
Glama

Describe Cron

describe_cron
Read-onlyIdempotent

Parse and validate a cron expression (5 fields or an @alias) and describe it in plain English. Returns the parsed fields and whether it is valid.

Input Schema

NameRequiredDescriptionDefault
expressionYesA cron expression, e.g. "0 9 * * 1-5" or "@daily".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "expression": "0 9 * * 1-5"
      +  },
      +  {
      +    "expression": "@daily"
      +  }
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint:false, covering the safety profile. The description adds valuable behavioral context by specifying the input format ('5 fields or an @alias') and the return behavior ('Returns the parsed fields and whether it is valid'). No contradiction with annotations.

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 is a single, well-structured sentence that front-loads the primary action and includes all essential information without any fluff. Every phrase earns its place.

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?

For a simple tool with one parameter and rich annotations, this description is complete: it states what the tool does, the input format, and the return values. No external context is missing for an agent to use the tool correctly.

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 the parameter 'expression' is already well documented by the schema. The description adds the '5 fields or an @alias' detail, but this is essentially already conveyed by the schema's examples. Thus the description adds marginal value over 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?

The description clearly states the tool's purpose with specific verbs ('Parse and validate') and a specific resource ('a cron expression'), and it describes the output ('describe it in plain English', 'Returns the parsed fields and whether it is valid'). This distinguishes it from all sibling tools, none of which perform cron expression parsing.

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 intended usage is implied by the description, but there is no explicit guidance on when to use this tool versus alternatives. No mention of exclusions or when not to use it, and no reference to sibling tools like 'next_runs' that might be related.

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.