Skip to main content
Glama

Ver documentos de una colección del IESS

get_iess_archivos
Read-only

Retrieve documents from a selected IESS collection with direct links, filtering by year and text query. Returns text summaries or structured JSON; year is required for audit reports.

Instructions

Documents in one IESS collection with direct links. anio is required for informes_auditoria.

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": {
      "coleccion": "<coleccion>"
    },
    "name": "get_iess_archivos"
  }
}

Input Schema

NameRequiredDescriptionDefault
anioNoFilter to one year.
queryNoFree text matched (accent-insensitive) against título (and descripción/grupo where the collection has one).
formatNotext summary (default) or json structured result.text
coleccionYes"boletines" (Boletines Estadísticos, annual, 1978- 2024 confirmed), "estudios_actuariales" (actuarial valuation studies per fund, published only for a handful…

Output Schema

NameRequiredDescriptionDefault
totalNo
sourceNo
archivosNo
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": {
      +    "archivos": {},
      +    "metadatos": {
      +      "properties": {
      +        "contrato": {
      +          "const": "ecudatamcp.response.v1"
      +        }
      +      },
      +      "required": [
      +        "contrato"
      +      ],
      +      "type": "object"
      +    },
      +    "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. Changed4 schema fields changedv0.10.0
    • addedInput schema / properties / anio / description
      Added value: +"Filter to one year."
    • addedInput schema / properties / coleccion / description
      Added value: +"\"boletines\" (Boletines Estadísticos, annual, 1978- 2024 confirmed), \"estudios_actuariales\" (actuarial valuation studies per fund, published only for a handful…"
    • addedInput schema / properties / format / description
      Added value: +"text summary (default) or json structured result."
    • addedInput schema / properties / query / description
      Added value: +"Free text matched (accent-insensitive) against título (and descripción/grupo where the collection has one)."
  4. Changed6 schema fields changedv0.8.14
    • removedInput schema / properties / anio / title
      Removed value: -"Anio"
    • removedInput schema / properties / coleccion / title
      Removed value: -"Coleccion"
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / title
      Removed value: -"get_iess_archivosArguments"
    • removedOutput schema / title
      Removed value: -"get_iess_archivosDictOutput"
  5. First observedv0.8.12

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds two pieces of real context beyond that: results come with direct links, and anio becomes mandatory for one specific collection value. It stops there, saying nothing about result volume, pagination, or what a missing collection yields.

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, zero filler, with the core purpose front-loaded before the conditional caveat. Nothing could be removed without losing information.

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?

Output shape and parameter meanings are covered by the output schema and full schema descriptions, so the description needn't repeat them. However, for an open-world browse tool with four parameters and three collection variants, the definition is thin: it omits the collection contents guidance that only partly lives in the schema and gives no routing guidance to siblings.

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 coverage is 100% and each parameter already carries a description, so the baseline is 3. The description does add one non-obvious cross-parameter constraint the schema does not encode — that anio, though optional with a null default, is effectively required for informes_auditoria — but it says nothing about query or format semantics.

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 states a specific verb and resource: retrieve documents belonging to one IESS collection, returning direct links. It is clear what the tool returns, but it never distinguishes itself from the many institution-specific sibling document tools (get_bce_pagina_archivos, get_inec_publicacion_archivos, get_sgr_sitrep_archivos), so an agent must infer that this one is the IESS-scoped variant.

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?

Usage is only implied: browsing a known IESS collection. The one explicit conditional ('anio is required for informes_auditoria') is genuinely useful, but the description never says when to prefer this over search_archivos for cross-collection or free-text discovery.

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