Skip to main content
Glama
safe-ssh-mcp

safe-ssh-mcp

by Areso

get_vmstat

Read-only

Collect a four-second vmstat sample over SSH to inspect run queue, swapping, I/O wait, and CPU usage split for diagnosing remote system performance.

Instructions

vmstat over 4 seconds: run queue, swapping, I/O wait, CPU split. The first line is since boot.

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_vmstat"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYes
portNo
userYes
timeoutNo
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.2.0

TDQS

C2.9/5.0
Behavior3/5

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

readOnlyHint=true is consistent with a read-only metrics collection, and the description usefully adds that sampling covers 4 seconds and that the first line aggregates since boot – real behavioral context beyond the annotations. It says nothing about SSH credential requirements, failure modes, or host reachability, which matters for a remote-collection tool.

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 command and scope, with the boot-line caveat placed where it is needed. Nothing is wasted, but the terseness comes at the cost of omitting necessary operational detail.

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

Completeness2/5

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

An output schema covers return values, so that need is met. However, for a tool requiring host and user plus five optional connection parameters with zero schema descriptions, the definition leaves authentication, connection setup, and timeout behavior entirely undocumented – a substantial gap at this complexity.

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 7 parameters, and the description mentions none of them – not host/user, not port, timeout, key_path, password_env, or accept_new_hostkey. An agent cannot learn from the description how authentication or timeouts are supplied, so it fails to compensate for the schema gap.

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 command (vmstat) and enumerates what it reports: run queue, swapping, I/O wait, and CPU split. That is concrete enough to separate it from neighbors like get_free_memory or get_iostat, though it never names those alternatives explicitly.

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 or when-not-to-use guidance; the description only says what data is collected. An agent must infer on its own whether this or get_iostat / get_cpu_info / get_free_memory is the right diagnostic for a given symptom.

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