Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-duration

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

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

Input Schema

NameRequiredDescriptionDefault
durationYes

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and mostly doesn't meet it. It does add one useful operational fact — the free-trial quota tied to a signed wallet, which implies an auth/payment requirement — but says nothing about accepted input formats, failure modes on unparseable strings, or what the response looks like.

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?

Two short sentences, front-loaded with the purpose, no padding in the prose itself. The emoji/promo clause is slightly off-topic but occupies little space and does carry auth context.

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?

For a single-parameter tool the main thing an agent needs is the accepted format and the direction of the operation, and neither is present. No output schema exists to explain returns, and no annotations cover behavior, so the gap is significant relative to how easy it would have been to close.

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?

One required parameter with 0% schema description coverage, and the description does not compensate. For a format/parse tool the single most important semantic is the expected duration syntax (ISO 8601, '1h30m', seconds-as-number), and the description never states it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb pair and a resource ('Format and parse time durations'), so the general domain is clear. But it never says which direction the call goes or which format — and with siblings like x402-duration-iso, x402-duration-humanize, and x402-duration-human in the same family, an agent cannot tell what this one produces that they don't.

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 guidance at all: no condition selecting this over the sibling duration tools, no prerequisites, no exclusions. The only extra sentence is a pricing note, not usage guidance.

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