Skip to main content
Glama

List sandboxes

list_sandboxes
Read-only

List your sandboxes, running and sleeping: ID, name, template, state, when a running one expires or falls asleep, and since when a sleeping one sleeps and how much disk it keeps; the current one is marked. Use it to find a sandbox from an earlier chat. To continue in a named sandbox, create a sandbox with the same name – the existing one is reused and woken up.

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": "list_sandboxes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
currentYesID of the current sandbox of this session (empty if none).
sandboxesYesYour sandboxes, running and sleeping.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / sandboxes / items / properties / delete_at
      Added value: +{
      +  "description": "Sleeping sandbox: when it is deleted with its files unless it is used again (RFC 3339, UTC).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / sandboxes / items / properties / keep_days
      Added value: +{
      +  "description": "Days the sandbox is kept after falling asleep, if set (otherwise your plan's default).",
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this a read-only, closed-world, non-destructive operation, so the main added value is the non-obvious wake/reuse semantics of create_sandbox against an existing name, and the "current one is marked" indicator. The enumeration of returned fields is partly redundant with the output schema, but the reuse behaviour is exactly the kind of context annotations cannot supply.

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?

Two sentences, front-loaded with the verb and the returned-field inventory, then the use case and the create-alternative. The first sentence is semicolon-heavy and dense but not padded; every clause carries usable information.

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?

For a zero-parameter list tool with an output schema and full annotation coverage, there is little else the agent needs – scope ("your sandboxes"), contents, and the follow-up path are all present. The only remaining omission would be ordering or size limits, which are minor.

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 has zero parameters, so no parameter semantics are required to invoke it; the description correctly implies no filtering options exist. Baseline 4 applies since nothing needs to be compensated for.

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 names a concrete verb and resource ("List your sandboxes, running and sleeping") and enumerates exactly what each row contains: ID, name, template, state, expiry/sleep timing, disk usage, and a current-sandbox marker. Because it also explains that named sandboxes are reused by create_sandbox, an agent can distinguish it from the mutation siblings without opening the schema.

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?

It gives a clear use case ("Use it to find a sandbox from an earlier chat") and explicitly names an alternative behaviour ("create a sandbox with the same name – the existing one is reused and woken up"). It doesn't state when not to use it, but the routing to a reshaped create_sandbox is explicit.

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.

Resources