Skip to main content
Glama

Get disk health

omv_get_disk_health
Read-only

Checks one disk's SMART health — overall status, temperature, attributes, and self-test log — and flags failures or bad sectors in plain sentences so you can tell if /dev/sda is failing.

Instructions

One disk's SMART picture: overall status, temperature, identity block, attributes, and self-test log. Use it when asked "is /dev/sda failing?", "show the SMART data for this disk", or "did the self-test pass?"; to find the device names, omv_list_disks. device must be a disk omv_list_disks lists; anything else is refused. concerns says in plain sentences what looks wrong (a non-GOOD overall status, a failed attribute, a nonzero reallocated, pending, or uncorrectable sector count, a failed self-test) and is empty when nothing does; start there. When SMART is not available for the disk (its information says so, or it has no attributes and monitoring is off, as on a virtual disk), smart_unavailable is true and notes says so: that is a note, not a concern, and smart_status (often BAD_STATUS then) is OMV's raw word for it and no verdict, so do not call the disk failing. attributes are the SMART table: value is normalized (higher is better, compare with threshold) and raw is the vendor's number. self_tests lists the disk's own tests, most recent first. A disk SMART cannot read (some USB bridges) answers with what it could and a note for each part that failed. Reading only: this never starts a self-test.

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": {
      "device": "<device>"
    },
    "name": "omv_get_disk_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYesThe disk's device file as omv_list_disks gives it, for example /dev/sda; sda also works.

Output Schema

NameRequiredDescriptionDefault
sizeNo
modelNo
notesNo
deviceYes
concernsYes
attributesYes
self_testsYes
informationNo
smart_statusNo
temperature_cNo
information_textNo
smart_unavailableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only cover read-only and closed-world, but the description adds substantial behavior: the concerns field summarizes anomalies in plain sentences and should be read first, smart_unavailable is a note rather than a failure verdict (with a warning not to misread smart_status BAD_STATUS as a verdict), attributes distinguish normalized value from vendor raw, self_tests are most-recent-first, partial results are returned when SMART is unreadable via USB bridges, and it explicitly states 'this never starts a self-test.'

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?

Front-loaded correctly with purpose first, then usage, then field semantics, then the read-only guarantee. It is dense and somewhat run-on, with a few restated points (the smart_unavailable clarification is explained twice), which costs a point but the content is largely load-bearing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool whose output is a structured SMART payload, the description covers interpretation of every field an agent might misread (concerns, smart_status, attributes, self_tests) plus degraded-read behavior and the no-side-effect guarantee. Nothing needed to call or interpret it is missing.

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

Parameters5/5

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

Schema coverage is already 100% and documents the device string, yet the description still adds meaning: the value must come from omv_list_disks or it is refused, and the short form 'sda' is accepted alongside '/dev/sda'. That goes beyond the schema's example.

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?

Opens with a specific verb+resource framing: 'One disk's SMART picture: overall status, temperature, identity block, attributes, and self-test log.' That enumerates exactly what the tool returns and clearly separates it from omv_list_disks, which is named as the device-name lookup.

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

Usage Guidelines5/5

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

Gives concrete triggering questions ('is /dev/sda failing?', 'show the SMART data for this disk', 'did the self-test pass?') and routes the agent to omv_list_disks to obtain valid device names. It also states an explicit precondition with a refusal behavior: 'device must be a disk omv_list_disks lists; anything else is refused.'

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