Skip to main content
Glama
opedrosoares

MCP Compras.gov.br

by opedrosoares

compras_pncp_contratacao_itens

Read-onlyIdempotent

Retrieves itemized lists for a Brazilian public procurement contract from the PNCP using the agency CNPJ, year, and contract sequential number, supporting price research and procurement analysis.

Instructions

Lista itens de uma contratação no PNCP.

Endpoint /v1/orgaos/{cnpj}/compras/{ano}/{sequencial}/itens. Cache 15 min.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
anoYesAno da contratação.
cnpjYesCNPJ do órgão.
paginaNoPágina de resultados (1-based). Padrão 1.
sequencialYesSequencial da contratação.
tamanho_paginaNoQuantidade de registros por página. Padrão 50, máximo 500.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.14

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds the endpoint and a 15-minute cache, which is useful context, but it does not describe pagination limits or other runtime behavior; the output schema and parameter descriptions cover much of the rest.

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 entire description is two short, front-loaded sentences with no filler. The endpoint and cache information are directly useful and nothing in the description wastes an agent's attention.

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 that this is a simple read-only list operation with full input schema coverage, annotations, and an output schema, the description is largely sufficient for invoking the tool correctly. The main gap — choosing it over similar sibling tools — is already accounted for under usage guidelines.

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 has its own description, so the schema carries the semantic burden. The description's endpoint template reinforces the required path parameters but adds no meaning beyond what the input schema already provides.

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: 'Lista itens de uma contratação no PNCP', and reinforces it with the endpoint path. It does not explicitly differentiate from similar sibling tools like compras_contratacoes_14133_itens_listar, but the PNCP qualifier clearly narrows the scope.

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?

The description implies when to use the tool: to list items of a PNCP contratação identified by cnpj, ano, and sequencial. However, it gives no explicit conditions or alternatives, and the large sibling list contains many similarly named item-listing tools, so routing guidance is limited to what the name and endpoint already suggest.

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/opedrosoares/MCP_Compras'

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