Skip to main content
Glama

List terminal sessions

shell_list
Read-onlyIdempotent

List terminal sessions. The VM's open terminals. Each one keeps running when nobody is attached.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
vmIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact — sessions persist while detached ("Each one keeps running when nobody is attached") — but says nothing about what is returned per session (IDs, state, attach info) despite there being no output schema.

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?

Three short sentences, front-loaded with the action, with no filler. The second sentence mildly restates the first, but the brevity is appropriate for a simple list operation.

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?

For a simple read-only list tool, annotations carry the risk profile, but the description omits both the undocumented vmId parameter and any indication of the returned session shape, which matters since no output schema exists.

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?

Schema description coverage is 0%, so the schema only names vmId as a string with no explanation of what it identifies or its format. The description's phrase "The VM's open terminals" only weakly implies vmId selects the VM, leaving the parameter effectively undocumented in both places.

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 ("List terminal sessions") and narrows scope to "The VM's open terminals," so an agent knows it enumerates sessions rather than executing or deleting them. It does not explicitly contrast with the sibling shell_delete, but the read-only listing intent is unambiguous.

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 gives no when-to-use guidance, no prerequisite that a vmId must be supplied, and no mention of what to do if no sessions exist or how this relates to other shell tools. Usage is only inferable from the title and the single required parameter.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.