Skip to main content
Glama

Ver archivos de un tema estadístico del INEC

get_inec_estadistica_files
Read-only

Retrieve file links for bulletins, methodology, and historical series from a single INEC topic page; optionally filter by year and output text or JSON.

Instructions

File links (bulletins, methodology, historical series) on one INEC topic page from search_inec_estadisticas. For a ZIP, next: list_zip_contents, then read_zip_member.

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": {
      "url": "<url>"
    },
    "name": "get_inec_estadistica_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA topic URL from search_inec_estadisticas's "url" field (must be on ecuadorencifras.gob.ec)
yearNoOptional reference year; keeps only that year's files (each file carries a "year" parsed from its name or folder)
formatNotext summary (default) or json structured result.text

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. Changed1 schema field changedv0.12.0
    • addedInput schema / properties / year
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional reference year; keeps only that year's files (each file carries a \"year\" parsed from its name or folder)"
      +}
  4. Changed2 schema fields changedv0.10.0
    • addedInput schema / properties / format / description
      Added value: +"text summary (default) or json structured result."
    • addedInput schema / properties / url / description
      Added value: +"A topic URL from search_inec_estadisticas's \"url\" field (must be on ecuadorencifras.gob.ec)"
  5. Changed4 schema fields changedv0.8.14
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / url / title
      Removed value: -"Url"
    • removedInput schema / title
      Removed value: -"get_inec_estadistica_filesArguments"
    • removedOutput schema / title
      Removed value: -"get_inec_estadistica_filesDictOutput"
  6. First observedv0.8.12

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld and non-destructive, so the safety profile is covered. The description adds useful behavior beyond that: the result is a set of file links grouped by document type, and ZIP results must be followed up by the ZIP tools. It does not mention limits, coverage of subpages, or empty-result behavior.

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 short sentences: the first establishes what is returned and from where, the second gives the follow-up path. Nothing is redundant and the key scoping information is front-loaded.

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?

With an output schema, full param coverage and safety annotations, the description only needs to establish purpose and workflow, which it does. The remaining gap is minor: it does not say whether the topic page's subpages or pagination are followed when collecting links.

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 the url source constraint, the year filter semantics (parsed from file name or folder) and the text/json enum are already fully documented in the schema. The description adds no meaning beyond those fields, so the baseline 3 applies.

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?

The description names the specific resource (file links: bulletins, methodology, historical series) and its scope (one INEC topic page), plus the parent tool whose output feeds it. That lets an agent distinguish it from search_inec_estadisticas and the generic archive getters without opening the schema.

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 the entry condition (a URL obtained from search_inec_estadisticas) and explicitly routes the ZIP case to list_zip_contents then read_zip_member, which is real when-to-use guidance. There are no exclusions or negative conditions, so it falls short of a full 5.

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