Skip to main content
Glama

Same calendar year finder

hopi_same_calendar_year_finder
Read-onlyIdempotent

Find which years use exactly the same calendar as a given year (Gregorian, 1583 to 9999): same weekday for 1 January and same leap status, so every date falls on the same weekday. Lists the exact twins between from and to (default 1900 to 2100, at most 2,000 years apart), the nearest earlier and later twin anywhere from 1583 to 9999 (0 means there is none in that span), years that match only from 1 January to 28 February (janFebOnly) or only from 1 March to 31 December (marDecOnly), and the twins that also share Easter Sunday (sameEaster), whose Good Friday and Easter Monday line up too. jan1Weekday is a weekday name and easter is YYYY-MM-DD. Source: https://hopi.co.uk/same-calendar-year-finder/

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": {
      "year": "<year>"
    },
    "name": "hopi_same_calendar_year_finder"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast year of the range (default 2100); to minus from can be at most 2,000
fromNoFirst year of the range to list twins and partial matches in (default 1900)
yearYesThe year to match, from 1583 to 9999 (Gregorian calendar), for example 2027

Output Schema

NameRequiredDescriptionDefault
toNo
fromNo
yearNo
easterNo
isLeapNo
summaryYes
janFebOnlyNo
marDecOnlyNo
sameEasterNo
source_urlYesThe tool's page on hopi.co.uk (cite or open to check the figure)
jan1WeekdayNo
exactMatchesNo
nearestLaterNo
nearestEarlierNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a safe, read-only, idempotent, closed-world operation. The description adds useful behavioral detail beyond that: the 2,000-year span limit, the meaning of a 0 result for nearest twins, and the distinction between full twins and janFebOnly/marDecOnly partial matches.

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?

Purpose is front-loaded, but the description is a single dense sentence running through many output categories (exact twins, nearest twins, janFebOnly, marDecOnly, sameEaster) plus formatting notes for jan1Weekday and easter. Since an output schema exists, much of this return-value detail is redundant and makes the description harder to parse than necessary.

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?

Given the presence of annotations and an output schema, the description covers what the tool does, its bounds, and its output categories well enough for an agent to call it correctly. The main gap is structural rather than informational: extra return-value explanation could be moved to or omitted in favor of the output schema.

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 schema already documents defaults, bounds, and the 2,000-year constraint for 'from'/'to'. The description restates the same defaults and limits but adds little new meaning for the three input parameters, so 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?

States a specific verb and resource: 'Find which years use exactly the same calendar as a given year', and immediately qualifies it with the Gregorian range and matching rule (same 1 January weekday and leap status). This is unambiguous and clearly distinct from sibling date tools such as hopi_leap_year_checker or hopi_day_of_week_calculator.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear operating context: default range 1900–2100, 2,000-year maximum span, calendar bounds 1583–9999, and how '0' should be interpreted for nearest twins. It does not explicitly name alternative tools or state when not to use this one, which prevents a 5.

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