Skip to main content
Glama
Spain Open Data MCP

Spain Open Data MCP

by gabicuesta

INE: get table data

ine_get_table
Read-onlyIdempotent

Fetch current series values from a Spanish INE table by table ID, with optional name filter and recent-period limit.

Instructions

Fetch the latest values of the series in an INE table.

Input Schema

NameRequiredDescriptionDefault
queryNoFilter series by name, e.g. 'nacional general'
last_nNoMost recent periods per series
table_idYesTable id from ine_list_tables, e.g. 50902
max_seriesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so safety and repeat-call behavior are covered. The description adds only that it returns 'latest values' for series in a table, with no extra detail on rate limits, auth, or data freshness semantics.

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?

Single sentence, front-loaded with the verb and resource, with no filler. It is appropriately sized for a simple read tool.

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?

An output schema exists, so return values need not be described, and annotations cover the safety profile. However, the description omits when to choose this over ine_get_series and leaves max_series undocumented, making it incomplete for routing and full parameter interpretation.

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?

The description adds no parameter meaning; it does not explain query, last_n, table_id, or max_series. Schema coverage is 75% (query, last_n, and table_id are described; max_series is undocumented), so the schema does most of the work, but max_series remains unexplained anywhere.

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 'Fetch' and resource 'latest values of the series in an INE table,' which is more precise than the title alone. It distinguishes the table-oriented data retrieval from siblings like ine_list_tables or ine_get_series by scoping to series within a table, though it does not name alternatives explicitly.

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?

No when-to-use guidance, no alternatives, and no exclusions are provided. The agent must infer that ine_list_tables supplies the table_id and that ine_get_series is for a different scope.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.