Skip to main content
Glama
moinugare19

ssh-client-mcp

by moinugare19

ssh_sudo_exec

Execute commands with sudo privileges on a remote server via an existing SSH session. Provide the sudo password if required by the server.

Instructions

Execute a command with sudo privileges on the remote server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesSSH session ID from ssh_connect
commandYesCommand to execute with sudo
sudoPasswordNoSudo password (if required by server)
timeoutNoCommand timeout in milliseconds
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only states 'execute a command with sudo privileges' without disclosing behavioral traits such as dependency on a valid session, potential need for sudo password, side effects, or timeouts beyond the schema field.

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?

A single, clear sentence with no unnecessary words or repetition, earning its place by being concise and informative.

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 a tool with 4 parameters and no output schema, the description is too brief. It omits important context like the need for a prior SSH connection (sessionId), prerequisite steps, expected behavior, and potential side effects, leaving an agent underinformed.

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?

Schema coverage is 100% so baseline is 3. The description adds no additional meaning beyond what the schema already provides, such as explaining the relationship between sessionId and previous steps or when sudoPassword is required.

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?

The description clearly states the verb 'execute' and the resource 'command with sudo privileges on the remote server', effectively distinguishing it from sibling tools like `ssh_exec` which executes without sudo.

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?

The description implies use when sudo privileges are needed, but does not explicitly state when not to use it or mention the sibling `ssh_exec` as an alternative for non-sudo commands.

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