Skip to main content
Glama

Odoo instance modules

hodiploy_list_modules
Read-onlyIdempotent

Odoo modules of a database: counts by state, modules stuck in "to install", "to upgrade" or "to remove" (left by a failed or interrupted update, Odoo then behaves strangely), and with include_installed=true the installed modules with their version and author.

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": {
      "instance_id": "<instance_id>"
    },
    "name": "hodiploy_list_modules"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseNoOdoo database name. Optional when the instance has only one.
service_idNoHodiploy service id from hodiploy_list_instances. Optional when the user has a single Hodiploy service.
instance_idYesInstance id from hodiploy_list_instances.
include_installedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real domain behavior beyond that: leftover 'to install'/'to upgrade'/'to remove' states indicate a failed update and cause Odoo to misbehave, and include_installed switches the payload to version/author detail. Return shape, size, and whether counts are always computed remain unstated.

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 dense sentence that front-loads the resource and then the state counts before the flag-controlled mode. The parenthetical about failed updates is worth its words, though the sentence is long enough that a period or two would improve scanability.

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?

With no output schema, the description usefully previews what comes back (counts by state, stuck modules, installed modules with version and author), and annotations handle the safety profile. What is missing is volume/pagination expectations and whether counts are returned regardless of include_installed.

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 coverage is 75%, so most parameters are already documented, giving a baseline of 3. The description does clarify what include_installed=true actually yields (installed modules with version and author), which goes beyond the boolean's schema entry, but database, service_id and instance_id get no added meaning.

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 concrete resource and its contents: Odoo module counts by state, modules stuck in 'to install'/'to upgrade'/'to remove', and installed modules with version and author when include_installed=true. That is far more specific than a restatement of 'list modules', though it never explicitly contrasts itself with diagnostic siblings like hodiploy_get_database_health or hodiploy_get_crons.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is clear: the stuck-state clause tells the agent to reach for this tool after a failed or interrupted update that left the instance behaving strangely, and the include_installed flag marks the separate inventory mode. It stops short of explicit exclusions or naming an alternative tool for module diagnostics.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources