MCP Server for Odoo ERP — connect AI assistants to Odoo via XML-RPC
The server presents 11 tools with mostly complete schemas and reasonable descriptions, but has several definition quality gaps that prevent a higher score. Tool names are clear and verb-forward (list_, get_, search_, create_, update_, delete_, call_, aggregate_). Descriptions are present for all tools (ranging 50-150 chars) and most input parameters have type declarations and descriptions. However, there are critical issues: (1) Several parameters accept JSON strings ('values', 'domain', 'args', 'kwargs') instead of properly typed objects, forcing LLMs to serialize/deserialize and inviting parsing errors; (2) No explicit enum constraints or validation rules in descriptions for constrained inputs (e.g., aggregate functions, domain syntax); (3) Output schemas are inferred from code but not explicitly documented in the tool definitions; (4) Error handling descriptions are minimal, no guidance on recovery or retry logic; (5) Missing parameter descriptions for some tools (e.g., 'offset' in search_records lacks bounds info). The 'call_model_method' tool requires explicit YOLO mode opt-in, which is good security practice, but the description does not adequately explain the security implications or when it should/should not be used. Overall, these are functional definitions suitable for basic integration but lack the polish and LLM-optimization expected of production-grade tools.
Perform aggregation (GROUP BY) on records
Call a business method on a model or record (requires YOLO mode)
Create a new record in a model with specified field values
Delete one or more records from a model
Get field definitions and metadata for a model
Retrieve a specific record by ID with all or specified fields
Get available resource templates for browsing Odoo data
JSON string parameters instead of typed objects. Tools 'create_record', 'update_record', 'call_model_method', and 'aggregate_records' accept 'values', 'args', 'kwargs', and 'domain' as JSON strings. This forces LLMs to manually serialize/deserialize Python/JSON, inviting parsing errors and reducing clarity. Should use typed JSON objects in the schema.
Missing enumeration constraints and validation rules. Parameters like 'aggregates' (aggregate functions) and 'domain' (search filter syntax) accept freeform strings with no explicit enum or pattern constraints in the schema. Descriptions should enumerate valid options (e.g., 'Aggregate functions: sum:field_name, count, avg:field_name, max:field_name, min:field_name').
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 64 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 21 | 1.26.0+ | v1 |
Get current user context including user ID, company, permissions
List available Odoo models with optional filtering
Search for records in a model matching specified criteria
Update an existing record with new field values
'call_model_method' tool has insufficient security documentation. The description mentions 'requires YOLO mode' but does not explain why, what YOLO mode means, or the security/permission implications. LLMs may invoke this tool without understanding the risks (e.g., calling ir.actions.server.run could execute arbitrary code). Add explicit security warnings and clarify when/why this tool should not be used.
Output schemas not explicitly documented in tool definitions. Tool descriptions do not state what fields will be returned (e.g., 'search_records returns {count, offset, records: [{id, ...}]}' or similar). LLMs cannot plan downstream tool calls without knowing the response structure. Output schemas should be documented in tool descriptions or metadata.
Parameter bounds and constraints missing. 'limit' and 'offset' parameters in 'search_records' lack bounds documentation. What are the min/max values for limit? What is the maximum offset? Unbounded numeric parameters invite LLMs to pass extreme values (e.g., limit=999999) that could timeout or exhaust resources.
Error handling lacks recovery guidance. Tool descriptions do not explain what errors are possible, how to interpret them, or what the LLM should do next. For example, 'call_model_method' could fail due to missing method, permission denial, or incorrect arguments, the LLM needs actionable guidance for each case.
Destructive operations lack confirmation/dry-run. 'delete_record' tool can destroy records without a confirmation step. While agents should be careful, a dry-run or confirmation pattern would prevent accidental data loss from agent reasoning errors.
Domain syntax not explained. 'search_records' and 'aggregate_records' accept 'domain' as a string representation of a Python list (e.g., "[('field', '=', 'value')]"). The description says 'Search domain filter as a string representation of a list' but does not explain Odoo domain syntax, valid operators, or examples. LLMs unfamiliar with Odoo will struggle to construct valid domains.