Skip to main content
Glama
GeoSphere MCP Server

GeoSphere MCP Server

by Singh-Akesh

is_public_holiday

Check whether a given date is a public holiday in a specified country by supplying an ISO 3166-1 country code and YYYY-MM-DD date; returns status and holiday details.

Instructions

    Check whether a specific date is a public holiday in a given country.

    Args:
        country_code: ISO 3166-1 alpha-2 country code (e.g. "US", "GB", "AU").
        date:         Date to check in YYYY-MM-DD format (e.g. "2025-12-25").

    Returns:
        Whether the date is a public holiday, and if so, the holiday details.
    

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>",
      "date": "<date>"
    },
    "name": "is_public_holiday"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
country_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It helpfully states that the tool returns whether the date is a holiday and, if so, holiday details, but it does not cover invalid country or date handling, timezone assumptions, or other edge-case behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured as a short purpose statement followed by Args and Returns sections. It is front-loaded, easy to scan, and contains no unnecessary wording.

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 simple two-parameter lookup with no output schema, the description covers parameter formats and return behavior well. The main remaining gap is selection guidance relative to the sibling get_public_holidays and edge-case behavior for invalid inputs.

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

Parameters5/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 document the parameters, and it does: country_code is defined as ISO 3166-1 alpha-2 with examples, and date is defined as YYYY-MM-DD with an example. This adds clear format semantics beyond the bare schema.

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 states a specific verb and resource: check whether a specific date is a public holiday in a given country. That clearly distinguishes it from a broad holiday-listing tool in intent, but it does not explicitly name or differentiate itself from the sibling get_public_holidays.

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?

The description implies usage for checking one specific date, but it gives no explicit guidance on when to use this instead of the sibling get_public_holidays. There are no exclusions, prerequisites, or alternative-selection rules.

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