Skip to main content
Glama
odoo-readonly

odoo-readonly

by arisnew

odoo_fields_get

Retrieve field metadata for a specified Odoo model on a selected server profile to discover field names, types, and attributes before reading records.

Instructions

Field metadata for a model on the selected Odoo server.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "model": "<model>"
    },
    "name": "odoo_fields_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYes
fieldsNo
profileNo
attributesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and delivers almost none of it: no statement that this is a read-only metadata operation, no auth/permission requirements, no note about which server/session 'selected' refers to. Only the phrase 'on the selected Odoo server' hints at execution context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no wasted words, which is good, but the brevity comes from under-specification rather than economy. The important qualifier (server selection) trails at the end of a fragment.

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?

Output schema exists so return values need not be explained, and the core purpose is stated. However, given four undocumented parameters and zero annotations, the description leaves meaningful gaps an agent must guess at.

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% and all four parameters (model, fields, profile, attributes) are bare titles in the schema. The description only vaguely gestures at 'model'; it never explains what 'fields', 'profile', or 'attributes' filter or format, so an agent cannot tell how to scope the call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource precisely ('Field metadata for a model') and ties it to a server context, but it is a bare noun phrase with no verb, so the operation (retrieve/describe) is only implied. It gives no hint of how it differs from sibling read operations such as odoo_read or odoo_search_read.

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?

There is no when-to-use guidance, no prerequisites, and no mention of any alternative among the many siblings. An agent must infer entirely on its own that this is a metadata/schema-introspection call rather than a data read.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.