Skip to main content
Glama
GeoSphere MCP Server

GeoSphere MCP Server

by Singh-Akesh

get_public_holidays

Retrieve public holidays for a country and year using an ISO code; get dates, names, types, and national or regional scope.

Instructions

    Get the list of public holidays for any country and year.

    Args:
        country_code: ISO 3166-1 alpha-2 country code (e.g. "US", "DE", "JP", "IN", "GB").
                      Supports 200+ countries.
        year:         4-digit year (e.g. 2025). Defaults to the current year.

    Returns:
        List of public holidays with dates, names, types, and whether they are global
        or region-specific within the country.
    

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": {
      "country_code": "<country_code>"
    },
    "name": "get_public_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo
country_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 burden. It does disclose useful behavior: 200+ country coverage, a default of the current year, and that results include dates, names, types, and a global-vs-region-specific flag. It says nothing about side effects, rate limits, or failure behavior for invalid country codes.

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?

Front-loaded one-line purpose followed by Args and Returns sections that each carry real information. The Google-style labels add mild verbosity but no sentence is wasted.

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?

For a two-parameter lookup with no output schema, the description covers purpose, both parameters with formats, and the shape of the return value. Only the default-year discrepancy and absent error behavior keep it from being fully complete.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it largely does: country_code is specified as ISO 3166-1 alpha-2 with five concrete examples, and year as a 4-digit integer with a stated default. The stated default ('current year') conflicts with the schema default of 0, a minor ambiguity the agent must resolve.

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?

The description opens with a specific verb and resource ('Get the list of public holidays') and scopes it to any country and year. The word 'list' implicitly separates it from the boolean sibling is_public_holiday, though it never names that alternative explicitly.

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 implied by the scope statement ('any country and year') but there is no explicit when-to-use guidance, no exclusions, and no routing to the obvious sibling is_public_holiday for single-date checks.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.