Skip to main content
Glama
safe-ssh-mcp

safe-ssh-mcp

by Areso

get_libc_version

Read-only

Retrieves a remote host's C library (glibc or musl) and distro package version over SSH, helping diagnose compatibility and dependency issues.

Instructions

C library and version (glibc or musl), with its distro package version.

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

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

TDQS

C2.4/5.0
Behavior2/5

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

The readOnlyHint annotation already covers the safety profile, so the bar is lower, but the description adds almost nothing beyond the return value: it does not disclose that this runs against a remote host, requires authentication via key_path or password_env, or respects a timeout. For a tool whose parameters imply remote execution, that omission is material.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single compact fragment with no filler, and the resource is front-loaded. But brevity here comes from under-specification rather than efficiency — the sentence is a noun phrase that cannot carry the missing operational context.

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 described. Still, a seven-parameter, credential-bearing remote-execution tool needs at least a mention of connection and auth expectations, and the description supplies none of that.

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 seven parameters, and the description entirely fails to compensate. Nothing explains host, user, port, timeout, key_path, password_env, or accept_new_hostkey, so the agent learns nothing about authentication or connection semantics from prose.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment names a specific resource — the C library (glibc or musl) and its version plus distro package version — so an agent can tell it apart from siblings like get_distroname_version or get_kernel_version. However, it omits any verb and never states that the lookup is performed on a remote host over SSH, leaving the action implicit.

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 guidance, no mention of prerequisites (SSH access, credentials), and no reference to alternatives such as get_distroname_version or get_installed_packages. The agent must infer everything about selection from the tool name alone.

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