Skip to main content
Glama

inei_browse_topics

Browse the INEI thematic indicator tree to explore Census 2017 categories and sub-categories. Locate leaf indicators by their ID for data retrieval.

Instructions

Browse the INEI thematic indicator tree — all categories and sub-categories.

Returns the hierarchical topic tree with ~1977 entries from the Census 2017 database. Nodes with tipo=1 are categories; tipo=2 are leaf indicators with an id_indicador.

Use id_indicador (only on tipo=2 nodes) with inei_get_indicator_data (requires id_geografia).

Top-level categories include DEMOGRAFICO, SOCIAL, ECONOMICO, VIVIENDA, HOGARES, EDUCACION, SALUD, EMPLEO.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
root_idNoFilter to children of a specific topic node by id_tema. Omit to get all topics (1977 items — large response).
only_indicatorsNoIf true, return only leaf indicators (tipo=2) that have an id_indicador.
Behavior4/5

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

No annotations provided, so description carries burden. Discloses return size (~1977 entries), node types (categoria vs indicador), and the significance of id_indicador. Does not mention idempotency, pagination, or authentication needs, but sufficient for a browse tool.

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?

Five sentences, front-loaded with action and result. Each sentence adds distinct value (purpose, structure, usage, example). No redundant or verbose content.

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?

Despite no output schema, description fully explains return structure and chaining to inei_get_indicator_data. All 2 parameters are well-described. Sibling tools are listed, and the description indirectly differentiates by showing this tool is for browsing the tree.

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 100% (baseline 3). Description adds meaning: explains root_id filters by id_tema, only_indicators returns leaf nodes, and clarifies that id_indicador is only on tipo=2 nodes. These details aid agent in correct parameter usage.

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 clearly states it browses the INEI thematic indicator tree, defines hierarchical structure with categories (tipo=1) and leaf indicators (tipo=2), and lists top-level categories. This distinguishes it from sibling tools like inei_get_indicator_data and inei_search_indicators.

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?

Provides guidance on using id_indicador with inei_get_indicator_data and the root_id parameter to filter. Notes that omitting root_id yields a large response. Lacks explicit when-not-to-use or comparison with all siblings, but context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JOSETRA44/INEI-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server