Skip to main content
Glama

list_sessions

List tmux sessions on a remote SSH host by alias. Retrieve running session names to manage or attach to them via the SSH MCP server.

Instructions

Elenca le sessioni tmux di un host.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aliasYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
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 behavioral burden. 'Elenca' implies a read-only listing, but the description says nothing about permissions, behavior when the host is unreachable or tmux is absent, or whether results are paginated.

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?

A single short sentence with no filler, front-loading the verb and resource. It is efficient, though its brevity is partly a symptom of under-specification rather than deliberate tightness.

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?

An output schema exists, so return values need not be explained. Still, for a tool in a large sibling set, the description omits the host-alias semantics, failure modes, and the distinction from list_sessions_all that an agent needs to choose correctly.

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

Parameters2/5

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

The single required parameter 'alias' has 0% schema description coverage, and the description only obliquely implies it identifies the host ('di un host'). It does not state the expected alias format or where aliases come from (e.g., list_hosts).

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?

States a specific verb and resource ('Elenca le sessioni tmux di un host'), which is clearer than a tautology. However, it does not distinguish itself from the closely named sibling list_sessions_all, leaving the agent to infer the difference.

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 when-to-use guidance, no mention of prerequisites such as the host needing to be reachable or tmux present, and no reference to alternatives like list_sessions_all or session_details.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.