Skip to main content
Glama
catbru
by catbru

idescat_get_table_metadata

Retrieve table metadata including dimensions, possible values, and sources to identify filters before querying data from IDESCAT.

Instructions

Retorna les metadades d'una taula: dimensions, valors possibles, fonts i enllaç a les dades. IMPORTANT: l'ID de taula (table) és diferent de l'ID de node — obté'l primer amb idescat_list_catalog(statistics, node). Usa-la ABANS de idescat_query_data per saber quins filtres aplicar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
geoNoDivisió territorial (cat, com, mun, prov, etc.).
langNoIdioma: ca (defecte), es, en.
nodeNo
tableNo
filtersNoFiltres opcionals. Ex: {"SEX": "F"}
table_idNoCamí complet "statistics/node/table/geo" (alternativa als camps separats).
statisticsNo
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses that the tool returns metadata (read operation) and highlights important ID differences. While it doesn't mention permissions or side effects, the behavioral context is solid for a read-oriented tool.

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?

Two sentences with no wasted words. Front-loaded with purpose and an important usage note. Highly efficient.

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?

The description explains what the tool returns (dimensions, values, sources, link) and its sequential role. However, with 7 parameters and no output schema, the agent lacks full context on how to invoke the tool correctly (e.g., which parameters are required, how to use filters, response format). Could be more complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 57% (low), but the description only minimally adds parameter meaning (e.g., table ID vs node ID). Major parameters like 'node', 'table', and 'statistics' lack explanation, and the 'filters' object is only noted in schema schema. The description does not sufficiently compensate for uncovered parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states verb and resource: returns metadata of a table including dimensions, possible values, sources, and link. It distinguishes from sibling tools by emphasizing the difference between table ID and node ID, and its role before querying data.

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

Usage Guidelines5/5

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

Explicitly instructs to use this tool BEFORE idescat_query_data to determine filters, and directs to first use idescat_list_catalog to obtain the correct table ID. Provides clear context and a conditional workflow.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/catbru/idescat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server