Skip to main content
Glama
safe-ssh-mcp

safe-ssh-mcp

by Areso

get_iostat

Read-only

Collects per-disk I/O statistics over sampled intervals to show read/write rates, await, and utilization, helping pinpoint a saturated disk.

Instructions

Per-disk I/O over samples x interval seconds (iostat -x): r/s, w/s, await, %util. Finds the saturated disk.

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": {
      "host": "<host>",
      "user": "<user>"
    },
    "name": "get_iostat"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYes
portNo
userYes
samplesNo
timeoutNo
intervalNo
key_pathNo
password_envNo
accept_new_hostkeyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.0
    • removedInput schema / properties / password
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null
      -}
    • addedInput schema / properties / password_env
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. Changed1 schema field changedv0.3.3
    • changedInput schema / properties / timeout / default
      Previous value: -20New value: +60
  3. Addedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

The description adds real value beyond the readOnlyHint annotation by naming the underlying command (`iostat -x`) and the exact metric set, so an agent knows what kind of data comes back. It says nothing about SSH/auth requirements, timeout behavior, or what happens on an unreachable host — relevant for a remote-collection tool with eight connection-related parameters.

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?

Two tight sentences, front-loaded with the scope-defining phrase and ending with the actionable conclusion. No filler; a short additional clause on auth/timeout would not have hurt.

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?

An output schema exists, so return values need not be explained. But with 9 parameters at 0% schema coverage and no annotation beyond readOnlyHint, an agent gets no guidance on authentication (password_env vs key_path vs accept_new_hostkey) or timeout semantics — material gaps for a remote-SSH tool.

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

Parameters2/5

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

Schema description coverage is 0% across 9 parameters, so the description must carry the load. It explains the samples x interval relationship (total measurement window), which is genuinely additive, but leaves host, port, user, key_path, password_env, accept_new_hostkey, and timeout completely uninterpreted.

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+resource: per-disk I/O sampling equivalent to `iostat -x`, and enumerates the metrics (r/s, w/s, await, %util). It is clearly distinct from capacity-oriented siblings like get_disk_free/get_disk_usage, though it does not name them explicitly.

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

Usage Guidelines3/5

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

'Finds the saturated disk' implies a diagnostic use case, which is useful context. However, there is no explicit when-to-use vs. when-not guidance and no named alternative tools for overlapping disk diagnostics.

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