Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-cron-validator

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

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": {
      "cron": "<cron>"
    },
    "name": "x402-cron-validator"
  }
}

Input Schema

NameRequiredDescriptionDefault
cronYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "cron"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / cron / description
      Removed value: -"Cron to process"
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden and does disclose useful traits: it is a pure parser with no external dependencies and returns a field-expansion summary. It does not say what happens on invalid input (error vs. a validity flag), nor the shape of the returned summary, which matters because there is no output schema.

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 compact sentence with the format constraint and grammar support front-loaded, followed by the return-value note and the dependency-free note. The leading repetition of the tool name is slightly redundant but costs little.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, no-annotation, no-output-schema tool, the description covers input format and the existence of a returned summary. It leaves the result contract (validity result structure, error behavior) undefined, which is the main gap for an agent deciding how to consume the output.

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% (a bare string), so the description must compensate, and it does: it constrains the parameter to a standard 5-field expression with field order min hour dom mon dow and enumerates the supported operators. What is missing is any statement about accepted edge cases (ranges of month/day names, 6-field extensions, whitespace handling).

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 (validate) and resource (standard 5-field cron expression), and lists the recognized grammar elements (*, /, range, comma, step). However, it gives no differentiation from the many near-identical siblings such as x402-cron-validate, x402-cron-parse, and x402-cron-next, so an agent cannot tell from the text alone which of those it should pick.

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?

'纯解析器' (pure parser) implicitly signals this only parses/validates and does not schedule or compute run times, which weakly separates it from x402-cron-next and the scheduler tools. There is no explicit when-to-use or when-not-to-use statement and no named alternative, so the guidance remains inferred rather than stated.

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.