Skip to main content
Glama
pncp-mcp

pncp-mcp

by wallaceluis

Vencedores e valores homologados

resultados_licitacao
Read-onlyIdempotent

Retrieve winning suppliers and approved item values from a Brazilian public procurement; pass an item number for one item or omit it to scan items with recorded results.

Instructions

Fornecedores vencedores e valores homologados dos itens de uma licitação. Passe numeroItem para um item só; sem ele, percorre os itens que já têm resultado. CPF de pessoa física vem mascarado.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "licitacao": "<licitacao>"
    },
    "name": "resultados_licitacao"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxItensNoSem `numeroItem`: quantos itens com resultado consultar no máximo (padrão 50)
licitacaoYesLicitação: número de controle do PNCP ("00394718000100-1-000021/2026"), link do edital no PNCP ou "CNPJ/ANO/SEQUENCIAL"
numeroItemNoNúmero do item

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description still adds real behavior beyond them: the default traversal over only items with results, and the privacy note that CPF of individuals is masked — a data-shape trait an agent could not get from 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, front-loaded with the returned resource, then the parameter branch, then the masking caveat. No filler or restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description names the returned entities only in general terms — it does not indicate result shape, whether there may be items without winners, or pagination/limits beyond maxItens. Adequate for a read-only lookup but not fully self-sufficient.

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?

Schema coverage is 100%, so baseline is 3, but the description adds the interaction semantics: with no `numeroItem` the call iterates items with results, which reframes how `maxItens` behaves. That is genuine meaning beyond the per-field schema text.

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?

States a specific verb+resource in 'Fornecedores vencedores e valores homologados dos itens de uma licitação', which is clearly a results/awards view rather than a raw item listing. It does not explicitly name or contrast with a sibling such as listar_itens, so it stops short of full differentiation.

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?

Gives useful branch conditions: pass `numeroItem` for a single item, omit it to walk all items that already have a result. However, it never says when to choose this over listar_itens or detalhar_licitacao, leaving cross-tool routing to inference.

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