Skip to main content
Glama
Odoo MCP Server

Odoo MCP Server

by ajmalj

Delete Record

delete_record

Deletes a specified record from an Odoo model using its technical model name and record ID, enabling AI assistants to remove unwanted ERP data.

Instructions

Delete a record from an Odoo model.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "model": "<model>",
      "record_id": "<record_id>"
    },
    "name": "delete_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesThe technical name of the model (e.g., 'res.partner')
record_idYesThe ID of the record to delete

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it delivers only the bare verb. Nothing is said about irreversibility, whether confirmation is possible, required permissions, cascade/related-record effects, or what happens on failure.

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?

A single front-loaded sentence with no filler, which is structurally clean. Its brevity reads as under-specification rather than tight editing, but there is no wasted wording to penalize.

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

Completeness2/5

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

For a high-consequence destructive tool with zero annotation coverage, the definition omits warnings, permission requirements, and irreversibility. The output schema exists, so return values need not be explained, but the safety context an agent needs before calling delete is entirely missing.

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 'model' and 'record_id' documented in the schema itself, so the baseline of 3 applies. The description adds no extra meaning about model/record pairing or ID provenance beyond what the schema already states.

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 ('Delete a record from an Odoo model') with a named system scope, so an agent knows exactly what the tool does. It stops short of differentiating itself from siblings such as update_record or get_record, though the verb alone makes the intent unambiguous.

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 gives no guidance on when to use this instead of update_record or other siblings, and no preconditions are stated. For a destructive operation, the absence of any 'use only when...' framing is a notable gap.

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