Skip to main content
Glama

dato402 – Spain & EU data

Public holidays for any country and year, national and regio

public_holidays
Read-onlyIdempotent

Public holidays for any country and year, national and regional, filterable by region ISO code (e.g. ES-MD for Madrid).

ES: Festivos oficiales de un país para un año, con ámbito nacional o regional; filtrable por comunidad autónoma o región (código ISO 3166-2, p. ej. ES-MD).

Source of truth: official Spanish/EU open data. Free via MCP up to 20 calls/day; unlimited via the x402 pay-per-call endpoint https://dato402.com/api/calendario/festivos ($0.001 USDC).

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
anioNoAño (por defecto el actual)
paisNoCódigo ISO de 2 letras (por defecto ES)
regionNoRegión ISO 3166-2 (opcional), p. ej. ES-MD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world and non-destructive behavior, so the description's added value is the operational context: official Spanish/EU open data as source of truth, a 20 calls/day free cap, and a paid x402 endpoint with URL and per-call price. Quota and cost disclosures are exactly the kind of behavior annotations cannot express; only the return shape is left unstated.

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?

The leading English sentence is well front-loaded, but the Spanish paragraph duplicates the same information verbatim, and the pricing/URL detail arrives after it. For an agent consumer the bilingual repetition is dead weight, though the source-of-truth and cost lines earn their place.

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?

Three optional parameters, no output schema, and clean annotations mean the burden is light; the description covers data provenance, geographic scope, filtering semantics, and access limits. The only gap is what the response records contain (fields, date format), which is a minor omission given an all-defaults invocation.

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 coverage is 100%, so anio, pais and region are already documented with their defaults (current year, ES). The description adds only a concrete region example (ES-MD for Madrid) and confirms the ISO 3166-2 format, which is marginal but consistent with the baseline for fully described schemas.

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 resource (public holidays) with scope qualifiers: any country, any year, national and regional, filterable by ISO 3166-2 region code. The verb is implicit ('returns/list') rather than explicit, and the first line largely echoes the title, but it is unambiguous about what the tool produces and how it is narrowed.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no routing to alternatives; the closest thing to usage context is the mention of region filtering and the free-call quota. An agent gets no help deciding between this and any other data tool, though the sibling set contains few direct competitors.

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