Skip to main content
Glama
My Awesome MCP Server

My Awesome MCP Server

by fabiancasta

name_search

Read-only

Resolve a display name to an Odoo record ID by searching records by name; filter by model, domain, operator, and result limit.

Instructions

Find records by display name — the quick way to resolve a name to an id.

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

Input Schema

NameRequiredDescriptionDefault
nameNo
limitNoDefault 10
modelYesTechnical model name, e.g. 'res.partner'
domainNoOdoo search domain, e.g. [["customer_rank", ">", 0]]
operatorNoDefault 'ilike'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • addedInput schema / properties / domain / items
      Added value: +{}
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The read-only safety profile is already covered by annotations, so the description adds only that it matches by display name and resolves to an id. It does not disclose whether matching is partial by default, how multiple matches are returned, or how limit affects results, which would be useful behavioral context.

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?

It is a single front-loaded sentence with no filler. The purpose and intended outcome are stated immediately and nothing is redundant.

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

Completeness3/5

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

The tool has five parameters, no output schema, and read-only annotations. The description gives the core purpose but does not clarify return shape (single record vs list), matching behavior, or how it relates to search_records, leaving moderate gaps for an agent choosing and interpreting the call.

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 80%, with limit, model, domain, and operator already documented, so the baseline is 3. The description adds only that the 'name' parameter means display name and that the result is an id; it does not add syntax or behavioral detail beyond the schema.

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?

The description states a specific action and search key: find records by display name. It also frames the outcome as resolving a name to an id, which is distinct from generic searching. It does not explicitly contrast with sibling tools such as search_records, so it misses the top score.

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 'quick way to resolve a name to an id' implies when to use it, but there is no explicit guidance on when not to use it or which sibling (e.g. search_records) is the alternative for other criteria. Usage is reasonably inferable but not clearly routed.

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