Skip to main content
Glama

x402-cron-validator

x402-cron-validator: 标准 5 字段 cron 表达式校验(min hour dom mon dow):支持 * / range , step。返回字段展开摘要。纯解析器,无外部依赖。

Input Schema

NameRequiredDescriptionDefault
cronNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / cron / description
      Removed value: -"Cron to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / cron
      Added value: +{
      +  "description": "Cron to process",
      +  "type": "string"
      +}
  3. Added

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose useful traits: supports *, /, ranges, commas and steps, returns a 'field expansion summary', and is a pure parser with no external dependencies (so no network/side effects). It never states what happens on an invalid expression or the exact shape/type of the result, which is a real gap for a validator.

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?

One compact sentence, front-loaded with the tool name and purpose, then scope, supported syntax, return value and a behavioral note. No filler, though the repeated tool name prefix is mildly redundant with the name field.

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 low-complexity, single-parameter validator with no output schema the description covers purpose, accepted input format, supported operators, and a rough return value. Missing detail on invalid-input behavior and the precise result structure keeps it from being fully self-contained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single 'cron' parameter has no schema description, so the description must compensate – and it does by specifying the expected format (5 fields: min hour dom mon dow) and the supported syntax tokens (*, /, range, step). It still omits whether the parameter is required or how malformed input is reported.

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: validation of a '标准 5 字段' (standard 5-field) cron expression, scoped to min/hour/dom/mon/dow. This is clearer than the bare name, but it does not distinguish itself from the near-identical sibling x402-cron-validate (or x402-cron-parse), so the agent gets no help choosing between them.

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?

Usage is only implied by the word 校验 (validation) and 纯解析器 (pure parser) – i.e. call this to check syntax rather than to compute schedules. There is no explicit when-to-use, when-not-to-use, or named alternative among the many cron siblings (cron, cron-next, cron-humanize, cron-parse, cron-validate).

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