Skip to main content
Glama

New Year countdown

hopi_new_year_countdown
Read-onlyIdempotent

Count down to the next New Year (midnight at the start of 1 January): days, hours, minutes, seconds and sleeps remaining, plus the weekday New Year's Day falls on. Uses the current time by default, or an optional 'from' date (YYYY-MM-DD) or ISO date-time, in which case everything is worked out in UTC. Source: https://hopi.co.uk/new-year-countdown/

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hopi_new_year_countdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoOptional moment to count from: YYYY-MM-DD (taken as 00:00 UTC) or a full ISO 8601 date-time such as 2026-12-31T18:30:00Z. Defaults to now.

Output Schema

NameRequiredDescriptionDefault
daysNo
hoursNo
sleepsNo
targetNo
minutesNo
secondsNo
summaryYes
weekdayNo
source_urlYesThe tool's page on hopi.co.uk (cite or open to check the figure)
isNewYearsDayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "days": {
      +      "type": "number"
      +    },
      +    "hours": {
      +      "type": "number"
      +    },
      +    "isNewYearsDay": {
      +      "type": "boolean"
      +    },
      +    "minutes": {
      +      "type": "number"
      +    },
      +    "seconds": {
      +      "type": "number"
      +    },
      +    "sleeps": {
      +      "type": "number"
      +    },
      +    "source_url": {
      +      "description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
      +      "type": "string"
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "target": {
      +      "type": "string"
      +    },
      +    "weekday": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "source_url",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine behavioral context: the default is 'now' (a live, time-varying result) and providing 'from' switches all computation to UTC, which directly shapes how results are interpreted. The source URL adds provenance but no behavior.

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?

The countdown target is front-loaded, followed by the default/override behavior, in two efficient sentences. The trailing source URL is provenance rather than call-relevant information and slightly dilutes conciseness.

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 full annotations, a fully documented single parameter and an output schema, the description is close to complete. The one edge case it leaves unexplained is what happens when 'from' falls at or after the next New Year (zero/negative countdown), which an agent facing an unusual date must infer.

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% and the single 'from' parameter is already documented in the schema, including 'YYYY-MM-DD (taken as 00:00 UTC)'. The description reinforces this and adds the UTC computation rule, but it largely repeats what the schema says, so the baseline 3 applies.

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 states a specific verb and resource ('Count down to the next New Year (midnight at the start of 1 January)') and enumerates the returned fields. That precision makes it easy to distinguish from similar sibling tools (hopi_days_until_christmas, hopi_date_calculator) without opening either 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?

It effectively defines the usage mode: by default the tool counts from the current time, or from an optional 'from' date. However, it never states when an agent should choose this tool over the closest alternatives or adds exclusions. For a self-contained countdown tool that's acceptable, but no explicit when-to-use guidance is given.

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