Skip to main content
Glama
bemade
by bemade

method_overrides

Identify all modules that override a specific Odoo method, listed in MRO order with source locations.

Instructions

Get all modules that override a method, in MRO order, with source locations.

Args: project_path: Path to the Odoo project root model_name: Dotted model name, e.g. 'sale.order' method_name: Method name, e.g. '_compute_tax_totals' addons_paths: Optional explicit addons paths (auto-detected if omitted) exclude_modules: Optional list of module names to skip loading

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_nameYes
method_nameYes
addons_pathsNo
project_pathYes
exclude_modulesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the transparency burden. It discloses the return structure (modules in MRO order with source locations) and key behaviors like auto-detection of addons paths and the ability to exclude modules. It does not mention error conditions or performance, but for a read-only tool this is sufficient.

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?

The description is concise: a single clear sentence followed by a structured list of parameters. There is no redundancy or fluff.

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

Completeness5/5

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

With an output schema present and a clear parameter list, the description provides all necessary context: what it returns, how to specify inputs, and optional behaviors. It is complete for this tool.

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

Parameters5/5

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

Schema description coverage is 0%, but the description's Args section explains every parameter, including examples for model_name and method_name, and clarifies optionality for addons_paths and exclude_modules. This fully compensates for the schema's lack of descriptions.

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

Purpose5/5

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

The description clearly states the tool's function with a specific verb ('Get') and resource ('all modules that override a method'), and adds distinct details ('in MRO order, with source locations') that differentiate it from siblings focused on models/fields.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context: it is for finding method overrides in an Odoo project. It does not explicitly mention alternatives or exclusions, but the purpose is unambiguous enough to guide when to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bemade/odoo-model-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server