Skip to main content
Glama
AdvaMCP for Odoo

AdvaMCP for Odoo

odoo_browse

odoo_browse
Read-onlyIdempotent

Read Odoo model records like a list screen: fetch rows, counts, grouped totals, field definitions, or one record with chatter for inspection and reporting.

Instructions

Read a model the way its list screen does: rows, a count, or groups with totals, plus on request its field definitions and one record with its chatter. Examples: rows {"model": "sale.order", "domain": [["state", "=", "sale"]], "fields": ["name", "amount_total"]}; count only {"limit": 0}; totals {"groupby": ["user_id", "date_order:month"], "aggregates": ["amount_total:sum"]}; fields {"describe": true, "limit": 0}; a record and its messages {"record": 42, "thread": true, "limit": 0}.

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

Input Schema

NameRequiredDescriptionDefault
urlNoAn Odoo link the user pasted (e.g. .../odoo/sales/42 or .../odoo/action-123): opens that record, or that menu's list with its filter. Instead of or with model.
limitNoRows or groups to return. 0: only the count.
modelNoTechnical model name, e.g. "sale.order".
domainNoOdoo domain, e.g. [["state", "=", "sale"]]. Empty: all records.
fieldsNoFields of the rows (and of the record). Empty: the stored fields.
offsetNoRows or groups to skip.
recordNoAdd this record (by id) with the given fields.
threadNoWith record: add its recent chatter messages.
groupbyNoGroup by these fields; dates may use :day/:week/:month/:quarter/:year. Returns groups instead of rows.
orderbyNoe.g. "date_order desc" or, with groupby, "amount_total:sum desc".
describeNoAdd the fields you can read and filter by.
aggregatesNoWith groupby: "field:sum|avg|min|max|count|count_distinct". The record count of each group always comes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is fully covered by structured data. The description adds genuine behavioral context beyond that: limit 0 returns only a count, groupby returns groups instead of rows, describe adds field definitions, and thread adds chatter. It does not describe pagination semantics, size limits, or error behavior for the open-world Odoo backend.

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?

Front-loaded purpose sentence followed by compact JSON-style examples, so an agent can pattern-match quickly. It is dense with many examples and sacrifices a little readability, but nearly every clause carries distinct information rather than restating the name.

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?

For a 12-parameter, mode-switching read tool with no output schema, the description covers all the major modes and their combinations and notes that group counts always come back. Remaining gaps are modest: the concrete shape of returned rows, pagination behavior beyond offset, and error handling on invalid models or domains are not addressed.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter semantics the schema does not: thread only matters "with record", aggregates only apply "with groupby", and url can be used "instead of or with model". These composition rules are the real value and go beyond the per-parameter docs.

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?

Opens with a concrete verb+resource plus the mental model ("Read a model the way its list screen does") and enumerates the distinct output modes: rows, count, groups with totals, field definitions, and a record with chatter. This clearly separates it from the sibling mutations (odoo_create, odoo_write) and from chatter/model-listing tools without needing to name them.

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 worked examples act as concrete when-to-use guidance for each mode: filtering rows with a domain, count via limit 0, totals via groupby+aggregates, schema inspection via describe, and thread retrieval via record+thread. It stops short of explicit exclusions, such as directing the caller to a sibling for writes or diagnosing failures, and never names an alternative.

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