Skip to main content
Glama
odoo-readonly

odoo-readonly

by arisnew

odoo_search_read

Search and read Odoo records by model, domain, fields, and limit to inspect production or staging data without modifying it.

Instructions

Odoo search_read: list records matching domain.

  • profile: server profile id (empty = default). Use odoo_list_profiles first.

  • model: e.g. hr.attendance

  • domain: JSON list, e.g. [["employee_id","=",42]]

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>"
    },
    "name": "odoo_search_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
modelYes
orderNo
domainNo[]
fieldsNo
offsetNo
profileNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.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 disclosure burden, yet it never states that this is a read-only operation, nor anything about default limits, pagination, or result size. The implicit read nature is only conveyed by the tool name, not by any explicit behavioral statement.

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?

Front-loaded with the verb and resource, followed by a tight bulleted parameter list. It is compact with no wasted prose, though the bullets are uneven in coverage rather than padded.

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?

For a seven-parameter, no-annotation tool this is under-specified: four parameters, defaults, and pagination semantics are absent, and no alternatives are named. The presence of an output schema excuses it from explaining return values, but not from the gaps that remain.

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

Parameters2/5

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

Schema description coverage is 0% and the schema supplies only bare titles, so the description must compensate for all seven parameters. It explains only profile, model, and domain (with a JSON example for domain), leaving limit, offset, order, and fields entirely undocumented anywhere.

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: 'Odoo search_read: list records matching domain.' That is clear enough to know it performs a domain-based record search, but it does nothing to distinguish itself from siblings such as odoo_search, odoo_read, or odoo_name_search.

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?

Provides one useful prerequisite: 'profile ... Use odoo_list_profiles first.' Beyond that, it gives no guidance on when to use this combined search+read versus odoo_search, odoo_read, or odoo_read_group, leaving the agent to infer the choice from names alone.

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