Skip to main content
Glama

Spain Datos.gob.es Public Sector Data Catalog MCP

Search Spain Datos.gob.es by theme

search_spain_datosgob_by_theme
Read-onlyIdempotent

Browse Spanish national open government datasets filtered by a Datos.gob.es Spanish theme slug.

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": {
      "theme_slug": "<theme_slug>"
    },
    "name": "search_spain_datosgob_by_theme"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo0-based page index (default 0).
page_sizeNoDatasets per page (default 10).
theme_slugYesSpanish theme slug (e.g. "medio-ambiente", "economia", "hacienda", "sector-publico", "transporte").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety and repeatability are covered. The description adds only that the theme taxonomy is Spanish-language, and says nothing about pagination limits (page_size caps at 25 in the schema), rate limits, or result shape beyond what the structured data already conveys.

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?

A single sentence with the verb and scope front-loaded and no filler. It is efficient, though its brevity leaves real gaps that a second clause about slug discovery or result scope could have closed.

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 filtered-list tool with full schema coverage, full annotations and no output schema, this is minimally sufficient for invocation. It is incomplete on how to discover a valid theme slug and on pagination behavior, which an agent browsing a themed catalog would likely need.

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%, with all three parameters documented including slug examples, so the schema already carries the parameter burden. The description's only added nuance is that the slug is Spanish (versus an English label), which is a marginal but real hint beyond the 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 pairs a specific verb ("Browse") with a specific resource (Spanish national open government datasets) and states the filter (a Datos.gob.es Spanish theme slug). An agent can tell this is a filtered listing rather than a lookup by id or a publisher listing, though it never names a sibling to contrast with.

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 only implied: the phrase "filtered by a Datos.gob.es Spanish theme slug" signals that a theme slug must be known in advance, but there is no explicit when-to-use vs. when-not, no mention of how to obtain a valid slug, and no routing to an alternative tool for unfiltered browsing.

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.