Skip to main content
Glama

ai_cron

Read-only

Plain English to cron expression — Describe a schedule in words (every weekday at 9am, every 15 minutes during business hours, first of the month at midnight) and get a standard 5-field cron expression, a plain explanation, the assumptions made, whether cron can express it exactly, and the next run times validated offline by /v1/util/cron. Price: $0.004 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "ai_cron"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNooptional timezone the user means, e.g. America/Chicago
textYesevery weekday at 9:30am

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, open-world behavior, and the description goes further by disclosing the response shape (expression, explanation, assumptions, expressibility verdict, next run times), offline validation, and the payment requirement ($0.004 USDC on Base via x402) — a material auth/cost detail an agent must know. It does not discuss failure modes such as unparseable input or rate limits.

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?

A single front-loaded sentence states the purpose first, then the output, then the price. It is dense but every clause carries information; the output-field list is slightly long for one sentence but earns its place since no output schema exists.

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?

With no output schema, the description carries the burden of describing returns and does so fully, including the expressibility verdict and next-run validation. It also covers cost/payment and the offline validation path, leaving nothing an agent needs before calling it.

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 both parameters are already documented in the schema, establishing a baseline of 3. The description's examples illustrate the kind of free-text input 'text' accepts and implies 'tz' matters for schedule interpretation, but it adds no syntax or format detail beyond the 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?

The description opens with a specific verb+resource ('Plain English to cron expression') and immediately grounds it with three concrete input examples. It references /v1/util/cron as the validating backend, which hints at the sibling util_cron, but never explicitly states how this tool differs from calling util_cron directly.

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 parenthetical examples ('every weekday at 9am, every 15 minutes during business hours, first of the month at midnight') make the intended use case clear: turning natural-language schedules into cron. There is no explicit when-not guidance or statement of alternatives, but the context is unambiguous for this narrow tool.

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