Skip to main content
Glama
tuanle96

Odoo MCP Server

generate_json2_payload

Read-onlyIdempotent

Construct JSON-2 request payloads for Odoo models without network access. Specify model, method, arguments, and preview the request before sending.

Instructions

Build a JSON-2 request preview without network access

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
methodYes
argsNo
kwargsNo
base_urlNo
databaseNo
include_database_headerNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already state readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds 'without network access', which clarifies the non-network behavioral trait. No contradiction with annotations. The description gives additional context about how the tool operates.

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 a single sentence that conveys the essential purpose with no filler. Every word serves a purpose, and it is front-loaded with the key action.

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 tool has 7 parameters and an output schema, the description is too minimal. It doesn't mention the output, parameters, or any constraints. Despite annotations, the description leaves significant gaps for correct invocation.

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

Parameters1/5

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

Schema coverage is 0% (no parameter descriptions). The description does not explain any of the 7 parameters (model, method, args, etc.) or how they influence the generated payload. Since coverage is very low, the description should compensate, but it provides zero parameter semantics.

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 'Build a JSON-2 request preview without network access' uses a specific verb ('Build') and resource ('JSON-2 request preview'), and adds a clear condition ('without network access'). It effectively distinguishes from sibling tools like 'execute_method' (which runs the request) or 'preview_write' (which may have different purpose).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description only implies offline use via 'without network access' but provides no explicit guidance on when to use this tool versus alternatives like 'execute_method' or 'preview_write'. No exclusions or context about prerequisites are given.

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

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