Skip to main content
Glama

x402-days-until

Days Until: Returns the number of days from now until a given date, rounded up 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
dateNo
targetNo

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 / target / description
      Removed value: -"Target to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "Date to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / target
      Added value: +{
      +  "description": "Target 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?

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the rounding behavior ('rounded up') and the free-trial quota, but says nothing about timezone handling, accepted date formats, what happens when the date is in the past, or what the response looks like.

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 compact sentence with the core behavior front-loaded. The trailing emoji and free-trial pitch are slightly off-topic but take little space and add a real billing constraint.

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?

For a tool with two undocumented parameters, no annotations, and no output schema, the description leaves too much unspecified. The date vs. target distinction and the input format an agent must supply are the minimum missing pieces.

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 two parameters named 'date' and 'target', and the description refers only to 'a given date' in the singular. It never explains which parameter is the reference point or what distinguishes 'date' from 'target', leaving the ambiguity entirely unresolved.

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+resource ('Returns the number of days from now until a given date') with the direction of the calculation ('until') and the rounding rule ('rounded up'). This distinguishes it conceptually from x402-days-since and x402-days-between, but it never names those siblings or states the distinction 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 alternatives such as x402-days-since, x402-time-until, or x402-countdown. The only usage-flavored content is the pricing note ('5 free trial calls per signed wallet'), which is a billing constraint rather than selection 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