Skip to main content
Glama
pncp-mcp

pncp-mcp

by wallaceluis

Atas de registro de preço

buscar_atas
Read-onlyIdempotent

Find price registration minutes valid within a date range, filter by agency CNPJ or object keywords, and locate records that may accept adhesion.

Instructions

Atas de registro de preço com vigência no período. Útil para achar atas que aceitam adesão ("carona"). Filtre por órgão (CNPJ) e palavras do objeto.

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": {
      "de": "<de>",
      "ate": "<ate>"
    },
    "name": "buscar_atas"
  }
}

Input Schema

NameRequiredDescriptionDefault
deYesVigência a partir de (AAAA-MM-DD)
ateYesVigência até (AAAA-MM-DD)
cnpjNoCNPJ do órgão (com ou sem pontuação)
textoNoPalavras que devem aparecer no objeto (sem diferenciar acento e maiúsculas). A API não busca por texto: o servidor percorre as páginas e filtra.
limiteNoQuantos registros devolver (padrão 20, máximo 50)
paginaNoPágina (só quando não há `texto`)
maxPaginasNoCom `texto`: quantas páginas de 100 percorrer no máximo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 covered. The description adds only the vigência scoping; it says nothing about return volume, the cost of scanning multiple pages, or ordering, though the schema description carries the page-scanning caveat for `texto`.

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, purpose first, then use case and filtering hint. Nothing is wasted; the "carona" gloss is useful domain vocabulary rather than filler.

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?

A read-only, open-world list tool with full parameter documentation and no output schema, so the description only needs to establish purpose and selection context, which it mostly does. It is thin on what an ata record contains and on the distinction from the licitação search siblings, leaving a small but real gap.

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%, so the baseline is 3. The description highlights the cnpj and texto filters, matching what the schema already documents, and adds no format or interaction detail beyond it (e.g., that pagina is ignored when texto is set — that nuance lives only in the schema).

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 resource ("Atas de registro de preço") with a scope qualifier ("com vigência no período"), which is far more informative than the title alone. It does not explicitly differentiate itself from the sibling licitação tools (buscar_licitacoes_abertas, buscar_licitacoes_publicadas), but the resource noun is distinct enough for an agent to select it.

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

Usage Guidelines4/5

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

Gives a concrete, non-obvious use case — finding atas that allow adesão ("carona") — plus which filters to reach for (órgão/CNPJ, palavras do objeto). No exclusions or named alternatives are offered, so it stops short of a 5.

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