Skip to main content
Glama

Odoo MCP by bancada

Search and read records

odoo_search_read
Read-only

Searches an Odoo model with a domain filter and reads the matching records in a single request. Returns JSON with model, count, offset, limit and records.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of records (1-1000).
modelYesOdoo model technical name, e.g. 'res.partner' or 'account.move'.
orderNoSort order, e.g. 'create_date desc'.
domainNoOdoo search domain. Empty matches all records.
fieldsNoField names to return. Empty returns the default fields.
offsetNoNumber of records to skip.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"Dominio de búsqueda Odoo. Vacío=todos."New value: +"Odoo search domain. Empty matches all records."
    • changedInput schema / properties / fields / description
      Previous value: -"Campos a devolver."New value: +"Field names to return. Empty returns the default fields."
    • changedInput schema / properties / limit / description
      Previous value: -"Máx. registros."New value: +"Maximum number of records (1-1000)."
    • changedInput schema / properties / model / description
      Previous value: -"Modelo Odoo, ej. 'res.partner', 'account.move'."New value: +"Odoo model technical name, e.g. 'res.partner' or 'account.move'."
    • changedInput schema / properties / offset / description
      Previous value: -"Registros a saltar."New value: +"Number of records to skip."
    • changedInput schema / properties / order / description
      Previous value: -"Orden, ej. 'create_date desc'."New value: +"Sort order, e.g. 'create_date desc'."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered structurally. The description adds only the 'single request' efficiency note and a restatement of the return shape, which the output schema already supplies; no mention of pagination behavior or the default 50-record cap's practical effect.

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?

Two sentences, front-loaded with the action and scope, with no filler. Every sentence adds information and nothing is repeated unnecessarily.

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?

With annotations covering safety, a fully described schema, and an output schema explaining the return shape, the description is nearly sufficient. The one remaining gap is routing guidance against odoo_read and odoo_search_count for an agent choosing among them.

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 limit, model, order, domain, fields and offset all documented in the schema including examples. The description only echoes 'domain filter', so baseline 3 applies — the schema carries the parameter burden.

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: searches an Odoo model with a domain filter and reads matching records in one request. This is clearly distinguishable from a read-by-id tool or a count-only tool, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

The phrase 'in a single request' implies this is the combined search+read path rather than search-then-read, but no explicit when-to-use guidance or exclusion against odoo_read or odoo_search_count is given. Usage must be inferred from the sibling names.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources