Skip to main content
Glama

Ver una tabla del boletín IEM del BCE

get_bce_iem_table
Read-only

Retrieves a single BCE IEM XLSX table by table_id, returning a date-filterable series from the latest bulletin or a chosen past bulletin.

Instructions

One IEM XLSX table (table_id from search_bce_iem): date-filterable series for the standard layout, a faithful preview otherwise. boletin_numero selects a past bulletin.

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": {
      "table_id": "<table_id>"
    },
    "name": "get_bce_iem_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoMax rows returned (1-100, default 20).
desdeNoEarliest period to include, as YYYY, YYYY-MM or a month-year label.
hastaNoLatest period to include, same formats as desde.
formatNotext summary (default) or json structured result.text
table_idYesA table_id from search_bce_iem.
boletin_numeroNoPast bulletin number from search_bce_iem(historico=true); 0 means the latest.

Output Schema

NameRequiredDescriptionDefault
filasNo
sourceNo
columnasNo
metadatosYes
url_fuenteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "columnas": {},
      +    "filas": {},
      +    "metadatos": {
      +      "properties": {
      +        "contrato": {
      +          "const": "ecudatamcp.response.v1"
      +        }
      +      },
      +      "required": [
      +        "contrato"
      +      ],
      +      "type": "object"
      +    },
      +    "source": {},
      +    "url_fuente": {}
      +  },
      +  "required": [
      +    "metadatos"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.13.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  3. Changed6 schema fields changedv0.10.0
    • addedInput schema / properties / boletin_numero / description
      Added value: +"Past bulletin number from search_bce_iem(historico=true); 0 means the latest."
    • addedInput schema / properties / desde / description
      Added value: +"Earliest period to include, as YYYY, YYYY-MM or a month-year label."
    • addedInput schema / properties / format / description
      Added value: +"text summary (default) or json structured result."
    • addedInput schema / properties / hasta / description
      Added value: +"Latest period to include, same formats as desde."
    • addedInput schema / properties / rows / description
      Added value: +"Max rows returned (1-100, default 20)."
    • addedInput schema / properties / table_id / description
      Added value: +"A table_id from search_bce_iem."
  4. Changed8 schema fields changedv0.8.14
    • removedInput schema / properties / boletin_numero / title
      Removed value: -"Boletin Numero"
    • removedInput schema / properties / desde / title
      Removed value: -"Desde"
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / hasta / title
      Removed value: -"Hasta"
    • removedInput schema / properties / rows / title
      Removed value: -"Rows"
    • removedInput schema / properties / table_id / title
      Removed value: -"Table Id"
    • removedInput schema / title
      Removed value: -"get_bce_iem_tableArguments"
    • removedOutput schema / title
      Removed value: -"get_bce_iem_tableDictOutput"
  5. First observedv0.8.12

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-destructive, so the safety profile is covered. The description adds real behavioral context beyond them: date filtering (desde/hasta) only applies to the 'standard layout', while other tables yield a preview — an important expectation-setting trait. It stops short of explaining what a 'faithful preview' contains or how large it is.

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?

Two compact sentences with the resource identified first and the conditional behavior second; nothing is redundant. The density comes at a cost, though — 'standard layout' and 'faithful preview' are unexplained shorthand that force the agent to infer.

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?

An output schema exists, so return-value documentation is not required, and the description covers the key calling prerequisite plus the layout-dependent filtering caveat. The remaining gap is terminological: neither 'standard layout' nor 'faithful preview' is defined, which matters for an openWorld tool pulling external XLSX content.

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 100%, so the baseline is 3. The description nonetheless adds meaning beyond the schema by stating that table_id originates from search_bce_iem and that date-range filtering is conditional on the table's layout, and it clarifies boletin_numero's role as selecting a past bulletin.

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?

The description names a specific verb+resource: retrieve one IEM XLSX table, and explicitly ties table_id to the search_bce_iem sibling. It distinguishes itself from that search tool, though phrases like 'the standard layout' and 'a faithful preview otherwise' are left undefined, so the exact scope of what comes back is only partially clear.

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?

It establishes the prerequisite that table_id must come from search_bce_iem, which is genuine routing guidance. However, it gives no explicit when-to-use vs. when-not guidance relative to other retrieval siblings (e.g. get_bce_indicador_diario), and the instruction to use search_bce_iem(historico=true) for boletin_numero lives only in the schema, not the description.

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

Deploy Server

Other Tools