Skip to main content
Glama
pncp-mcp

pncp-mcp

by wallaceluis

Itens de uma licitação

listar_itens
Read-onlyIdempotent

Lists items in a Brazilian public tender, including description, quantity, unit, estimated value, and whether each item already has a result.

Instructions

Itens de uma licitação: descrição, quantidade, unidade e valor estimado. Indica quais já têm resultado.

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

Input Schema

NameRequiredDescriptionDefault
textoNoPalavras que devem aparecer na descrição do item
limiteNoQuantos registros devolver (padrão 100, máximo 500)
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

C2.9/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 safety and mutability are covered. The description adds useful content beyond that by describing the returned fields and the presence-of-result indicator. It does not disclose ordering, pagination behavior, or what happens when no items match, which limits it to a moderate score.

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?

Two short sentences with no filler, front-loading the resource and then the payload fields. The telegraphic field-list style is efficient, though it reads more like a return summary than a task statement.

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?

With no output schema, the description partially compensates by listing returned fields and the result-flag, which is the main missing information an agent would want. It still omits ordering, empty-result behavior, and how the 'já têm resultado' flag should be interpreted or followed up.

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%, and the schema itself explains the licitação identifier formats, the texto substring filter, and the limite default/maximum. The description adds no parameter meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource ('Itens de uma licitação') and enumerates returned fields (descrição, quantidade, unidade, valor estimado), plus a flag for items with results. However it never states the operation explicitly as a listing/retrieval action and does not distinguish it from siblings such as resultados_licitacao or detalhar_licitacao, leaving the agent to infer the distinction.

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 or when-not-to-use guidance, and no alternative tool is named. The clause 'Indica quais já têm resultado' only hints that results exist elsewhere; it does not tell the agent when to switch to resultados_licitacao for full result details.

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