Skip to main content
Glama

Query Named Local IBGE Parquet Views

ibge_microdata_query_parquet_views
Read-onlyIdempotent

Query and join locally stored Parquet views of IBGE microdata, such as POF household and income tables, using DuckDB SQL. Returns up to 10,000 rows.

Instructions

Run a bounded read-only DuckDB SELECT/WITH query over multiple named local Parquet views.

Use this for relational microdata workflows, especially POF, where separate records such as domicilio, morador, and rendimento_trabalho should be joined by their shared keys after conversion to Parquet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYesRead-only SELECT or WITH query against the named views. Semicolons and write keywords are rejected.
viewsYesNamed local Parquet views to create before running SQL.
maxRowsNoMaximum rows to return. Defaults to 1000 and is capped at 10000.
Behavior4/5

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

Annotations already indicate read-only, idempotent, non-destructive behavior. The description adds that the query is bounded (maxRows), uses DuckDB, and rejects semicolons/write keywords, providing valuable context beyond annotations.

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?

The description consists of two sentences: one terse functional statement and one with use case. Every sentence earns its place, and the key action is front-loaded with no wasted words.

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?

Given the tool's complexity, schema coverage, and annotations, the description explains the purpose and use case adequately. It mentions boundedness and read-only behavior but does not describe the output format, which might be inferred. Siblings like profile/describe tools are addressed elsewhere.

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 baseline is 3. The description adds high-level usage context and examples of view names, but does not elaborate on parameters beyond what the schema already provides.

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 the tool runs bounded read-only DuckDB SELECT/WITH queries over multiple named local Parquet views, specifying the verb, resource, and constraints. It distinguishes from siblings like ibge_microdata_query_parquet by emphasizing multiple views and joining.

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?

The description explicitly advises use for relational microdata workflows, especially POF, with examples of views to join. It does not explicitly mention when not to use or contrast with alternatives, but the context and name provide implicit differentiation.

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/emmanueltsallis/ibge-microdata-mcp'

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