Skip to main content
Glama

x402-relative-time

Relative Time: Renders a past date as a relative phrase such as 3 days ago using the current time 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
dateNo
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / date / description
      Removed value: -"Date to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "Date to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/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, and it does disclose two real traits: the output depends on the current time (non-deterministic) and calls are metered ('5 free trial calls per signed wallet'). It still omits what happens for future dates, invalid input, or the response shape, but it adds more than nothing.

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 with the core behavior first and an example inline; the pricing note is tacked on but brief. Nothing is padded, though the emoji/trial text sits awkwardly inside the same run-on line.

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?

No output schema and no annotations, so the description must cover behavior and inputs on its own. It gives one example output but leaves the 'value' parameter, accepted date formats, and future-date handling completely unexplained for a 2-parameter tool.

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% for both parameters. The description hints that a date is the input ('renders a past date'), but the second parameter 'value' is never mentioned, and no format (ISO, epoch, string phrase) is specified for either. It does not compensate for the coverage gap.

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 transformation ('renders a past date as a relative phrase such as 3 days ago'), which is clear on its own. However, it does nothing to distinguish itself from the near-identical sibling x402-time-ago, so an agent cannot tell the two apart from the text alone.

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, no prerequisite statements, and no mention of alternatives such as x402-time-ago or x402-days-since. The only directional hint is the word 'past', which implicitly excludes future dates but is never stated as a constraint.

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