Skip to main content
Glama
opedrosoares

MCP Compras.gov.br

by opedrosoares

compras_contrato_empenhos

Read-onlyIdempotent

Lists budget commitments (empenhos) for a contract using its ID. Supports page-by-page review of financial obligations for procurement analysis.

Instructions

Lista empenhos do contrato (/api/contrato/{id}/empenhos).

Paginação client-side. Cache 15 min.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paginaNoPágina de resultados (1-based). Padrão 1.
id_contratoYesID do contrato no Comprasnet.
tamanho_paginaNoQuantidade de registros por página. Padrão 50, máximo 500.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.14

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds meaningful behavioral context beyond annotations: pagination is client-side and responses are cached for 15 minutes, which helps an agent set expectations about data freshness and pagination handling.

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 extremely concise with two short sentences, and the core purpose is front-loaded in the first sentence. The endpoint, pagination behavior, and cache duration are all useful and non-redundant with the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple list operation with rich annotations, a full output schema, and complete parameter documentation in the schema, the description covers the essential operational details: endpoint, resource, pagination style, and cache behavior. Nothing critical for correct invocation is missing.

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 description coverage is 100%, so the schema already documents all three parameters. The description adds value by noting 'Paginação client-side', which clarifies that pagina and tamanho_pagina are applied client-side rather than server-side, supplementing the schema definitions.

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

Purpose5/5

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

The description states a specific verb and resource: 'Lista empenhos do contrato', and includes the endpoint path '/api/contrato/{id}/empenhos' to remove ambiguity. This clearly distinguishes it from sibling contract-related tools that deal with faturas, garantias, cronograma, or publicações.

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?

The description clearly indicates this tool is for listing contract empenhos, with the contract ID as the key input and client-side pagination behavior. It does not explicitly compare against alternatives or state exclusions, but the resource-specific endpoint and context signal make the intended use evident.

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

Deploy Server

Other Tools