Skip to main content
Glama
sgateway

s-gw MCP server

Request s-gw-Owned SSH Session

sgw_request_ssh_session

Request local approval to run an SSH command via s-gw's persistent ControlMaster session.

Instructions

Create a local approval request for an SSH command that s-gw will run over its own persistent ControlMaster session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo
portNo
handleYes
reasonNo
targetYes
injectEnvNo
timeoutMsNo
workingDirNo
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions 'local approval request', implying the tool does not execute the command immediately, but it does not disclose side effects, permissions needed, or post-creation steps. The behavioral disclosure is minimal.

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 single sentence is concise and free of fluff. However, it could be expanded slightly to improve clarity without losing conciseness.

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

Completeness1/5

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

Given the complexity (8 parameters, no output schema, no annotations), the description is severely incomplete. It does not explain the return value, approval flow, prerequisites (e.g., ControlMaster session), or parameter roles, leaving large gaps for the agent.

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

Parameters1/5

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

Schema description coverage is 0%, and the description adds no explanation of the 8 parameters (handle, target, args, etc.). For a tool with 0% coverage, the description must compensate, but it fails to provide any parameter context, leaving the agent to guess their meaning.

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 tool creates a local approval request for an SSH command, specifying it runs over s-gw's persistent ControlMaster session. However, it does not explicitly differentiate from the sibling tool sgw_request_execution, which may have a similar 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?

There is no guidance on when to use this tool versus alternatives like sgw_request_execution, nor any mention of prerequisites or context. The description implies SSH-specific usage but lacks explicit when-to-use or when-not-to-use instructions.

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/sgateway/s-gw'

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