Skip to main content
Glama

get_logs

Fetch Odoo server logs to diagnose issues or track application behavior. Specify log type and number of lines.

Instructions

Get Odoo logs from the server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linesNoNumber of log lines to retrieve (default: 100)
log_typeNoType of log to retrieveodoo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether logs are read-only, where they come from, whether they are streamed or static, or what happens if a log type is unavailable. For a server-diagnostics tool the safety profile and return shape are left entirely to inference.

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

Conciseness4/5

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

A single front-loaded sentence with zero padding. It is efficient, though the extreme brevity leaves no room for the context an agent would need.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read tool whose schema is fully documented, the description is minimally sufficient. It is missing any statement of return format (raw text lines vs. structured entries) and any note about log availability, which would help an agent interpret results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the schema documents both 'lines' (with default 100) and 'log_type' (with an enum of odoo/install/pip). The description adds no meaning beyond that, so the baseline of 3 is appropriate.

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

Purpose4/5

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

The description names a specific verb (Get), resource (Odoo logs) and source (from the server), so the purpose is immediately clear. However, it offers no differentiation from siblings such as get_system_info or get_build_history, which an agent might weigh when choosing a diagnostics tool.

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 guidance on when to use this tool versus alternatives, nor any stated prerequisites (e.g., server must be running, permissions required). The agent must infer usage entirely from the name.

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