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-days-between

Days Between: Returns the absolute difference between start and end dates in days and hours 🆓 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": {
      "end": "<end>",
      "start": "<start>"
    },
    "name": "x402-days-between"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
startYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "end",
      +  "start"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / end / description
      Removed value: -"End to process"
    • removedInput schema / properties / start / description
      Removed value: -"Start to process"
  3. First observed

TDQS

B3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful behavioral facts: the result is an absolute difference returned in days and hours, and usage is metered at 5 free trial calls per signed wallet. It says nothing about accepted date formats, timezone handling, or ordering effects, which matter for a date-difference tool.

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?

One compact sentence leads with the operation and result, then appends the pricing note. Nothing is redundant, though the emoji and trial note are tangential to correct invocation.

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?

The tool is simple (two required string params, no nesting, no output schema), so the description covers the core contract and the pricing constraint. The missing pieces, chiefly accepted date formats and the effect of argument order, are precisely the ones an agent needs to call it correctly.

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 required parameters, so the description must compensate and largely does not. It only labels them 'start' and 'end' dates, giving no format, expected range, or behavior when start is after end.

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 names a specific operation and resource: 'Returns the absolute difference between start and end dates in days and hours.' This lets an agent distinguish it from siblings like x402-hours-between or x402-weekdays-between, though it never explicitly names those alternatives.

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 and no exclusions. With siblings such as x402-hours-between and x402-weekdays-between in the catalog, an agent gets no help deciding which difference tool to pick beyond the name itself.

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