Skip to main content
Glama

Spain Datos.gob.es Public Sector Data Catalog MCP

Get Spain Datos.gob.es dataset by ID

get_spain_datosgob_dataset_by_id
Read-onlyIdempotent

Retrieve full metadata, license details, and downloadable distributions for a specific Datos.gob.es dataset identifier.

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "get_spain_datosgob_dataset_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYesDataset identifier slug (e.g. "e05068001-mapas-estrategicos-de-ruido").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and openWorld, so the safety profile is covered. The description usefully adds what the payload contains (metadata, license details, distributions), but says nothing about failure behavior for an invalid slug, latency, or rate limits on the external portal.

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?

One front-loaded sentence with no filler and the payload contents listed efficiently. It is appropriately sized for a simple single-parameter lookup, though a single flat clause offers no structural cues beyond the enumeration.

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?

With one fully described parameter, rich annotations, and no output schema, the description carries the return-value burden by naming the three things returned. The main remaining gap is error behavior on an unknown identifier, which is minor for a read-only by-ID fetch.

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% and the schema itself supplies an example slug format, so the single parameter is already well documented. The description adds no extra meaning about slug format, case sensitivity, or whether alternate identifiers are accepted, so baseline 3 applies.

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?

States a specific verb ("Retrieve") and resource ("full metadata, license details, and downloadable distributions") scoped to a single Datos.gob.es dataset identifier, which clearly separates it from the search/list siblings. It stops short of naming any sibling explicitly, so differentiation is inferred from the singular by-ID scope rather than stated.

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 agent can infer this is the lookup to use once it already holds a dataset identifier, and that search/list tools serve discovery. There is no explicit when-to-use, when-not-to-use, or named alternative, and no guidance on what to do if the identifier is unknown.

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.