Skip to main content
Glama

Countdown API - days until Christmas, New Year, Black Friday or any date

countdown_days_until
Read-onlyIdempotent

How many days, sleeps, weeks, working days and seconds are left until Christmas, Christmas Eve, New Year, Black Friday, Cyber Monday, Thanksgiving, Easter, Halloween, Valentine's Day, Orthodox Christmas or your own date, counted in the time zone you give (IANA name, e.g. Europe/Berlin). Returns the exact date and weekday, a ready sentence ('38 days until Christmas'), a days/hours/minutes/seconds split and the next 3 dates of the event (Black Friday and Easter move every year). Own calendar code, 0 AI, nothing stored, under 5 ms. For chat bots, shop banners, newsletters, smart displays and school or office apps. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/countdown-days-until.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "event": "christmas",
      "timezone": "Europe/Berlin"
    },
    "name": "countdown_days_until"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoYour own date YYYY-MM-DD (with event=custom; today up to 10 years ahead)
eventNoWhich day to count down to; custom = your own datechristmas
titleNoName of your own event, used in the sentence (with event=custom)
timezoneNoIANA time zone for 'today', e.g. America/New_YorkUTC

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior5/5

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

Annotations only cover read-only/idempotent/open-world, but the description adds substantive operational facts: 5 free calls/day per IP, paid Radar API key via X-API-Key, $0.001/call via x402, nothing stored, and sub-5ms latency. It also pre-empts a correctness trap by noting that Black Friday and Easter move every year. This is well beyond what the structured fields provide.

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 capability is front-loaded, but the opening sentence is an overstuffed run-on enumerating eleven holidays, and the marketing tail ('Own calendar code, 0 AI', the audience list) pads rather than informs. Pricing and rate limits earn their place; the sales copy does not.

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

Completeness5/5

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

No output schema exists, so the description must cover return values, and it does: exact date and weekday, a ready-made sentence, a days/hours/minutes/seconds split, and the next 3 dates. Combined with zero required parameters and full schema coverage, an agent has everything needed to call it correctly and interpret the response.

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 description coverage is 100%, with the event enum, the YYYY-MM-DD constraint, and the IANA time zone example all documented inline, so the baseline is 3. The description restates the event list and the timezone format but adds no new semantics (e.g., what happens if date is supplied without event=custom, or how title is ignored otherwise).

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?

Precise verb+resource: counts remaining days/weeks/working days/seconds until a named holiday or a custom date, in a caller-supplied time zone. An agent can immediately tell this is a holiday/date countdown calculator rather than a general date arithmetic tool. It stops short of 5 because it never names or contrasts the sibling it overlaps with (business_days, date_calculator), leaving the boundary for the agent to infer.

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?

The only contextual hints are audience lists ('chat bots, shop banners, newsletters, smart displays') and pricing, which describe who buys the tool, not when an agent should select it over date_calculator or business_days. There is no when-to-use, when-not-to-use, or alternative-routing statement.

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