Skip to main content
Glama
odoo-readonly

odoo-readonly

by arisnew

odoo_search

Search Odoo records by model and domain, returning matching record IDs for read-only inspection and follow-up data reads.

Instructions

Return record ids only (search).

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
modelYes
orderNo
domainNo[]
offsetNo
profileNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.1/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, and it discloses only that ids rather than full records are returned. It says nothing about authentication/profile selection, whether domain is a JSON-encoded Odoo domain string, how limit/offset/order affect results, or what happens with an empty domain.

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

Conciseness2/5

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

The single sentence is short but not concise in the useful sense — it is under-specified for a six-parameter tool. There is no wasted clause, but that is because almost nothing was said.

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?

An output schema exists so return values need not be explained, and the ids-only behavior is correctly highlighted. But for a six-parameter search tool with zero schema descriptions and no annotations, the description leaves out the domain-string format, pagination behavior, and how it relates to sibling read/count tools.

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

Parameters1/5

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

Schema description coverage is 0% across six parameters, and the description adds no meaning for any of them — model, domain, limit, offset, order, and profile are all left as bare string/integer titles. The only hint, that records are not returned, concerns output rather than parameter semantics.

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

Purpose3/5

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

The description does state the key distinguishing behavior — that only record ids come back — which separates it from odoo_search_read, but the verb is a generic "Return" rather than "search records in an Odoo model matching a domain," and the parenthetical "(search)" adds no information. An agent can guess it performs a search, but the object of the search (a model with a domain filter) is never stated.

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 when to prefer a read variant, and no alternatives named despite siblings like odoo_search_read and odoo_search_count existing. The only implied routing signal is "ids only," which the agent must infer means a two-phase id-then-read workflow.

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