Skip to main content
Glama
safe-ssh-mcp

safe-ssh-mcp

by Areso

get_process_executable_files

Read-only

List executable and shared library files for processes on a remote host to identify library users and which processes need a restart after upgrades.

Instructions

The executable and libraries of every process, with their packages: who loads a library, and who needs a restart after an upgrade ('deleted'). Open files: get_open_files.

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

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. Addedv0.4.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, so safety is covered; the description earns credit for disclosing a non-obvious output semantic — the 'deleted' marker meaning a library was removed by an upgrade and the process needs a restart. It does not mention result volume or performance (enumerating every process's libraries is heavy) or the SSH/auth requirements implied by the parameters.

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?

Short and front-loaded, with no filler, which is good. However, the phrasing is fragmented ('The executable and libraries of every process, with their packages: who loads a library...') and the colon-separated clauses read as notes rather than a structured statement, costing some clarity for the space saved.

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, and readOnlyHint covers the safety profile. Still, for a tool requiring host and user over SSH with five more optional connection parameters, the description leaves the invocation contract entirely to the schema, which itself has zero parameter documentation.

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 mentions none of them — host, port, user, timeout, key_path, password_env, accept_new_hostkey are entirely undocumented. An agent cannot tell from the definition how authentication is expected (key_path vs password_env) or what timeout governs. This is a substantial gap for an SSH-backed tool.

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?

Specific resource and scope: 'the executable and libraries of every process, with their packages', plus the added semantic layer of who loads a library and who needs a restart. It is distinguishable from get_open_files, which it explicitly names. The only weakness is the absence of a leading verb, making the sentence fragment slightly harder to parse on first read.

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?

Gives a concrete use case ('who needs a restart after an upgrade') and an explicit redirect to get_open_files for open-file questions, which is the right pattern for sibling disambiguation. There are no explicit exclusions or prerequisites, and other process-related alternatives (e.g. get_process_info) are not contrasted.

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