Skip to main content
Glama
odoo-readonly

odoo-readonly

by arisnew

odoo_name_search

Search Odoo records by display name to resolve many2one labels and retrieve matching IDs or records for a given model and optional domain.

Instructions

Odoo name_search (label search for many2one, etc.).

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

Input Schema

NameRequiredDescriptionDefault
nameNo
limitNo
modelYes
domainNo[]
profileNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden, and it discloses nothing: no statement of read-only nature, no default limit behavior, no result ordering, no pagination. The single parenthetical is a purpose hint, not behavioral disclosure.

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?

It is short and front-loaded, but the brevity is under-specification rather than economy: one fragment in parentheses is all the agent gets for a five-parameter tool. There is nothing to trim because almost nothing was said.

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

Completeness1/5

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

For a five-parameter tool with zero annotation coverage and zero schema description coverage, the definition is far too thin. An output schema exists so return values need not be explained, but model/domain/limit/profile semantics and the read-only nature of the call are all absent.

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 five parameters including 'domain', 'limit', and 'profile', and the description mentions none of them. Critical details such as 'domain' being a string-encoded Odoo domain (default "[]") and what 'profile' selects are left entirely undocumented.

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 parenthetical 'label search for many2one, etc.' does add real domain meaning beyond the bare tool name, telling an agent this implements Odoo's name_search autocomplete/label lookup. However, there is no explicit verb+resource phrasing and nothing distinguishes it from sibling lookup tools such as odoo_search or odoo_search_read.

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?

No when-to-use or when-not-to-use guidance is given, and no alternative is named. An agent must infer that this is the many2one label resolution path rather than the general record search path, which is exactly the distinction it needs.

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