Skip to main content
Glama

x402-duration

Duration: Format and parse time durations. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
durationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / duration / description
      Removed value: -"Duration to process"
  2. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing about accepted input formats, what the response looks like, error behavior, or whether the operation is deterministic. The free-trial note adds environmental context but says nothing about how the tool behaves when invoked.

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?

The core purpose is front-loaded in one short clause with no filler, and the trial-call note is a single compact sentence. It is efficient, though the brevity comes at the cost of the missing detail scored above rather than from tight editing of a fuller description.

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

Completeness2/5

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

With no annotations and no output schema, the description is the only source of behavioral truth, yet it omits accepted input formats, output format, and the distinction between parsing and formatting. For a tool whose entire interface is one untyped string, those omissions leave an agent unable to call it correctly without guessing.

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

Parameters2/5

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

Schema description coverage is 0% and the single 'duration' parameter has no type guidance in the schema beyond 'string'. The description never clarifies whether the parameter takes a duration string (e.g. '90m', 'PT1H30M'), a number of seconds, or a format specifier, leaving the primary input undocumented in both places.

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 gives a specific verb+resource pair ("Format and parse time durations") that identifies the tool's domain immediately. However, it does not distinguish this tool from the many overlapping siblings such as x402-duration-human, x402-duration-iso, x402-seconds-to-human, or x402-relative-time, and the dual 'format and parse' verbs leave the actual operation ambiguous for a single-parameter tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, no mention of any alternative tool, and no explanation of how the agent selects between the format and parse behaviors. The only added guidance is a payment/free-trial note, which is commercial rather than operational.

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