Skip to main content
Glama
cygnussystems

cygnus-ssh-mcp

Official

ssh_cmd_history

Retrieve command execution history from remote SSH sessions, with options to filter by pattern, limit entries, and include output snippets.

Instructions

Retrieve command execution history with optional output snippets.

Returns: List of dictionaries containing command history, ordered from oldest to newest by default. Each entry contains: - id: Command handle ID - command: Executed command - exit_code: Exit status - start_time: Execution start timestamp - end_time: Execution end timestamp - output: Command output snippet (if include_output=True)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of history entries to return
include_outputNoInclude command output snippets
output_linesNoNumber of output lines to include (0 for none)
reverseNoReturn in reverse order (newest first)
patternNoFilter commands containing this pattern

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses return format (list of dicts with fields), ordering (oldest to newest by default), and the effect of include_output/output_lines. However, it omits potential side effects, rate limits, or authentication needs.

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 relatively concise (2 sentences plus a bullet list) and front-loaded. The bullet list of return fields is clear, though slightly verbose.

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 5 parameters and an output schema present, the description covers return format but does not mention necessary preconditions (e.g., active SSH connection) or limitations. Sibling tools indicate connection requirements are handled elsewhere.

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% (all 5 parameters have descriptions). The description adds context for the return format and interaction between include_output and output_lines, but does not add individual parameter meaning beyond the schema.

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 clearly states the tool retrieves command execution history with optional output snippets, distinguishing it from siblings like ssh_cmd_run or ssh_cmd_output that execute or show output for specific commands.

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

Usage Guidelines3/5

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

No explicit guidance on when to use this tool vs alternatives such as ssh_cmd_check_status or ssh_cmd_output. Usage is implied by the name and description, but no when-not or prerequisite (e.g., connection required) is mentioned.

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/cygnussystems/cygnus-ssh-mcp'

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