Skip to main content
Glama

olist_pedido_estornar_contas

Reverse or refund charges for an order. Provide the order ID and confirm the operation to execute the refund. This tool undoes financial entries for a specific order.

Instructions

Estornar Contas do Pedido API 2.0. Endpoint API V2: pedido.estornar.contas. Documentação: https://tiny.com.br/api-docs/api2-pedidos-estornar-contas Esta operação altera dados e exige confirmar=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesNúmero de identificação do pedido na Olist
confirmarYesConfirma que a operação mutável foi revisada e deve ser executada.
Behavior2/5

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

With no annotations provided, the description carries the full burden. It does state the operation 'altera dados' (changes data) and requires confirmar=true, providing some transparency about mutation. However, it omits important behavioral details such as irreversibility, side effects on financial records, required permissions, or response behavior. This is insufficient for a mutation tool with no annotation support.

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 description is brief and front-loaded with the purpose ('Estornar Contas do Pedido'). The endpoint sentence is somewhat redundant with the tool name, and the documentation URL is useful but lengthy. Overall, it is concise with minimal waste, though the redundancy slightly reduces efficiency.

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 tool is simple with only 2 parameters, no output schema, and no annotations. The description gives the essential purpose and the confirmation requirement, which covers the minimal invocation requirements. However, it lacks context about the business effect of the reversal, any prerequisites (e.g., order status), and whether the operation is reversible, leaving gaps for a complete understanding.

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%, with both id and confirmar fully described. The description reinforces the mutable nature and confirmar=true, but adds little beyond the schema. The baseline for high coverage is 3, and the description does not compensate with additional parameter semantics.

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 action ('Estornar Contas do Pedido' - reverse order accounts) and identifies the API V2 endpoint. The verb-resource combination distinguishes it from sibling tools like olist_pedido_lancar_contas and olist_pedido_estornar_estoque, though it does not explicitly describe what 'estornar contas' entails in business terms.

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 provides no guidance on when to use this tool versus alternatives. It does mention that the operation requires confirmar=true, which is a prerequisite, but does not state the context (e.g., when an order's accounts have been posted and need reversal) or specify exclusions. Sibling tools like olist_pedido_lancar_contas are not referenced.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mauriciogior/olist-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server