Skip to main content
Glama
Odoo MCP Server

Odoo MCP Server

by ajmalj

Update Record

update_record

Modify an existing Odoo record by providing its model, record ID, and field values to apply the specified changes in the ERP system.

Instructions

Update an existing record in 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>",
      "values": "<values>"
    },
    "name": "update_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesThe technical name of the model (e.g., 'res.partner')
valuesYesDictionary of field values to update (e.g., {'phone': '+1234567890', 'city': 'New York'})
record_idYesThe ID of the record to update

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, and it does not meet it. It never states whether this is a partial update (only listed fields change) or a full overwrite, what permissions are required, whether the operation is reversible, or what happens on an invalid field name or missing record.

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 short sentence with the resource front-loaded and no filler. It is not bloated, but its brevity comes at the cost of substance rather than from efficient editing.

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?

The output schema means return values need no explanation, and the parameters are well covered by the schema. However, this is an unannotated mutation tool, so the description should at minimum disclose partial-update behavior and error conditions; one generic sentence is not enough for a write operation.

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%, so all three parameters are already documented in the schema, including the model name and a values example. The description adds nothing beyond that, which is acceptable given the schema coverage, but it also misses the chance to clarify partial-update semantics for the values dictionary.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Update an existing record in an Odoo model" names a verb and resource, but it is essentially the tool name restated with a platform hint. It gives no scope detail (which fields, partial vs. full update) and does nothing to differentiate from siblings like create_record or delete_record beyond the obvious verb.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. The agent must infer on its own that create_record is for new records and delete_record for removal, and nothing tells it what to do when a record does not exist.

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