Skip to main content
Glama
opedrosoares

MCP Compras.gov.br

by opedrosoares

compras_pncp_contratacoes_atualizacao

Read-onlyIdempotent

Monitor updated procurement notices by date range and modality. Identify rectified or republished editals to track changes in Brazilian PNCP contracting data.

Instructions

Lista contratações alteradas no período (PNCP).

Endpoint /v1/contratacoes/atualizacao. Útil para monitoramento: descobrir editais que sofreram retificações/republicações. Aceita filtro esfera client-side.

Cache 15 min.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
esferaNoFiltro opcional de esfera federativa (`federal`, `estadual`, `municipal` ou `distrital`). Aplicado client-side sobre a página retornada — útil para recortar a lista, mas note que `_total_registros` continua refletindo o total **sem** filtro de esfera.
paginaNoPágina (1-based).
data_finalYesData final de atualização (YYYY-MM-DD).
data_inicialYesData inicial de atualização (YYYY-MM-DD).
tamanho_paginaNoRegistros por página (PNCP mínimo 10).
codigo_modalidadeYesCódigo da modalidade (obrigatório no PNCP). Códigos comuns: 1=Leilão Eletrônico, 4=Concorrência Eletrônica, 6=Pregão Eletrônico, 8=Dispensa, 9=Inexigibilidade, 13=Concurso.

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

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds value by disclosing the client-side `esfera` filtering behavior and the 15-minute cache, plus the update/retification semantics, without contradicting the 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?

Three short sentences, each adding distinct information: what the tool lists, why it is useful, and operational caveats (client-side filter, cache). No filler or repetition.

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?

For a read-only PNCP listing tool with a rich output schema and fully documented parameters, the description covers purpose, use case, cache behavior, and the one important filtering caveat. It could be stronger only by explicitly contrasting this endpoint with the publication-focused sibling tool.

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%, including date formats, page defaults, and modalidade code mappings. The description only echoes that `esfera` is a client-side filter and adds no new parameter-level details 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 opens with a concrete action and object: 'Lista contratações alteradas no período (PNCP)' and identifies the exact endpoint. The monitoring purpose — finding retified/republicated notices — clearly distinguishes it from sibling listing tools such as compras_pncp_contratacoes_publicacao.

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 clearly states when to use the tool: for monitoring edits, retifications, and republications of contracting notices. It does not explicitly name alternatives or exclusion criteria, but the 'alteradas' framing strongly implies contrast with publication-focused sibling tools.

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