Skip to main content
Glama

Host Disk Usage

host_disk_usage

Retrieve disk usage and inode details for mounted filesystems to diagnose capacity or inode exhaustion and plan storage fixes.

Instructions

Return disk usage and inode information for mounted filesystems.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "host_disk_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and 'Return ... information' plus 'mounted filesystems' implies a read-only report with no mutation. However, it never states whether elevated privileges are required to see all mounts, whether container or network filesystems are included, or any cost/latency characteristics.

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 filler, sized appropriately for a zero-argument reporting tool. It is efficient but leaves no room for the caveats noted in other dimensions.

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?

Return values are covered by the existing output schema and the parameters are empty, so the core contract is documented elsewhere. What is missing is operational context — privilege requirements, scope of filesystems covered, and when this tool is the right one to call — which matters for an agent assembling a disk-health diagnosis.

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

Parameters4/5

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

The tool takes no parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The phrase 'for mounted filesystems' usefully scopes the operation to all mounts, which is the only semantic detail available.

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?

States a specific verb ('Return') and a precise resource ('disk usage and inode information for mounted filesystems'), which cleanly separates it from the other host_* tooling about CPU, memory, and network interfaces. It stops short of explicitly naming a sibling it contrasts with, so it lands at 4 rather than 5.

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 guidance, no exclusions, and no pointer to related diagnostic tools such as host_cpu_memory or infrastructure_report. The agent is left to infer that this belongs in a disk-capacity diagnostic path purely from the tool name.

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