Skip to main content
Glama

ssh_execute

Execute commands on remote systems over SSH. Provide a session ID and command to run, with optional timeout.

Instructions

Execute a command on a remote system via SSH

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesCommand to execute
timeoutNoTimeout in seconds (optional)
sessionIdYesSession ID
Behavior2/5

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

With no annotations provided, the description carries the full burden for behavioral disclosure. It only states the core function without revealing potential side effects, session requirements, timeout behavior, or output format. For a tool that can execute arbitrary commands, this is a significant transparency gap.

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?

The description is a single sentence with no filler words, making it concise and front-loaded. However, it is so brief that it borders on under-specification, which slightly reduces its effectiveness.

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?

The tool lacks both annotations and an output schema, and the description only covers the basic action. It fails to mention prerequisites (session management), the tool's place among sibling tools, or the potential impact of executing commands, making it incomplete for safe and correct use.

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

Parameters3/5

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

The input schema has 100% parameter description coverage, so the baseline is 3. The description itself adds no additional parameter semantics beyond what the schema already provides, but it doesn't need to compensate.

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 clearly states the action ('Execute a command') and target ('remote system via SSH'), which distinguishes it from sibling tools like ssh_connect or sftp_upload. However, it doesn't explicitly mention that it requires an existing session, which is a key aspect of its purpose.

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?

The description provides no guidance on when to use this tool versus alternatives, nor does it mention prerequisites like establishing a session with ssh_connect first. It also doesn't clarify that this is for running commands rather than transferring files, which is implied but not stated.

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/XNet-NGO/ssh-mcp-server'

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