odooGetModelFields

Explora los campos disponibles de cualquier modelo Odoo (fields_get). Esencial para conocer la estructura de un modelo antes de hacer un search_read. Retorna nombre, tipo, label y si es requerido para cada campo. Ejemplo: model="product.category" para ver qué campos tiene. Ejemplo: model="stock.l...

Server Olivia @facusrod/olivia-mcp-server
Category Read
Risk class Low
Parameters 21 required

What odooGetModelFields does on Olivia

AI agents call odooGetModelFields to retrieve information from Olivia without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
model string Yes Nombre del modelo Odoo (ej: "product.template", "product.category", "stock.lot", "res.partner")
attributes array Atributos de campo a retornar (default: ["string","type","required"]). Otros útiles: "help", "selection", "relation", "readonly"

Parameters from the server's own tool schema.

Why odooGetModelFields needs a policy

This is a read-only metadata discovery tool that retrieves schema information about Odoo models without modifying any data. It has no side effects and serves only to query structural information. The blast radius is minimal since it cannot create, modify, delete, or execute operations—it only returns field definitions for informational purposes.

From the tool's definition The tool description explicitly states it "Explora los campos disponibles" (explores available fields) and "Retorna nombre, tipo, label y si es requerido para cada campo" (returns name, type, label and whether required for each field).

Questions about odooGetModelFields

What does the odooGetModelFields tool do? +

Explora los campos disponibles de cualquier modelo Odoo (fields_get). Esencial para conocer la estructura de un modelo antes de hacer un search_read. Retorna nombre, tipo, label y si es requerido para cada campo. Ejemplo: model="product.category" para ver qué campos tiene. Ejemplo: model="stock.lot" para descubrir campos de vencimiento (expiration_date, use_date, etc.). Usar SIEMPRE antes de consultar un modelo desconocido. It is categorised as a Read tool in the Olivia MCP Server, which means it retrieves data without modifying state.

What parameters does odooGetModelFields accept? +

odooGetModelFields accepts 2 parameters: model, attributes. Required: model. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on odooGetModelFields? +

Register the Olivia MCP server in PolicyLayer and add a rule for odooGetModelFields: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Olivia. Nothing to install.

What risk level is odooGetModelFields? +

odooGetModelFields is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit odooGetModelFields? +

Yes. Add a rate_limit block to the odooGetModelFields rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block odooGetModelFields completely? +

Set action: deny in the PolicyLayer policy for odooGetModelFields. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides odooGetModelFields? +

odooGetModelFields is provided by the Olivia MCP server (@facusrod/olivia-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.