Skip to main content
Glama

Update a Setup Snapshot

update_setup_snapshot
Destructive

Replaces the title, summary and whole item list of a setup snapshot the user owns; omitted items are removed. The id stays the same and the revision increments, so grants pinned to it keep working. visibility and source cannot be changed here. Items follow the same rules and privacy scan as publish_setup_snapshot (responses stay compacted under 50,000 chars via acknowledgeableUniqueTerms and acknowledgeableGroups when large); a refused update leaves the previous revision intact. dryRun: true checks without saving. get_reference topic "snapshot_guide" documents the item types for every platform. Ids come from list_my_snapshots; the current items and revision from get_my_setup_snapshot. [Bearer scope: setup_snapshot:publish]

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>",
      "title": "<title>",
      "summary": "<summary>"
    },
    "name": "update_setup_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNo
titleYes
dryRunNoWhen true, runs the full content scan and coverage report and returns privacyWarnings and acknowledgeable without saving anything (no revision bump or audit entry).
summaryYes
snapshotIdYesSetupSnapshot.id to update — see list_my_snapshots.
platformsDetectedNoPlatform name → true; up to 64 keys, counting the items' platforms.
exportableAtomRefsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say destructive=true and non-idempotent; the description adds the material details: omitted items are removed, id is stable and revision increments so pinned grants keep working, a refused update leaves the previous revision intact, large responses are compacted under 50,000 chars with acknowledgeableUniqueTerms/Groups, and dryRun skips the revision bump and audit entry.

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 mutation semantics and dense with useful facts, but it is a single long semicolon-chained paragraph where the dryRun and permission details are buried mid-sentence. Minor restructuring would improve scanability without cutting content.

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 destructive, non-idempotent mutation with 7 params, nested item objects, and no output schema, the definition covers everything an agent needs: inputs provenance, item validation rules, refusal behavior, response compaction and acknowledgement flow, and the required bearer scope.

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?

Schema coverage is 43% across 7 params, so the description must compensate and largely does: it explains items semantics (same rules and privacy scan as publish_setup_snapshot), snapshotId provenance, and the exact behavior of dryRun beyond the schema's own wording. However, platformsDetected and exportableAtomRefs remain undocumented in both description and schema, leaving a gap.

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?

States a specific verb and resource — 'Replaces the title, summary and whole item list of a setup snapshot the user owns' — and immediately clarifies what is and is not mutable (visibility and source cannot be changed here), which separates it from publish_setup_snapshot and update_playbook_* siblings.

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

Usage Guidelines5/5

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

Explicitly routes the agent: ids come from list_my_snapshots, current items and revision from get_my_setup_snapshot, and item-type rules from get_reference topic 'snapshot_guide'. It also gives the precondition (user-owned), the exclusion (visibility/source not changeable here), and a safe preview path via dryRun: true.

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