Skip to main content
Glama
Odoo MCP Server

Odoo MCP Server

by ajmalj

Search Models

search_models

Search installed Odoo models by optional name pattern and return matching model names and descriptions to identify models for further ERP operations.

Instructions

Search for installed Odoo models. Returns model names and descriptions.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of models to return (default: 50)
name_patternNoOptional pattern to filter model names (e.g., 'res.partner', 'sale')

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden, and it discloses the meaningful scope constraint that only installed models are searched. It adds nothing about ordering, whether matching is substring or exact, or that results are capped at a default of 50 — behavioral gaps that matter for a search tool.

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?

Two short sentences with the purpose front-loaded and zero filler. The second sentence partly duplicates what the output schema already conveys, which is the only minor waste.

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?

A simple two-parameter read tool with full schema coverage and an output schema, so return-value and parameter detail need not be in the description. The remaining shortfall is the absence of any guidance tying it to the record-level siblings it precedes.

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%, so both parameters (limit, name_pattern) are already documented in the schema with defaults and an example. The description adds no interpretation beyond that, so the baseline 3 applies.

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 ('Search for installed Odoo models') and clarifies scope as metadata discovery rather than record data, which implicitly separates it from search_records. It stops short of naming any sibling explicitly, so it earns a 4 rather than a 5.

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?

Usage is only implied: an agent can infer this is the discovery step for finding model names before calling record tools. There is no explicit when-to-use statement, no mention of when to prefer list_fields or search_records, and no prerequisites or exclusions.

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