Skip to main content
Glama
moinugare19

ssh-client-mcp

by moinugare19

ssh_exec

Run commands on a remote server over SSH and capture full output including errors and exit codes.

Instructions

Execute a command on the remote server via SSH. Returns stdout, stderr, and exit code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesSSH session ID from ssh_connect
commandYesCommand to execute on the remote server
timeoutNoCommand timeout in milliseconds
Behavior2/5

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

No annotations provided, so description must disclose behavior. It mentions outputs but omits critical traits: commands can be destructive, no readOnlyHint, no mention of side effects or security restrictions.

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

Conciseness5/5

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

Two short sentences: first defines purpose, second defines outputs. No fluff, front-loaded with key information.

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?

For an exec tool with no output schema and no annotations, the description is too sparse. Missing usage context, error handling, relation to sibling sesstools (ssh_sudo_exec), and safety warnings. Incomplete for a potentially destructive operation.

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

Parameters4/5

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

Schema has 100% parameter description coverage. The description adds value by stating return format (stdout, stderr, exit code) which is not in schema. This elevates it slightly above baseline 3.

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

Purpose5/5

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

Description clearly states verb 'Execute' and resource 'command on remote server via SSH', with output detail (stdout, stderr, exit code). Sibling 'ssh_sudo_exec' is distinct, so this is well-differentiated.

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?

Description does not specify when to use this tool (e.g., need an active session from ssh_connect) or when alternatives like ssh_sudo_exec are appropriate. No guidance on prerequisites or context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/moinugare19/ssh-client-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server