Skip to main content
Glama

List snapshots

list_snapshots
Read-onlyIdempotent

Retrieve visible completed sandbox snapshots across all your sandboxes, excluding pinned, deletion-scheduled, and privacy-fenced ones, with cursor pagination to page through the complete history.

Instructions

List snapshots. List visible completed snapshots across all of your sandboxes using immutable ownership attribution. Pinned, deletion-scheduled, and privacy-fenced sandbox snapshots are omitted. Follow nextCursor through the complete history; there is no hidden 500-snapshot cap. An unknown query parameter is refused with 400 invalid_query, which names it.

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_snapshots"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort direction for cursor pagination.desc
limitNoMaximum items to return.
cursorNoOpaque pagination cursor returned as `pageInfo.nextCursor`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile needs no restating. The description earns credit for genuinely new behavior: no hidden 500-item cap, mandatory cursor follow-through, and a concrete error contract (`400 invalid_query` naming the offending parameter) that an agent can react to.

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?

Four short sentences, front-loaded with the operation and scope, then pagination guarantees, then the error contract. The opening 'List snapshots.' is a slightly redundant restatement of the title, but it functions as a header and nothing else is wasted.

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 read-only, three-parameter lister with no output schema, the description covers filtering rules, pagination guarantees, and failure behavior. It does not characterize returned snapshot fields, but with no output schema declared that is the main remaining gap and is tolerable for a listing tool.

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%, so sort, limit, and cursor are already fully documented. The description only echoes cursor usage via `nextCursor`, adding no format or interaction detail beyond the schema, making the baseline 3 appropriate.

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 plus a precise scope: visible, completed snapshots across all sandboxes, attributed to the caller. It implicitly separates itself from sibling listers like list_sandbox_snapshots and list_saved_snapshots through the 'all of your sandboxes' scope, but never names an alternative, so an agent must infer which lister to pick.

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?

Gives clear selection context by defining exactly what is in scope and what is excluded (pinned, deletion-scheduled, privacy-fenced snapshots are omitted), and instructs the agent to paginate via nextCursor. It stops short of stating when to prefer a sibling tool such as list_saved_snapshots or list_sandbox_snapshots.

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