Skip to main content
Glama

time_countdown

Read-only

Countdown / time until a date — Time remaining until (or elapsed since) a date or datetime: weeks/days/hours/minutes, human phrase, calendar days, whole months, US business days excluding federal holidays (observed), weekend days and the holidays in between. DST-aware via IANA zones. Optional: tz (IANA, default UTC; date-only targets mean local midnight), from (YYYY-MM-DD or ISO datetime, default now). Offline. Price: $0.001 USDC (Base, via x402).

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": {
      "to": "<to>"
    },
    "name": "time_countdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYese.g. 2026-12-25

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly, non-destructive, openWorld) it discloses traits the agent cannot otherwise know: it runs offline, is DST-aware via IANA zones, uses observed US federal holidays, and — critically — costs $0.001 USDC on Base via x402, which changes whether an agent should call it at all. The default-resolution rules (UTC default, date-only targets mean local midnight) further constrain behavior in a way annotations never could.

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?

Purpose is front-loaded before the em-dash and the long unit enumeration, and the payment/offline facts are correctly placed as trailing constraints. The middle sentence is dense and list-heavy, but nearly every clause carries information an agent needs; only the extended output enumeration could be trimmed.

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

Completeness4/5

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

With no output schema, the description correctly carries the burden of describing return contents, which it does in detail, and it adds the required payment and zone semantics for a 1-parameter tool. It falls short only by omitting failure behavior and by describing two optional parameters the schema does not expose.

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

Parameters3/5

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

Schema coverage is 100% for the single required `to` parameter, so baseline is 3; the description does add real meaning by clarifying that `to` accepts a date or ISO datetime and how date-only values resolve (local midnight). However, it advertises optional `tz` and `from` parameters that do not exist in the input schema, which is a genuine mismatch that could lead an agent to submit arguments that fail validation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ('Countdown / time until a date') and immediately enumerates the exact quantities produced (weeks/days/hours/minutes, human phrase, whole months, US business days, weekend days, intervening holidays), which separates it from siblings like time_age and time_business_days that return narrower figures. An agent can tell what it gets back without opening any schema.

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: the enumerated output modes suggest when this tool beats a plain date-diff, but there is no explicit 'use this when… / use X instead when…' routing to siblings such as time_deadline, time_duration or time_business_days, even though several overlap heavily on business-day and holiday computation. The directionality note ('until (or elapsed since)') gives useful context but not a decision rule.

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