Skip to main content
Glama

storage_disk_usage

Get total, used, and available disk space for any directory or mount point, helping you monitor storage capacity.

Instructions

Get total, used, and available disk usage for a storage path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoMount or directory path./

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. 'Get' and the listed metrics clearly indicate a read-only query with no mutation. It does not discuss error cases or permission needs, but for a simple disk-usage lookup the description is sufficiently transparent.

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

Conciseness5/5

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

The description is a single, well-structured sentence that immediately states the operation and the metrics returned. There is no filler, repetition, or unnecessary detail.

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?

For a simple tool with one optional parameter, the description plus schema is mostly complete. It identifies the return values conceptually and the schema handles the path definition. It could slightly improve by stating units or emphasizing that the path must be a mount/directory, but nothing critical is missing.

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 100%: the single 'path' parameter is already described as a 'Mount or directory path' with a default of '/'. The description's 'storage path' adds little beyond the schema, so the baseline score of 3 is appropriate.

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

Purpose5/5

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

The description uses a specific verb ('Get') and identifies the exact resource and metrics ('total, used, and available disk usage') for a storage path. This clearly distinguishes it from siblings like storage_list_mounts or file_stat, which have different purposes.

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?

The description gives no guidance on when to use this tool instead of alternatives, nor does it mention prerequisites, exclusions, or related tools. The intended use case is only implied by the tool name and description.

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