Skip to main content
Glama
safe-ssh-mcp

safe-ssh-mcp

by Areso

get_mounts

Read-only

Retrieve mounted filesystems with their types and options over SSH to inspect remote storage configuration.

Instructions

Mounted filesystems with type and options (findmnt). Free space: get_disk_free.

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

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

B3.1/5.0
Behavior3/5

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

The readOnlyHint=true annotation already establishes this as a safe read, so the description's burden is reduced. It adds the useful detail that the data mirrors findmnt output (type and options), but says nothing about the SSH connection model, authentication, timeouts, or host-key acceptance behavior. With annotations covering the safety profile, this is adequate but thin.

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 short, front-loaded clauses with zero filler; the primary purpose comes first and the sibling pointer second. The telegraphic style is efficient, though it borders on under-specification rather than conciseness.

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 exists, so return values need not be explained, which offsets some complexity. However, for a 7-parameter tool with 0% schema coverage and no annotations beyond readOnlyHint, the description leaves the entire connection and authentication surface undocumented — an agent cannot tell how to supply credentials or whether host-key acceptance is needed.

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

Parameters1/5

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

Schema description coverage is 0% across 7 parameters, so the description carries the full explanatory burden and adds none of it. Nothing is said about host, user, port, timeout, key_path, password_env, or accept_new_hostkey, and the security-relevant parameters (credential source and host-key policy) are the ones most in need of explanation.

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 resource ('Mounted filesystems with type and options') and grounds it in the underlying command (findmnt), which tells an agent exactly what data comes back. It distinguishes itself from get_disk_free explicitly, though it does not differentiate from other storage-adjacent siblings such as get_fstab or get_disk_usage.

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?

Names an alternative (get_disk_free) together with the condition that selects it ('Free space:'), which is genuine routing guidance rather than implied usage. It lacks any when-not guidance or prerequisites (e.g., that an SSH-reachable host is required), which keeps it out of 5 territory.

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