Skip to main content
Glama
opedrosoares

MCP Compras.gov.br

by opedrosoares

compras_contratacoes_14133_consultar

Retrieve complete details of a Brazilian procurement (Law 14.133) using its internal ID. Get object, estimated value, modality, bidding instrument, and PNCP status.

Instructions

Consulta uma contratação 14.133 pelo id interno.

Endpoint /modulo-contratacoes/1.1_consultarContratacoes_PNCP_14133_Id. Devolve detalhes completos: objeto, valor estimado, modalidade, instrumento convocatório, status no PNCP.

Cache 15 min.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
id_contratacaoYesIdentificador interno da contratação (campo `id` retornado em listar_contratacoes_14133).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description explicitly states that it returns 'detalhes completos' listing several fields (objeto, valor estimado, modalidade, instrumento convocatório, status no PNCP) and mentions the cache duration of 15 minutes. No annotations are provided, so this description carries the full behavioral transparency burden – and it does so well.

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 is three short, focused sentences. The first states the core purpose, the second provides the endpoint for reference, and the third lists the return contents and cache behavior. No fluff, all essential information front-loaded.

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?

Given that the tool has only one parameter (fully described), an output schema exists, and the description covers purpose, parameter semantics, detailed return fields, and caching policy, the description is complete enough to enable correct use without requiring additional context.

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?

The schema coverage is 100% and the description adds context by mentioning that id_contratacao is the internal id returned by listar_contratacoes_14133, which links the parameter to a sibling tool's output. This goes beyond the raw schema definition, providing operational semantics.

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 action (consultar uma contratação 14.133), the resource (pelo id interno), and lists the details returned (objeto, valor, modalidade, etc.). It distinguishes the tool from siblings like compras_contratacoes_14133_listar (which lists, not queries by id) by mentioning that it uses the internal id returned by the list endpoint.

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 implies usage when you have an internal id from listar_contratacoes_14133, and the schema reinforces that id_contratacao is required. However, it does not explicitly exclude alternative tools (e.g., when you might use other consult tools) or provide negative examples, but the context is clear enough for the target use case.

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