Skip to main content
Glama

compras_contratacoes_14133_itens_por_contratacao

Read-onlyIdempotent

Lista itens de uma contratação 14.133 específica.

Endpoint /modulo-contratacoes/2.1_consultarItensContratacoes_PNCP_14133_Id. Aceita idCompra ou número de controle PNCP, conforme tipo_identificador.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paginaNoPágina de resultados (1-based). Padrão 1.
id_contratacaoYesIdentificador da contratação. Aceita dois formatos, conforme `tipo_identificador`: o `idCompra` (17 dígitos, campo `idCompra` das listagens, ex.: '15813206001272025') ou o número de controle PNCP (alfanumérico com barra, campo `numeroControlePNCP`, ex.: '10673078000120-1-000021/2025' — é o número que aparece no edital).
tamanho_paginaNoQuantidade de registros por página. Padrão 50, máximo 500.
tipo_identificadorNoQual identificador está sendo passado em `id_contratacao`: 'idCompra' (padrão) ou 'numeroControlePNCPCompra'. O upstream rejeita qualquer outro valor com HTTP 500.idCompra

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, and non-destructive behavior, so the description does not need to restate those. It adds useful behavioral context by specifying the endpoint and noting that the upstream rejects invalid tipo_identificador values with HTTP 500.

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?

The description is concise, front-loaded with the main purpose, and contains no redundant or extraneous text. The endpoint and identifier format are presented in a compact, scannable structure.

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?

Given the output schema exists, the description does not need to enumerate return fields. It includes enough invocation context: the endpoint, accepted identifier formats, and pagination defaults are covered by the schema. A short note on how this tool differs from sibling item-listing tools would make it fully complete.

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?

The input schema already describes all four parameters with 100% coverage. The description adds concrete examples for id_contratacao and clarifies the effect of tipo_identificador, which goes beyond the schema and helps the agent construct valid requests.

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 clearly states the tool's purpose: listing items for a specific 14.133 procurement, with a specific verb and resource. It does not explicitly contrast itself with sibling tools like compras_contratacoes_14133_itens_listar, but the phrase 'contratação 14.133 específica' conveys the scoped nature.

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?

The description provides useful usage details, such as the endpoint and the two accepted identifier formats. However, it does not explain when to prefer this tool over related alternatives, such as the general item listing tool or the results-by-procurement tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources