Skip to main content
Glama

Get latest boat snapshot

get_latest_sandbox_snapshot
Read-onlyIdempotent

Retrieve the current completed snapshot for a sandbox to inspect or restore its state; returns null when none exists.

Instructions

Get latest boat snapshot. Return the most recent completed snapshot for this sandbox, or null if it has none.

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": {
      "sandboxId": "<sandboxId>"
    },
    "name": "get_latest_sandbox_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
sandboxIdYesPublic Sandbox id returned by create/list/get sandbox calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, and non-destructive, so safety is covered. The description adds genuinely new behavioral context: it filters to *completed* snapshots (partial/in-progress ones are excluded) and specifies a `null` result when none exists, which matters for null-handling by the caller.

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 short sentences, with the substantive clarification (most recent completed, or null) placed immediately after the summary. The opening sentence largely restates the tool name and title, including the odd 'boat' wording, so a small amount of space is not earning its place.

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 single-parameter read tool with no output schema, the description covers the essential contract: which snapshot is returned and what happens when there is none. It stops short of describing what a snapshot object contains, but that is a reasonable boundary given the tool's simplicity.

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?

There is only one parameter and schema coverage is 100%, with the schema documenting the sandboxId format and its origin from create/list/get sandbox calls. The description adds no further semantics about the identifier, so the schema does all the work and the baseline of 3 applies.

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?

The description names a specific verb and resource (get latest snapshot) and sharpens it with 'most recent completed snapshot for this sandbox', which tells an agent this is a single-item getter rather than a listing tool like list_sandbox_snapshots. It does not name any sibling explicitly, and the 'boat' wording in the first sentence is an unclear artifact of the title, but the second sentence removes the ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'most recent completed' suggests calling this when you want the current snapshot rather than a specific saved one, but the description never states when to prefer it over get_saved_snapshot or list_sandbox_snapshots. No prerequisites or exclusions are given.

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