Execute a previously previewed and confirmed standard write
AI agents use execute_approved_write to create or update resources in Odoo MCP Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Odoo MCP Server environment.
This tool executes a write operation on an Odoo ERP system. While it implies a prior approval/preview step (suggesting some guardrails), it still modifies data in an ERP system. The severity is high because ERP data modifications can affect business-critical records (inventory, customers, orders, etc.) across the system, and misuse could corrupt important business data.
From the tool's definition Execute a previously previewed and confirmed standard write
Attacks that exploit this kind of access
Execute a previously previewed and confirmed standard write. It is categorised as a Write tool in the Odoo MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Odoo MCP Server MCP server in PolicyLayer and add a rule for execute_approved_write: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Odoo MCP Server. Nothing to install.
execute_approved_write is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the execute_approved_write rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for execute_approved_write. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
execute_approved_write is provided by the Odoo MCP Server MCP server (pypi:odoo-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.