Skip to main content
Glama

Odoo database health

hodiploy_get_database_health
Read-onlyIdempotent

Size of every database, the 15 biggest tables of each Odoo database (size, live and dead rows, last vacuum and analyze), tables where dead rows pile up (bloat), the filestore size per database and the disk space left on the 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": {
      "instance_id": "<instance_id>"
    },
    "name": "hodiploy_get_database_health"
  }
}

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. What the description adds beyond that is the shape of the result set (top-15 tables, dead/live rows, last vacuum and analyze, filestore, free disk), which is genuinely useful because no output schema exists. It does not disclose cost or scope caveats, such as whether it scans every database on the server and how expensive that is on a large instance.

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?

One sentence, front-loaded with the most important item (per-database size) and then ordered from tables to filestore to disk. Every clause describes a distinct output, so nothing is filler, but the fragmentary construction with no leading verb makes it read as a spec dump rather than a tool statement.

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 correctly carries the burden of explaining what comes back, and it does so in detail. Required versus optional parameter handling is fully covered by the schema. The remaining gap is routing: overlapping siblings like disk-usage, database-listing, and Postgres-config tools are not distinguished.

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 all three parameters (instance_id, database, service_id) are documented in the schema, including the 'optional when there is only one' fallbacks. The description adds nothing about these parameters. Baseline 3 applies when the schema already carries full parameter 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 enumerates a specific and distinctive payload: per-database size, the 15 biggest tables with live/dead rows and last vacuum/analyze, bloat tables, filestore size, and remaining disk. That is a clear resource picture that an agent can tell apart from config- or session-oriented siblings. It stops short of a 5 because it is written as a noun-phrase inventory with no explicit verb and never names what it is not (e.g., a plain database listing or disk-usage check).

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 statement, no prerequisite, and no exclusion. The description never says to prefer this over listing databases or checking disk usage, nor when disk/bloat data is not the right answer. The agent must infer the trigger entirely from the list of returned fields.

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