Skip to main content
Glama
tuanle96

Odoo MCP Server

generate_json2_payload

Read-onlyIdempotent

Build a preview of a JSON-2 request payload for Odoo without making a network call. Specify model and method to generate the request structure.

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
Behavior3/5

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

Annotations already indicate readOnlyHint=true and idempotentHint=true. The description adds that it is a preview without network access, which reinforces the safe, non-destructive nature. However, it does not disclose any additional behaviors like potential formatting or limitations.

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, well-front-loaded sentence with all critical information at the beginning. No extraneous words or repetition.

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?

The tool has 7 parameters and an output schema, but the description ignores both. It does not explain what constitutes a 'JSON-2 request preview' or what the returned payload looks like, leaving the agent underinformed.

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?

Despite 0% schema description coverage, the description adds zero information about the 7 parameters. Terms like 'model', 'method', 'base_url' are left unexplained, so the agent must infer from names alone.

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 specifies the verb 'Build' and the object 'JSON-2 request preview', and adds the key qualifier 'without network access', distinguishing it from sibling tools like 'diagnose_odoo_call' which likely involve actual network calls.

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 provides no guidance on when to use this tool versus alternatives (e.g., diagnose_odoo_call or execute_method). It lacks any mention of use cases, prerequisites, or exclusions.

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