Skip to main content
Glama
solutionsunity

OdooSurface MCP

get_fields

Return metadata for all fields visible in a specified Odoo model's form or list view, including name, type, required, readonly, and relations.

Instructions

Return metadata for all fields visible in a model's form or list view. view_type: "form" (default) or "list". Returns [{name, string, type, required, readonly, relation?, selection?}].

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
view_typeNoform
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the tool returns field metadata and specifies the output structure, but it does not mention any read-only behavior, required permissions, or potential side effects. The transparency is adequate but minimal.

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 extremely concise: two sentences with no fluff. The first sentence states the purpose and scope, the second adds parameter details and return format. It is front-loaded and every word is necessary.

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?

Given no output schema, the description provides a clear picture of the return structure (list of objects with specific keys). It covers both parameters adequately. Minor improvement would be to note any ordering or limits, but it is nearly complete for a straightforward metadata 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?

Schema description coverage is 0%, so the description must compensate. It explains the 'model' parameter implicitly by context, and explicitly describes 'view_type' with valid values and default. It adds value beyond the raw schema by explaining the return structure.

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's function: returning metadata for all fields visible in a model's form or list view. It specifies the key parameter (view_type) and the return format, distinguishing it from siblings like get_model_actions which deal with actions rather than 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 using this tool when you need field metadata for a specific view type, but it does not explicitly state when to avoid it, mention prerequisites, or compare with alternatives such as get_model_interface. This leaves room for ambiguity.

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