Skip to main content
Glama

get_disks

Read-onlyIdempotent

Inventory physical disks and partitions, report space, activity, throughput, IOPS, latency, queue, temperature, and health/SMART status, and optionally trace process and file I/O per disk.

Instructions

Disks: every physical disk with its partitions (type, file system, where mounted, space) and volumes, activity, throughput, IOPS, response time, queue and temperature, and its health as the drive reports it (an NVMe drive's health log, a SATA drive's SMART data): a verdict with its reasons, wear used, hours, power cycles, unsafe shutdowns, data written, and the errors that mean it is failing; a sleeping drive is not woken to ask. With trace_seconds > 0, also which processes read and write each disk and which files, from a disk I/O trace.

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": "get_disks"
  }
}

Input Schema

NameRequiredDescriptionDefault
trace_secondsNoSeconds to trace before answering (0 to 30, default 0): turns on the trace that tells who uses the resource, which costs some CPU while it runs and stops by itself afterwards.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, idempotent, closed-world, so the safety profile is covered; the description nonetheless adds valuable behavior: a sleeping drive is not woken to answer, and tracing costs CPU while it runs and self-terminates. Those are exactly the side-effect details annotations cannot carry. It loses a point only because it says nothing about output size or latency for a full inventory scan.

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

Conciseness3/5

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

It is front-loaded correctly, opening with the resource before the optional trace clause. But the body is one long run-on with semicolons chaining a dozen return fields, which makes it harder to scan than a short bulleted structure would be.

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 carries the burden of explaining returns and does so thoroughly, including the health-verdict fields and the trace's extra output. It is close to complete for a one-parameter tool. Minor gaps remain around result volume and whether non-physical or virtual disks appear.

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% and the schema already explains the 0-30 second range, default of 0, and CPU cost, so the baseline is 3. The description does add meaning beyond the schema by stating what the trace actually yields (per-disk processes and files from a disk I/O trace), which the parameter description does not say. That addition is useful but narrow, so it does not push past the baseline.

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 the resource and its contents precisely: every physical disk with partitions (type, file system, mount point, space), volumes, throughput, IOPS, queue, temperature, and per-drive health detail (NVMe health log vs SATA SMART). That is far more specific than the name alone. It stops short of a 5 because it never distinguishes this from the obvious sibling get_disk_usage or get_hardware, so an agent must still infer which disk tool to pick.

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 explicit statement of when to use this tool, when not to, or which alternative to pick. Routing is only implied by the content emphasis on health and I/O activity rather than capacity. With get_disk_usage sitting right next to it as a sibling, the absence of any disambiguation is a real gap.

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