Skip to main content
Glama

Odoo MCP by bancada

Count records

odoo_search_count
Read-only

Counts the records of an Odoo model that match a domain, without returning them. Returns JSON with model and count.

Input Schema

NameRequiredDescriptionDefault
modelYesOdoo model technical name.
domainNoOdoo search domain. Empty counts all records.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"Dominio de búsqueda."New value: +"Odoo search domain. Empty counts all records."
    • changedInput schema / properties / model / description
      Previous value: -"Modelo Odoo."New value: +"Odoo model technical name."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds that no records are returned and that the response contains model and count, but the latter is largely duplicated by the existing output schema, so added behavioral value is modest.

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?

Two short sentences with zero padding, and the non-returning behavior is front-loaded where an agent will see it first.

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?

With annotations, a full output schema, and 100% schema description coverage, the description supplies enough for correct invocation. A brief note on domain syntax or typical use against odoo_search_read would close the remaining gap.

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 coverage is 100% and the schema itself explains that an empty domain counts all records. The description adds no domain syntax or filtering semantics beyond what the schema already provides, so 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 ('Counts the records of an Odoo model that match a domain') with the key modifier 'without returning them', which implicitly separates it from odoo_search_read. It stops short of naming a sibling, so differentiation is inferred rather than explicit.

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?

'Without returning them' implies the use case (need a number, not the records) but there is no explicit when-to-use/when-not statement or named alternative such as odoo_search_read versus odoo_search_count. Usage is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources