Skip to main content
Glama

odoo_record_backup

Capture a full field snapshot of Odoo records as JSON before destructive operations for potential rollback.

Instructions

Read full field snapshot of one or more records (any model) and return as a JSON structure. Use BEFORE destructive operations to capture state for possible rollback. Returns a dict with metadata (date, connection alias, model, ids, field count) plus the records themselves. Does NOT write to disk — caller decides what to do with the JSON.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionNodefault
modelYesOdoo model (e.g. 'mrp.production')
idsYesRecord IDs to snapshot
include_relatedNoOptional list of related queries. Each: {model, domain, fields}. Example: [{model: 'stock.move', domain: [['raw_material_production_id', 'in', <mo_ids>]], fields: [...]}] (use placeholders manually).
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses read-only behavior (no disk write, returns JSON) and metadata structure. However, it could be more explicit about being non-destructive and safe. Adequate but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with purpose, then usage, then behavior. No redundancy, efficient and clear. Each sentence adds distinct value.

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

Completeness4/5

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

Given no output schema, description explains return value (dict with metadata and records). Covers key behavior (not writing to disk). Missing error handling or rate limits, but sufficient for a backup tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, and description adds value beyond schema, especially for 'include_related' with example and placeholder clarification. It explains the purpose of each parameter and how to use them, improving agent understanding.

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

Purpose5/5

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

The description clearly states it reads a full field snapshot of records from any model and returns JSON. It distinguishes from siblings like odoo_read by specifying the snapshot/backup purpose and metadata return. Verb (read/snapshot) and resource (records) are specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says 'Use BEFORE destructive operations to capture state for possible rollback.' Provides clear context but does not list alternative tools or explicitly state when not to use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rosenvladimirov/odoo-claude-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server