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

Hours Between: Computes the difference between two date-times as rounded hours, minutes and days 🆓 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-hours-between"
  }
}

Input Schema

NameRequiredDescriptionDefault
aNo
bNo
endYes
startYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "end",
      +  "start"
      +]
  2. Changed4 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 / end / description
      Removed value: -"End to process"
    • removedInput schema / properties / start / description
      Removed value: -"Start to process"
  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. It does disclose the return granularity (rounded hours, minutes, days) and an auth/billing constraint (signed wallet, 5 free trial calls), which is genuine behavioral context. It omits whether the difference is signed or absolute, argument ordering semantics, and timezone/format assumptions, leaving meaningful gaps for a computation 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 with the core behavior front-loaded, followed by a short constraint note. The emoji trial badge is slightly promotional but conveys a concrete limit, so little is wasted.

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, no annotations, 0% schema description coverage, and an ambiguous four-parameter surface with duplicate-looking fields. For this level of structural ambiguity the description should clarify argument roles and the shape of the result; it does neither.

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% across four parameters, and the description explains none of them. Worse, the schema declares both 'a'/'b' and 'end'/'start' while only end and start are required, and the description gives no hint whether a/b are aliases, alternate forms, or ignored — a real risk of incorrect invocation.

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 resource: "Computes the difference between two date-times as rounded hours, minutes and days." The output granularity (hours, minutes, days) makes it distinguishable from unit-specific siblings such as days-between, though it never names or contrasts them explicitly.

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 prerequisites, and no mention of when to prefer x402-days-between or x402-add-hours instead. The only extra sentence is a pricing/trial note (5 free calls per signed wallet), which is billing information rather than 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