Skip to main content
Glama

Buscar tablas del boletín IEM del BCE

search_bce_iem
Read-only

Search BCE monthly IEM bulletin Excel tables by query to locate trade, debt, fiscal, oil, or GDP data; include past bulletins for historical comparisons.

Instructions

Search the Excel tables of BCE's monthly IEM bulletin (trade by country, debt, fiscal, oil, GDP detail). historico=true searches past bulletins. Next: get_bce_iem_table.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_bce_iem"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax tables returned (default 20).
queryNoFree text matched against table titles and sections (accent-insensitive).
formatNotext summary (default) or json structured result.text
offsetNoPagination offset over the matched set.
historicoNoAlso search past monthly bulletins, not just the latest.
desde_anioNoEarliest bulletin year to search (implies historico).
hasta_anioNoLatest bulletin year to search (implies historico).
hash_archivosNoDownload each discovered XLSX and report its SHA-256 (operator audit; slow).
guardar_catalogoNoSave the full assembled catalog under IEM_CATALOG_DIR.
max_hash_archivosNoCap on files hashed when hash_archivos is set.

Output Schema

NameRequiredDescriptionDefault
totalNo
offsetNo
sourceNo
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": {
      +    "metadatos": {
      +      "properties": {
      +        "contrato": {
      +          "const": "ecudatamcp.response.v1"
      +        }
      +      },
      +      "required": [
      +        "contrato"
      +      ],
      +      "type": "object"
      +    },
      +    "offset": {},
      +    "source": {},
      +    "total": {},
      +    "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. Changed10 schema fields changedv0.10.0
    • addedInput schema / properties / desde_anio / description
      Added value: +"Earliest bulletin year to search (implies historico)."
    • addedInput schema / properties / format / description
      Added value: +"text summary (default) or json structured result."
    • addedInput schema / properties / guardar_catalogo / description
      Added value: +"Save the full assembled catalog under IEM_CATALOG_DIR."
    • addedInput schema / properties / hash_archivos / description
      Added value: +"Download each discovered XLSX and report its SHA-256 (operator audit; slow)."
    • addedInput schema / properties / hasta_anio / description
      Added value: +"Latest bulletin year to search (implies historico)."
    • addedInput schema / properties / historico / description
      Added value: +"Also search past monthly bulletins, not just the latest."
    • addedInput schema / properties / limit / description
      Added value: +"Max tables returned (default 20)."
    • addedInput schema / properties / max_hash_archivos / description
      Added value: +"Cap on files hashed when hash_archivos is set."
    • addedInput schema / properties / offset / description
      Added value: +"Pagination offset over the matched set."
    • addedInput schema / properties / query / description
      Added value: +"Free text matched against table titles and sections (accent-insensitive)."
  4. Changed12 schema fields changedv0.8.14
    • removedInput schema / properties / desde_anio / title
      Removed value: -"Desde Anio"
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / guardar_catalogo / title
      Removed value: -"Guardar Catalogo"
    • removedInput schema / properties / hash_archivos / title
      Removed value: -"Hash Archivos"
    • removedInput schema / properties / hasta_anio / title
      Removed value: -"Hasta Anio"
    • removedInput schema / properties / historico / title
      Removed value: -"Historico"
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / max_hash_archivos / title
      Removed value: -"Max Hash Archivos"
    • removedInput schema / properties / offset / title
      Removed value: -"Offset"
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / title
      Removed value: -"search_bce_iemArguments"
    • removedOutput schema / title
      Removed value: -"search_bce_iemDictOutput"
  5. First observedv0.8.12

TDQS

A3.9/5.0
Behavior3/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 that results are Excel tables and that this is a search-then-fetch pipeline, but says nothing about slower audit paths (hashing), pagination behavior, or the practical difference between text and json formats beyond what the schema already states.

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?

Three compact sentences, front-loaded with the search scope and ending with the next-step pointer. Tight overall, though the parenthetical content list is somewhat dense and the workflow hint could have been fused into a single clause.

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?

For a 10-parameter discovery tool with an output schema and full schema coverage, the description supplies the essential framing: what corpus, what content areas, and what to do next. The gaps are minor, mostly around the audit/hashing options and format choice that the schema already explains.

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?

Schema description coverage is 100%, so all ten parameters are already documented in structured form. The only parameter claim in the description, 'historico=true searches past bulletins', simply restates the schema; no added syntax, interaction (e.g. desde_anio implying historico), or precedence guidance is offered here.

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?

States a specific verb and resource (search the Excel tables of BCE's monthly IEM bulletin) and enumerates the content domains covered (trade by country, debt, fiscal, oil, GDP). The 'Next: get_bce_iem_table' pointer signals this is a discovery step distinct from the retrieval sibling.

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?

Explicitly says historico=true searches past bulletins and prescribes the follow-up tool for actually fetching a table, which gives the agent a clear two-step workflow. It stops short of stating when NOT to use this tool or naming alternative discovery siblings.

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