Skip to main content
Glama

Odoo MCP by bancada

Confirm pending action

odoo_confirm
Destructive

Executes the pending write identified by its code. A code is single-use, expires after 30 minutes and is bound to the account and connection that created it. Returns JSON with the confirmed code, a description of the action, model, method and result, or a message when the code is unknown, expired, already used or created by another connection.

Input Schema

NameRequiredDescriptionDefault
codeYesSix-character pending-action code returned by a write tool.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / code / description
      Previous value: -"Código de la acción pendiente (6 caracteres)."New value: +"Six-character pending-action code returned by a write tool."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description goes beyond them by disclosing the code lifecycle: single-use, 30-minute expiry, and binding to the originating account and connection. It also enumerates failure outcomes (unknown, expired, already used, other connection), which is exactly the behavioral context an agent needs before invoking a destructive write.

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?

Two sentences, front-loaded with the action and followed by constraints and return shape. Every clause carries information; nothing is redundant with the annotations or 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 one-parameter tool with an output schema and destructive annotations, this is sufficient: it covers lifecycle, failure modes, and what the response contains. Nothing an agent needs to call it safely 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 coverage is 100%, so baseline is 3, but the description adds real semantics the schema lacks: the code is single-use, time-limited, and connection-bound, which changes how an agent should source and reuse it. The only gap is that the six-character format itself lives in the schema, not here, which is acceptable.

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 verb and resource: 'Executes the pending write identified by its code.' That is clearly distinct from odoo_read/odoo_write, though the description never names the nearest siblings (odoo_execute for direct execution, odoo_cancel for discarding a pending action), so the agent must infer the boundary.

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?

Usage is implied rather than stated: a code 'returned by a write tool' must be confirmed here. It does not explicitly route the agent to odoo_cancel when the action should be abandoned, nor contrast this with odoo_execute, which is the most likely confusion point given the sibling list.

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