Skip to main content
Glama
raghavharness

remote-shell-mcp

remote_session_search

Search command history and output from persistent SSH sessions. Use regex, filters, and session targeting to quickly locate specific commands and results.

Instructions

Search through command history and output. Supports regex.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (default: 20)
queryYesSearch query
regexNoUse regex matching
sessionIdNoSession ID (optional)
caseSensitiveNoCase sensitive search
includeOutputNoSearch in command output too
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions 'Supports regex' but does not explain how regex is applied, what the result format is, whether pagination is used, or any limitations. It also doesn't clarify whether the search spans all sessions or only a specific one, despite having a sessionId parameter. This is minimal disclosure for a search tool.

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 extremely concise, consisting of two short sentences. It front-loads the core action and avoids unnecessary detail. Every word earns its place, making it highly efficient while still conveying the main purpose.

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?

Given the tool's complexity (6 parameters, 1 required, no output schema, no annotations), the description is incomplete. It provides only a basic function statement and regex support, but lacks usage guidance, behavioral details, and what the returned results look like. This is a significant gap for an agent to invoke it correctly, especially with many sibling tools.

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 schema has 100% parameter coverage with basic descriptions for each parameter, so the baseline is 3. The description adds a little extra context by mentioning 'command history and output' and 'regex,' which maps to the includeOutput and regex parameters, but it doesn't provide detailed semantics beyond the schema.

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's purpose: 'Search through command history and output.' This is a specific verb+resource combination that identifies what the tool does. However, it does not explicitly differentiate it from sibling tools like remote_session_history or remote_blocks_search, so it doesn't earn a 5.

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention any prerequisites, context for use, or contrasts with sibling tools like remote_session_history or remote_blocks_search. The only implied hint is that it searches history and output, but this is not explicit usage guidance.

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