Skip to main content
Glama
pncp-mcp

pncp-mcp

by wallaceluis

Arquivos de uma licitação

listar_arquivos
Read-onlyIdempotent

Retrieves files published for a Brazilian public procurement, including the edital, terms of reference, and annexes, with download links from a PNCP control number, edital URL, or CNPJ/year/sequential.

Instructions

Edital, termo de referência, anexos e demais arquivos publicados na licitação, com o link para baixar.

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_arquivos"
  }
}

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.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered. The description adds that results include a download link, which is useful behavior beyond the schema, but it says nothing about empty results, file types, or how many files are typically returned.

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?

One compact sentence listing the file categories and noting the download link. It is front-loaded and wastes no words, though the listing of examples is somewhat loose.

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?

For a simple read-only list tool with one fully-documented parameter and no output schema, the description is adequate but thin. It doesn't state that results may be empty or how files are ordered/identified, minor gaps for an agent preparing to call it.

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% and the single parameter's description explains all three accepted formats (control number, edital link, CNPJ/ANO/SEQUENCIAL). The prose description adds nothing to parameter semantics, but the baseline allows a 4 given the negligible schema-side ambiguity and the well-documented single input.

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 (files published in the licitação), enumerating edital, termo de referência, anexos, and mentions the download link. It clearly distinguishes from siblings like listar_itens or detalhar_licitacao by virtue of returning file artifacts, though it doesn't explicitly name alternatives.

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?

The description gives no explicit when-to-use guidance, no prerequisites, and does not name alternatives or exclusions. The agent must infer from the resource type that it's for retrieving documents rather than structured data.

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