Skip to main content
Glama

Share a saved snapshot

create_snapshot_share

Generate a one-time secret code to share a saved snapshot so any Boat account can create a sandbox from it. Re-saving the snapshot changes what the code deploys; removing its name revokes all codes.

Instructions

Share a saved snapshot. Make a secret code that lets any Boat account create a sandbox from this saved snapshot (boat snapshot share <name> in the CLI). The response shows the code once; Boat stores only a hash. Re-saving the name changes what the code deploys. Removing the name removes its codes. Everything on the disk is shared, so do not keep secrets in files on it. Needs snapshot.write.

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

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false) by disclosing that the code is shown only once and stored as a hash, that the operation is effectively non-idempotent (re-saving mutates deployment), and that it requires the snapshot.write permission. The warning that everything on disk is shared and secrets must not be stored there is exactly the kind of safety context annotations cannot convey.

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?

Front-loaded with purpose, then consequences, then permission requirement. Every sentence adds information, though the density of clauses (re-save semantics, removal semantics, secret warning, permission) makes it slightly crowded for one paragraph.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter mutation with no output schema, the definition covers what is produced (a one-time code), what is persisted (a hash), how the resource is mutated or destroyed, the security caveat, and the required permission. Nothing an agent needs to invoke it safely is missing.

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 single 'name' parameter has 0% schema description coverage, so the description must carry the load. It does explain that the name is what governs deployment ('Re-saving the name changes what the code deploys. Removing the name removes its codes.'), implicitly identifying it as the saved snapshot's name, though it never states the format or whether it must already exist.

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?

Uses a specific verb and resource ('Share a saved snapshot') and immediately explains the mechanism: minting a secret code that lets any Boat account create a sandbox from the snapshot. This clearly separates it from revoke_snapshot_share and share_sandbox without needing to open either 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?

Gives strong contextual guidance on lifecycle: re-saving the name changes what the code deploys, removing the name removes its codes. It does not explicitly name revoke_snapshot_share as the revoke alternative, so an agent must infer the pairing, but the operational context is clear.

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