Skip to main content
Glama

UK Data for Agents

public_holidays

Read-onlyIdempotent

Public holidays for a country and year (ISO code, e.g. GB, US, DE, FR). (cost: 1 credit)

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": "public_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNonumber
countryNostring

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description's one added value is the '(cost: 1 credit)' quota disclosure, which is genuinely useful. It says nothing about data coverage limits, caching freshness, or how incomplete holiday data is handled.

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?

Two compact clauses with the resource stated first and the cost note trailing. No filler, no repetition of the tool name, nothing that could be cut without losing information.

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

Completeness3/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 this covers the essentials, but with no output schema the description should sketch the return shape (e.g., list of dates and holiday names). The cost line is present, yet the mismatch between 'a country and year' and required: 0 in the schema is left unexplained.

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 coverage is 100%, so baseline is 3, but the description goes beyond the schema's bare 'string'/'number' by specifying that country should be an ISO code and giving concrete examples. It does not address year format expectations beyond the schema's union type, nor why both parameters are marked optional.

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 names a specific resource and its two dimensions (country, year) and gives concrete ISO-code examples (GB, US, DE, FR), so the agent knows exactly what it retrieves. It lacks an explicit verb ('retrieve/list'), but the purpose is unmistakable and clearly distinct from the time/currency siblings.

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?

Use is only implied: an agent can infer 'call this when you need holidays for a country and year.' There is no statement of when-not to use it, no note on supported countries or year ranges, and no reference to any sibling tool, even though convert_time/time_now overlap the temporal domain.

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