Skip to main content
Glama
INE Uruguay MCP

INE Uruguay MCP

Extract data from INE Uruguay tables with filters

ine_select_multiple_table_data
Read-onlyIdempotent

Extract observations from multiple official INE Uruguay tables in parallel, applying variable filters and date or latest-period limits, and return each figure with its source for citation.

Instructions

STEP 5 of 5. Extracts observations from one or more tables in parallel, applying 'tv' filters 'FK_Variable:Id' built ONLY from value objects of step 4 ('FK:' = every value of that variable; a variable left unfiltered returns all its values). Period: nult = latest N periods, or date = 'YYYYMMDD:YYYYMMDD'; with neither, the latest period (nult=1) is applied. Returns per table: source (operation, table, official spreadsheet URL, gub.uy page, filters, period), the matching series with their variable values, and observations {periodo, valor}. Requires steps 2-4 for each table; malformed or unknown filters are BLOCKED. ALWAYS cite the 'source' of every figure in the answer.

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": {
      "requests": "<requests>"
    },
    "name": "ine_select_multiple_table_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestsYesOne item per table query, all resolved in parallel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations, the description discloses parallel execution, rejection of malformed or unknown filters ("BLOCKED"), default period behavior when neither nult nor date is given, and the shape of what is returned (source block, matching series, observations). It also imposes an output obligation: cite the 'source' of every figure.

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?

Front-loaded with the step number and the core action, then layered by filter semantics, period rules, return shape, and prerequisites. Dense and information-rich, though it repeats the 'YYYYMMDD:YYYYMMDD' pattern already in the schema, which is minor waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the return-value burden and does so (source metadata, series, observations {periodo, valor}). Filter construction, period defaults, failure behavior, and upstream dependencies are all covered for a nested-request tool of this complexity.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3, but the description adds real semantics the schema lacks: 'FK:' meaning (every value of that variable), the consequence of leaving a variable unfiltered (all values returned), and the default of nult=1 when no period is specified. Only the date-format syntax duplicates what the schema already states.

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?

"STEP 5 of 5. Extracts observations from one or more tables in parallel" gives a specific verb (extract), resource (table observations), and scope (multiple tables, parallel), which cleanly separates it from the sibling table/group/value selection tools. The pipeline position removes ambiguity about which stage of the workflow this tool occupies.

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

Usage Guidelines4/5

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

It states clear prerequisites ("Requires steps 2-4 for each table") and constrains inputs (filters built ONLY from step 4 value objects). It does not name an explicit alternative or exclusion case, but the step numbering effectively routes the agent to the right predecessor tools.

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