Skip to main content
Glama
pncp-mcp

pncp-mcp

by wallaceluis

Detalhes de uma licitação

detalhar_licitacao
Read-onlyIdempotent

Retrieve complete Brazilian public tender details from PNCP by control number, edital link, or CNPJ/year/sequential, including object, agency, values, dates, status, and notice link.

Instructions

Dados completos de uma licitação: objeto, órgão, valores, datas, situação e link do edital.

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": "detalhar_licitacao"
  }
}

Input Schema

NameRequiredDescriptionDefault
licitacaoYesLicitação: número de controle do PNCP ("00394718000100-1-000021/2026"), link do edital no PNCP ou "CNPJ/ANO/SEQUENCIAL"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/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 known. The description adds value by naming the returned payload fields, which matters given there is no output schema, but it says nothing about behavior on an unknown identifier, ambiguous matches, or whether missing fields are omitted.

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?

A single compact sentence with no wasted words, front-loaded with the resource and its completeness. It is efficient, though the terseness leaves little room for the usage context it lacks.

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 tool with full schema coverage and annotations, the main remaining gap is explaining the return payload, which is partly handled by the field enumeration. Error and not-found behavior is the notable omission.

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 coverage is 100% and the single 'licitacao' parameter is thoroughly documented in the schema, including the accepted formats (PNCP control number, edital link, or CNPJ/ANO/SEQUENCIAL). The description adds no meaning beyond that, so the baseline of 3 applies.

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?

The description states the resource ('uma licitação') and scopes it as 'Dados completos', enumerating the fields returned (objeto, órgão, valores, datas, situação, link do edital). This distinguishes it reasonably well from list-style siblings such as buscar_licitacoes_abertas or listar_itens, though the retrieval verb itself is only implied.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no reference to alternatives. It never says to use resultados_licitacao for results or listar_itens for line items after fetching the detail, nor does it state any prerequisite such as needing a known PNCP control number first.

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