Skip to main content
Glama

pncp_processo

Read-onlyIdempotent

Detalhe de oportunidade(s) por id (de pncp_listar/pncp_oportunidades). DOIS modos: (1) id único → detalhe COMPLETO (objeto, situação, órgão, modalidade, ITENS com preços, valor estimado, datas) + cnpj/ano/sequencial pra LER o edital (pncp_texto/pncp_arquivos). (2) ids em LOTE → detalha vários numa só chamada (com throttle interno) e devolve RANKING por VALOR (maior 1º) — é a forma certa de RANQUEAR POR VALOR, já que a listagem não traz valor. Passe os id da página do pncp_listar em ids pra montar o ranking sem N chamadas.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
idsNo

Schema Changelog

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

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the readOnly annotation, the description reveals that batch mode has internal throttling and returns results ranked by value, which are useful behavioral details. It also implies the single mode returns richer detail. No contradictory side effects are mentioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear mode breakdowns and uses uppercase for emphasis. It is slightly repetitive regarding ranking but remains efficient and informative without excessive verbosity.

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?

The description provides sufficient context for both usage patterns and references related tools (pncp_texto, pncp_arquivos) for further actions. It doesn't cover error handling or return formats, but given the read-only nature and clear purpose, it is adequately complete.

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?

Although the schema lists both id and ids without descriptions, the description clarifies their distinct usage: id for a single opportunity, ids for a batch. It also explains the expected input (from pncp_listar) and the output difference, adding meaning beyond the raw schema.

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 that the tool provides details of opportunities by id, with two modes (single and batch). It distinguishes itself from sibling tools by mentioning it complements pncp_listar/pncp_oportunidades and provides ranking by value, making its purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly explains when to use each mode: single id for complete details, batch ids for ranking by value. It contrasts with pncp_listar (which lacks value) and directs users to pass ids from pncp_listar for ranking, offering clear alternative guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.7/5.0
Disambiguation3/5

The pncp_* tools are mostly differentiated by data type, but there is real overlap: pncp_buscar, pncp_listar, and pncp_oportunidades all search licitações, while pncp_detalhe and pncp_processo both return full details and pncp_resultado overlaps with pncp_detalhe(resultado=true). Detailed descriptions help, but an agent could easily pick the wrong search or detail tool.

Naming Consistency2/5

Naming is inconsistent: English platform tools (authenticate, connect, marketplace, report_bug, show_version, toolkit_info) sit alongside Portuguese pncp_* names, with some verbs (buscar, listar) and mostly nouns (atas, contratos, detalhe, processo, texto). There is no single predictable verb_noun or resource_action convention.

Tool Count3/5

19 tools is in the heavy range and includes 6 generic platform/account tools that are unrelated to the PNCP procurement domain. The 13 pncp_* tools are defensible for a broad read-only procurement API, but several overlap enough that the count feels slightly bloated rather than tightly scoped.

Completeness4/5

The PNCP side covers the core read-only procurement lifecycle well: keyword search, value-ranked listing, opportunities, full detail, edital text, document downloads, winners, contracts, atas, historical data, PCA, and buyer organs. Minor gaps exist, such as losing bids/lances being explicitly unavailable and the marketplace features being bundled into one overloaded tool instead of separate ones.