Skip to main content
Glama

Preparar: Salvar registro de comparativo de precos

gover_salvar_comparativo
Destructive

Salvar registro de comparativo de precos. Usa exclusivamente a conta Gover conectada e suas permissoes na API. Prepara a acao, sem executa-la. Mostre os parametros ao usuario; somente depois de confirmacao explicita use gover_confirmar_operacao. Nunca informe credenciais ou identidade de autenticacao como argumentos. Os campos seguem o contrato da API. Para resultados extensos, use gover_ler_resultado com o resultadoId retornado. Dados de pagamento novos devem ser preenchidos somente no portal Gover.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rqYes
termoNo
cidadeIdNo
clientIdNo
unidadeIdNo
funcionarioIdNo
tipoCentroDeCustoNo
finalidadeViagemIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations (non-readonly, destructive, non-idempotent, open-world), the description discloses meaningful behavioral context: the two-step prepare/confirm flow, that credentials must never be passed as arguments, and that new payment data belongs only in the Gover portal. The prepare-without-executing wording sits in mild tension with destructiveHint=true but is reconcilable if the tool writes only a pending state.

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?

The purpose and the prepare/confirm workflow are front-loaded and the sentences are individually purposeful. Minor redundancy exists between the "use only the connected Gover account" and "never pass credentials" clauses, both of which address authentication.

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?

The description adequately covers the workflow, confirmation gate, and result-retrieval path, which is important for a complex tool. However, for a tool with 8 params, nested objects, no output schema, and zero schema-description coverage, it leaves the comparatives payload and identity fields (cidadeId, clientId, unidadeId, etc.) entirely undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 8 parameters, a deeply nested "comparatives" array, and 0% schema description coverage, the description supplies almost no field-level meaning, only the generic "Os campos seguem o contrato da API." The only concrete guidance is negative (do not pass credentials/payment data), which the declared params do not require anyway.

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 opening sentence names a specific verb and resource (save a price-comparison record) and the follow-up clauses clarify it is a prepare-only step ("Prepara a acao, sem executa-la"). This is clear enough for an agent to understand the action, but it does not distinguish itself from related siblings such as gover_solicitar_comparativo_precos, gover_consultar_status_comparativo, or gover_comparar_opcoes.

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?

It gives explicit operational sequencing: show the parameters to the user and only proceed to gover_confirmar_operacao after explicit confirmation, and points to gover_ler_resultado with the returned resultadoId for large results. That is strong when/how guidance, though it stops short of stating when NOT to use this tool versus its comparativo siblings.

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