Skip to main content
Glama
safe-ssh-mcp

safe-ssh-mcp

by Areso

get_mount_problems

Read-only

Checks fstab against mounted filesystems over SSH to flag unmounted entries, read-only mounts, disabled swap, and boot-time failures caused by missing disks or read-only filesystems.

Instructions

fstab against what is mounted: entries not mounted, read-only, swap off, or that would fail on the next boot. For a missing disk, a failed reboot or 'Read-only file system'. Values that look like secrets are redacted.

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

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.3.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true, which the description is consistent with, and it adds useful context beyond them: what classes of problems are detected and that secret-looking values are redacted. However, it says nothing about the SSH connection requirements implied by key_path, password_env, and accept_new_hostkey=false, which materially affect whether the call succeeds. That is a notable omission for a remote-host inspection 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 compact sentences with no filler, and the diagnostic scope is front-loaded before the symptom examples. The first sentence reads as a telegraphic fragment, which slightly slows parsing but wastes no words.

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-value explanation is rightly omitted, and the read-only safety profile is covered by annotations. The remaining gap is the seven undocumented connection parameters on a tool that reaches a remote host, which leaves an agent guessing about auth and host-key behavior.

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?

Seven parameters with 0% schema description coverage, and the description adds no meaning for any of them. The authentication and connection parameters (key_path, password_env, accept_new_hostkey, timeout) are especially opaque and would benefit from a single clarifying sentence. The description does not compensate for the coverage 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?

The description names a specific resource (fstab vs. actual mount state) and enumerates the exact conditions it reports: entries not mounted, read-only, swap off, or likely to fail on next boot. That distinguishes it from the sibling get_fstab, which plainly reads the file rather than diffing it against reality. The verb is implied rather than stated ('fstab against what is mounted'), which keeps it just short of a 5.

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

Usage Guidelines4/5

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

It gives concrete symptom-based triggers — a missing disk, a failed reboot, or a 'Read-only file system' error — which is exactly the kind of when-to-use signal an agent needs. It does not name an alternative tool or state when not to use this one, so it falls short of explicit routing guidance.

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