Skip to main content
Glama
opedrosoares

MCP Compras.gov.br

by opedrosoares

compras_contratacoes_14133_consultar

Read-onlyIdempotent

Fetch full details of a Brazilian procurement process (Lei 14.133) by internal ID, including 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

Schema Changelog

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

  1. First observedv0.3.14

TDQS

A4/5.0
Behavior4/5

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

Annotations already fully cover the safety profile (readOnly=true, openWorld=true, idempotent=true, destructive=false), so the description adds no contradiction. It contributes genuinely new behavioral context beyond annotations: a 'Cache 15 min' disclosure alerting the agent that data may be up to 15 minutes stale, and an enumeration of exactly which details are returned, helping the agent judge result completeness.

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?

Four short, purposeful elements: purpose sentence, endpoint, return-field summary, and cache TTL. Every line earns its place, the most important information is front-loaded, and there is zero filler or repetition of the schema.

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 one-parameter, read-only, idempotent lookup with an output schema present, the definition is nearly complete: it states purpose, endpoint, return content, and cache behavior, and the schema covers parameter provenance. The only gap is the absence of explicit routing guidance against sibling consult tools, which is partially compensated by the schema's cross-reference to listar_contratacoes_14133.

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%: the single parameter id_contratacao is already documented with its type, requirement, and provenance (the `id` returned by listar_contratacoes_14133). The tool description adds no parameter-level information, but the high-quality schema makes that unnecessary — baseline 3 is appropriate.

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 first line states a specific verb and resource: 'Consulta uma contratação 14.133 pelo id interno' — a detail lookup by internal ID. The listed return fields (objeto, valor estimado, modalidade, instrumento convocatório, status no PNCP) plus the 'pelo id interno' scope clearly separate it from sibling list tools such as compras_contratacoes_14133_listar and compras_contratacoes_14133_itens_listar.

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?

No explicit when-to-use or when-not-to-use guidance appears in the description. Usage is only implied: the endpoint name and the parameter schema's note that id_contratacao is the 'campo `id` retornado em listar_contratacoes_14133' hint at a list-then-consult workflow, but the description itself never states when to prefer this tool over sibling consult/detail 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