Skip to main content
Glama

x402-parse-date

Parse Date: Parse date into a record with iso, unix seconds, year, month and day; an unparseable date is a 400. 🆓 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

B3.2/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 add real value by disclosing the return shape and the failure mode (unparseable input yields HTTP 400) plus the 5-free-call trial limit. However, it omits accepted input formats, timezone assumptions, and whether the two parameters are alternatives or combined, which are critical for a date parser.

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 compact sentences, front-loading the core behavior and output fields before the error and pricing notes. The trial-call emoji line is extra but conveys a genuine constraint; nothing else is wasted.

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?

There is no output schema, but the description compensates by listing the returned fields, so return values are reasonably covered. The unresolved two-parameter schema and absent format/timezone guidance leave meaningful holes for a tool whose whole job is interpreting ambiguous date strings.

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 both parameters ('date' and 'value') are untyped beyond string, with none marked required. The description mentions 'date' only implicitly and never explains what 'value' is for or how the two relate, so an agent cannot determine which field to populate.

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 (parse) and resource (date) and enumerates the resulting record fields (iso, unix seconds, year, month, day). It does not distinguish itself from the many nearby date siblings such as x402-date, x402-date-to-unix, x402-iso-to-unix, or x402-is-date-valid, so an agent must infer the difference.

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: it parses a date string into a structured record, so an agent can guess it belongs after raw date retrieval. There is no explicit 'use this instead of X' routing against the sibling date/format/validate tools, and no stated prerequisites or limits on what date formats are accepted.

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