Spanish open-data catalogue MCP server for searching datasets, publishers, and themes from datos.gob.es
This server has critical gaps in parameter documentation and output schema definition. All 4 tools lack descriptions for their input parameters, a hard requirement per the rubric. For example, 'datasets' has a 'query' parameter with no description explaining what kind of search it performs or what format is expected. The 'page_size' parameter lacks guidance on valid ranges (the code enforces 1-50, but the schema does not document this). Tool descriptions are minimal (10-20 chars), below the 50-200 char baseline for LLM-optimized descriptions. No output schemas are documented anywhere, LLMs cannot plan downstream calls or extract fields without knowing what these tools return. Error handling is minimal: dgGet() throws generic errors like 'datos.gob.es: 404' with no recovery guidance. The server does not validate inputs before calling the API, risking silent failures. Tool naming is acceptable (search_, list_ verbs) but descriptions do not explain WHEN to use each tool or what distinguishes 'datasets' from 'dataset'.
Single dataset.
Search datasets.
List publishers.
List themes.
All input parameters lack descriptions. 'query', 'page', 'page_size', 'theme', 'id', 'limit' have no text explaining what they control, their valid ranges, or expected format. LLMs cannot infer parameter meaning from names alone.
No output schemas documented. Tools return raw API responses (JSON objects) but LLMs have no schema to understand what fields are present, their types, or how to chain results to other tools. This violates the 100% baseline for A+ tools.
Tool descriptions are 10-20 characters (e.g., 'Search datasets.', 'Single dataset.'). Baseline is 50-200 chars. Descriptions do not explain WHEN to use each tool, what distinguishes 'datasets' (search) from 'dataset' (fetch by ID), or what the response contains.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 41 | 2026-07-28+ | v2 |
Input validation constraints (e.g., page_size 1-50, limit 1-50) are enforced in code but not documented in schemas or parameter descriptions. LLMs cannot see these constraints and may pass invalid values, causing silent failures or unexpected API behavior.
Error handling is minimal and non-actionable. Errors like 'datos.gob.es: 404' or 'datos.gob.es: 500' do not tell the LLM what to do next, whether to retry, or how to recover. No recovery guidance or error classification.