Skip to main content
Glama
raghavharness

remote-shell-mcp

remote_session_start

Start remote shell sessions with explicit parameters for SSH, cloud, or custom commands. Specify host, port, credentials, and auto-reconnect for precise control.

Instructions

Start a remote shell session with explicit parameters. Use for fine-grained control.

For most cases, prefer the shell tool which auto-detects remote commands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNoSSH hostname (for ssh)
portNoSSH port (default: 22)
zoneNoGCloud zone
methodYesConnection method
regionNoAWS region
vmNameNoAzure VM name
commandNoCustom command
projectNoGCloud project
instanceNoGCloud instance name
passwordNoSSH password
targetIdNoAWS SSM target ID
usernameNoSSH user (for ssh)
sessionNameNoFriendly session name
autoReconnectNoEnable auto-reconnect (default: true)
resourceGroupNoAzure resource group
privateKeyPathNoPath to SSH key
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 for behavioral disclosure. It only states that the tool starts a remote shell session, but does not mention authentication requirements, session lifecycle, side effects, or what the tool returns. Starting a session is a state-changing operation and the description leaves these aspects ambiguous.

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?

The description is two sentences long, front-loaded with the primary purpose, and the second sentence provides valuable alternative guidance. Every word earns its place without redundancy.

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?

With 16 parameters, no annotations, and no output schema, the description gives clear usage guidance but does not explain session-related outcomes (e.g., whether a session ID is returned), mutual exclusion of parameters by method, or how this fits with session management tools. Some gaps remain.

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 description coverage is 100%, so the schema already documents all 16 parameters. The description adds only the generic phrase 'with explicit parameters', which does not meaningfully enhance parameter understanding. Baseline 3 is appropriate.

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 uses a specific verb 'Start' with a clear resource 'remote shell session', and explicitly contrasts with the `shell` tool, distinguishing it from sibling tools. This makes the tool's purpose immediately obvious and distinct.

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 says 'Use for fine-grained control' and 'For most cases, prefer the `shell` tool which auto-detects remote commands', providing explicit when-to-use guidance and naming an alternative. This is clear and actionable.

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/raghavharness/remote-shell-mcp'

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