Skip to main content
Glama

shell_list

Lists open shell sessions with IDs, hosts, and open/closed status so you can find and reuse session IDs; an empty list means no sessions are open.

Instructions

List open shell sessions (id, host, open/closed) so ids can be found and reused; an empty list honestly means none are open.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "shell_list"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a fair job: it is implicitly read-only ('List'), discloses the return fields, and preempts the common agent misread by stating an empty list 'honestly means none are open'. It omits any mention of permissions or whether output is paginated/sorted, keeping it short of a 5.

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?

A single sentence, front-loaded with the action and resource, then the return fields, then the usage rationale. Every clause adds information and nothing is repeated from structured fields.

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?

There is no output schema, and the description compensates by naming the fields returned (id, host, open/closed) plus the empty-result semantics. The only incompleteness is the unresolved question of whether closed sessions are ever included and in what order results arrive.

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

Parameters4/5

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

The tool takes zero parameters, so there is no parameter semantics to add; schema coverage is 100% and there is nothing an agent could get wrong on input. Baseline for a no-param tool.

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?

Uses a specific verb+resource ('List open shell sessions') and even enumerates the returned fields (id, host, open/closed), which clearly separates it from shell_open/shell_close/shell_run. Minor ambiguity: it says 'open shell sessions' yet advertises an 'open/closed' status field, leaving it unclear whether closed sessions are also returned.

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?

States the practical purpose explicitly: 'so ids can be found and reused', which tells an agent to call this before shell_run/shell_close to obtain an id. It does not name alternatives or exclusions, but no sibling provides equivalent listing behavior, so the guidance is effectively complete for its role.

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