Skip to main content
Glama

ai_pipeline_run

Execute Odoo-defined pipeline steps in sequence, dispatching MCP-native steps locally and others via RPC, with error handling and per-step state updates.

Instructions

Execute an Odoo-defined pipeline (ai.pipeline.step records for the given pipeline name, ordered by sequence). Respects skill_id + trigger_domain + on_error. MCP-native steps (model starts with 'mcp') are dispatched to the local registry; other steps are invoked via RPC on the configured Odoo model.method. Writes back last_run_state/message per step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionNodefault
pipelineYesPipeline name as defined in Odoo (tokenize, post, refresh, ...).
source_modelYesOdoo model of the triggering record (e.g. account.move).
source_idYes
tenant_codeNo
tenant_tierNobusiness
extra_ctxNoAdditional key/value pairs merged into the runtime context.
update_step_statsNoWrite last_run_state/message back to ai.pipeline.step.
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It describes dispatching logic and state writing but does not disclose potential side effects, authentication requirements, or error behavior, which are critical for a multi-step execution tool.

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 three sentences, front-loaded with the main purpose, and each sentence provides meaningful information about the tool's behavior without redundancy.

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

Completeness2/5

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

Given the complexity (8 parameters, no output schema, no annotations), the description omits details on parameter usage, return value, and error handling, making it incomplete for an agent to use effectively.

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

Parameters2/5

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

Schema coverage is 50%, but the description only adds minimal context for the pipeline parameter and update_step_stats. Parameters like connection, source_model, source_id, tenant_code, tenant_tier, and extra_ctx are not explained, leaving the agent without guidance on their use.

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 executes an Odoo-defined pipeline, explains the step ordering, and distinguishes from similar tools like ai_pipeline_step_execute by detailing the orchestration logic.

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 for executing a full pipeline but lacks explicit guidance on when to use this tool over alternatives like ai_pipeline_step_execute or ai_invoice_pipeline_run, and no when-not-to-use instructions.

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/rosenvladimirov/odoo-claude-mcp'

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