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-date-math

Date Math: Date arithmetic and formatting. 🆓 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": {
      "date": "<date>"
    },
    "name": "x402-date-math"
  }
}

Input Schema

NameRequiredDescriptionDefault
aNo
bNo
nNo
opNo
endNo
dateYes
daysNo
epochNo
startNo
valueNo
monthsNo
operationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "date"
      +]
  2. Changed12 schema fields changed
    • removedInput schema / properties / a / description
      Removed value: -"A to process"
    • removedInput schema / properties / b / description
      Removed value: -"B to process"
    • removedInput schema / properties / date / description
      Removed value: -"Date to process"
    • removedInput schema / properties / days / description
      Removed value: -"Days to process"
    • removedInput schema / properties / end / description
      Removed value: -"End to process"
    • removedInput schema / properties / epoch / description
      Removed value: -"Epoch to process"
    • removedInput schema / properties / months / description
      Removed value: -"Months to process"
    • removedInput schema / properties / n / description
      Removed value: -"N to process"
    • removedInput schema / properties / op / description
      Removed value: -"Op to process"
    • removedInput schema / properties / operation / description
      Removed value: -"Operation to process"
    • removedInput schema / properties / start / description
      Removed value: -"Start to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  3. First observed

TDQS

C2.1/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 behavioral-disclosure burden. It mentions a signed-wallet free-trial limit, but says nothing about which operations mutate state, what permissions are needed, how errors are handled, or what the return shape is.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very short and front-loaded, with no wasted narrative, but it is under-specified rather than efficiently informative. The emoji trial-quota line is not useful for selecting or invoking the tool.

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

Completeness1/5

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

For a 12-parameter tool with zero schema descriptions, no annotations, no output schema, and many closely related date siblings, the description omits essentially all operation and parameter semantics needed to invoke it correctly.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not define any of the 12 parameters, including op/operation, a/b, start/end, days/months, epoch, value, or n. The required date parameter is named in the schema but receives no prose explanation.

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?

States a broad category, 'date arithmetic and formatting,' but does not specify which operations are supported. It does not distinguish this tool from date-specific siblings such as x402-format-date, x402-add-days, or x402-date-diff, so an agent can only infer a generic date-math utility.

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?

Provides no when-to-use guidance, no exclusions, and no named alternatives. The only contextual note is a free-trial quota, which does not help an agent choose between this and the many sibling date tools.

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