Skip to main content
Glama

Permanently delete snapshot data

delete_snapshot
DestructiveIdempotent

Permanently deletes an unpinned snapshot owned by the authenticated account, removing it from lists, restores, and forks and purging its stored data in the background.

Instructions

Permanently delete snapshot data. Accept irreversible deletion of an unpinned snapshot owned by the authenticated account. Any such snapshot is accepted: it disappears from lists, restores and forks immediately, and its stored data is purged in the background once nothing still reads it (see the operation's stage). 409 only means X-Ascii-Confirm-Delete is missing or wrong.

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

Input Schema

NameRequiredDescriptionDefault
snapshotIdYesSnapshot id returned by the snapshot list/latest calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations (which already flag destructiveHint and idempotentHint), the description discloses concrete consequences: the snapshot vanishes from lists, restores and forks immediately, while stored data is purged in the background once nothing still reads it. It also explains that the operation carries a `stage` field and that a 409 specifically indicates a missing or wrong X-Ascii-Confirm-Delete header rather than a resource problem — information nowhere in the structured fields.

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 the action, then dense but purposeful follow-up sentences with no filler. The phrasing 'Accept irreversible deletion of an unpinned snapshot' is policy-register and slightly awkward, but every sentence carries new 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 one-parameter destructive tool with no output schema, it covers consequences, asynchrony (background purge), the returned `stage` concept, and error meaning — an unusually complete picture. The remaining gap is that the required X-Ascii-Confirm-Delete header is only implied through the 409 note, not stated as a call requirement.

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 coverage is 100% and the single parameter is fully documented in the schema as a UUID returned by list/latest calls. The description adds the eligibility constraint on which snapshot ids are accepted, which is modest added meaning but not syntax or format detail.

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 ('Permanently delete snapshot data') and narrows scope to 'an unpinned snapshot owned by the authenticated account'. It does not distinguish itself from siblings like delete_saved_snapshot or delete_sandbox_snapshots, so an agent still has to infer which delete 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 Guidelines3/5

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

The precondition (unpinned, owned by the authenticated account) implicitly defines when this call will succeed, and 'Any such snapshot is accepted' signals there is no further eligibility check. However, no alternative tool is named and there is no explicit when-not guidance, leaving the choice against delete_saved_snapshot unresolved.

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