Skip to main content
Glama
Swild000

hardened-ssh-mcp

by Swild000

run-ssh-command

Run one shell command on a pre-configured remote server via SSH, but only after explicit user approval. Use preview mode to review before executing.

Instructions

Run exactly one command over SSH on the fixed target ubuntu@203.0.113.10 and nothing else. This tool cannot reach any other host, cannot run local commands, and cannot touch the local filesystem directly - the only thing it can ever do is relay one command over SSH to that one account on that one machine, which is fixed by whoever deployed this server, not something you (the model) can choose. Standing rule: always show the user the exact command in chat and get their explicit go-ahead BEFORE calling this tool. Call it with confirmed=false (or omit confirmed) to preview what would run without executing anything. Only call it with confirmed=true after the user has approved this specific command in this specific turn - never assume consent from an earlier, different command.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesThe exact shell command to run on the remote host, over SSH.
confirmedNoMust be explicitly set to true to actually execute. Leave false/omit to preview the command without running it. Only set true after the user has seen this exact command and approved it in chat.
Behavior5/5

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

With no annotations, the description fully discloses behavioral constraints: fixed target, no access to other hosts or local filesystem, and a confirmation workflow that requires explicit per-turn consent. It even warns against assuming consent from an earlier command, which is valuable behavioral context.

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 somewhat lengthy but front-loaded with the core purpose. The 'Standing rule' segment clearly organizes usage guidance. Every sentence adds important information, though some repetition exists (e.g., 'nothing else' and 'only thing it can ever do').

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is comprehensive for a tool with no output schema and a fixed target: it covers capabilities, constraints, execution safety, and user consent protocol. It fully prepares an agent to use the tool correctly without needing additional external context.

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 coverage is 100% so baseline is 3. The description adds meaningful nuance beyond the schema by explaining the confirmed parameter's workflow: preview with confirmed=false, execute only after user approval in the specific turn. This enhances understanding of how the parameters interplay.

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 states the tool's exact function: 'Run exactly one command over SSH on the fixed target ubuntu@203.0.113.10 and nothing else.' It clearly defines the verb, resource, and scope, and explicitly distinguishes itself from hypothetical alternatives by noting it cannot reach other hosts or run local commands.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides an explicit standing rule: always show the user the exact command, get explicit go-ahead before calling, and use confirmed=false to preview. It also clarifies when not to use the tool (e.g., for local commands) by stating the tool cannot do those things.

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/Swild000/hardened-ssh-mcp'

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