Skip to main content
Glama
josefdc

mcp_odoo_fresh

by josefdc

buscar_producto

Find Odoo products by partial name match, regardless of case. Returns product ID, name, code, price, and available quantity for up to 5 matches.

Instructions

Busca productos en Odoo cuyos nombres coincidan (parcialmente, sin importar mayúsculas/minúsculas) con el nombre proporcionado. Devuelve ID, Nombre, Código, Precio, Cant. Disponible (máx 5).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nombre_productoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses partial matching, case-insensitivity, and a maximum of 5 results, which is useful. However, it does not mention read-only nature or error handling, though these are typical for search tools.

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 sentences with no fluff: the first states the purpose and matching rules, the second lists return fields and the result cap. Information is front-loaded and efficient.

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 simple one-parameter search with no output schema, the description covers the essential aspects: what it searches, how it matches, and what it returns. It does not specify empty-result behavior, but that is a minor gap for a search tool.

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?

The schema has no description for 'nombre_producto', so the description compensates by explaining the parameter's role as the name to match and how matching works (partial, case-insensitive). This adds meaning beyond the schema.

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 verb 'Busca' (searches), the resource 'productos en Odoo', and the matching criteria (partial, case-insensitive). It distinguishes from siblings like listar_productos by focusing on name-based search and explicitly lists returned fields.

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 description implies usage when a product name is known, but does not explicitly mention when not to use it or compare it to alternatives like listar_productos. The context is clear but lacks explicit routing guidance.

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