Skip to main content
Glama
raghavharness

remote-shell-mcp

remote_session_check_prompt

Check if an SSH session is waiting for user input. Get prompt details and response instructions to continue.

Instructions

Check if a session is waiting for user input (password, confirmation, etc.).

Returns details about any detected prompt and how to respond.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdNoSession ID (defaults to active session)
Behavior3/5

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

With no annotations provided, the description carries the full burden. It tells the user the tool returns details about detected prompts and how to respond, which is useful. However, it does not disclose whether the check has side effects, whether it consumes the prompt, or what happens when no prompt is present.

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?

Two concise sentences, front-loaded with the main purpose and followed by return-value information. No wasted words or redundant details.

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

Completeness4/5

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

The tool is simple with one optional parameter, no output schema, and a clear purpose. The description adequately covers what the tool does and what it returns, though it could briefly mention behavior when no prompt is detected.

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 already fully describes the only parameter (sessionId) with a note about defaulting to the active session. The description adds no additional parameter-level meaning, so the baseline score of 3 applies.

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+resource combination: 'Check if a session is waiting for user input' and explicitly mentions password, confirmation, etc. This clearly distinguishes it from sibling tools like remote_session_status or remote_session_output by focusing on prompt detection.

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 the tool should be used to detect whether a session requires user interaction before responding. It provides clear context for when to use it, though it does not explicitly name alternative tools or state when not to use it.

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