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...
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
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.
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).
Attacks that exploit this kind of access
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.
odooGetModelFields accepts 2 parameters: model, attributes. Required: model. The full parameter table on this page comes from the server's own tool schema.
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.
odooGetModelFields is a Read tool with low risk. Read-only tools are generally safe to allow by default.
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.
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.
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.
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 →