Skip to main content
Glama
Odoo MCP Server

Odoo MCP Server

by ajmalj

Create Record

create_record

Creates a new record in an Odoo model from provided field values, enabling AI assistants to add ERP data such as customers or contacts.

Instructions

Create a new 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>",
      "values": "<values>"
    },
    "name": "create_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesThe technical name of the model (e.g., 'res.partner')
valuesYesDictionary of field values for the new record (e.g., {'name': 'John Doe', 'email': 'john@example.com'})

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 behavioral burden, yet it says nothing about required fields, validation failures, permission errors, or whether the record is created atomically. For a mutation tool with zero annotation coverage, this is a significant gap; the return-value question is partly offset by the output schema.

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, appropriately efficient. It is not padded, though it is thin enough that its brevity reflects under-specification rather than tight curation.

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 tool is a mutation with a nested-object parameter, no annotations, and Odoo-specific semantics like technical model names and field-level validation rules. With no write-behavior warnings and no usage conditions, the description is not complete enough for an agent to call it confidently.

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 both 'model' and 'values' are already documented with examples in the input schema. The description adds no extra meaning about naming conventions, field types, or relational field handling beyond what the schema provides, so the baseline 3 applies.

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 ('Create a new record in an Odoo model'), which is enough to separate it from update_record, delete_record, and get_record by verb alone. It does not explicitly name or contrast with those siblings, so it stops short of a 5.

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 mention of prerequisites such as access rights on the target model, and no routing to update_record for existing records. The agent must infer that this is the write path for new records versus updates.

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