Skip to main content
Glama
solutionsunity

OdooSurface MCP

get_available_actions

Retrieve visible buttons and actions for a specific Odoo record based on its current field values, evaluating conditional visibility expressions to return only available options.

Instructions

Return the buttons and actions that are actually visible for a specific record right now, based on its current field values. Mirrors what the Odoo web client shows when a user opens the form view. invisible expressions are evaluated deterministically via field extraction and a targeted read of only the fields each expression references. Returns {visible_buttons[], server_actions[], reports[], can_create, can_write, can_delete}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
action_idNo
record_idYes
Behavior5/5

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

With no annotations, the description fully discloses behavior: it evaluates invisible expressions deterministically, reads only necessary fields, and returns a structured response. There is no contradiction.

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?

The description is concise with two sentences. It front-loads the purpose and adds internal logic details. Slightly verbose but still efficient.

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?

Given no output schema, the description fully defines the return structure. It explains internal mechanics (field extraction, deterministic evaluation) and covers key aspects for an agent to understand usage.

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 description coverage is 0%, yet the description does not add semantics for parameters. It fails to explain the 'action_id' parameter and provides no format or constraints beyond the schema's basic types.

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 that the tool returns visible buttons and actions for a specific record based on its current field values. It distinguishes itself from siblings like 'get_model_actions' by emphasizing record-level visibility matching the Odoo web client form view.

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 implies usage when needing to see record-level available actions, mirroring the form view. It does not explicitly mention when not to use or provide alternatives, but the context is clear.

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/solutionsunity/odoo-surface-mcp'

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