Skip to main content
Glama
BambuStudio-MCP

BambuStudio-MCP

restore_preset

Destructive

Preview or apply an exact preset backup with a revision guard; real restores back up current contents first.

Instructions

Preview/restore exact backup bytes with a current revision guard. Actual restores back up current contents.

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": {
      "target": "<target>",
      "kind": "<kind>",
      "name": "<name>",
      "backup_id": "<backup_id>",
      "expected_revision": "<expected_revision>"
    },
    "name": "restore_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
nameYes
targetYes
dry_runNo
backup_idYes
expected_revisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: restores are gated on a current revision, and an actual restore first backs up existing contents, meaning the destructive action is partially recoverable. It stops short of saying where that backup lands or what happens on a revision mismatch.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the core verb and the safety-critical guard, with zero filler. Every clause carries information an agent needs before invoking a destructive operation.

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 destructive mutation with no output schema and a 5-required-parameter signature, the description covers the two riskiest aspects: the revision precondition and the pre-restore backup. It is somewhat under-specified on what a dry run reports and on the identity parameters, but the critical decision-relevant facts are present.

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 0% across six parameters, so the description carries the full burden. It indirectly explains three of them: 'Preview' maps to dry_run, 'current revision guard' maps to expected_revision, and 'exact backup bytes' maps to backup_id. The meaning of target, kind, and name is left entirely undocumented in both the schema and the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'preview/restore' and the notion of 'exact backup bytes' convey a restore-from-backup operation, and 'current revision guard' hints at the concurrency check. However, the description never names the resource (preset) and gives no basis for telling it apart from siblings such as restore_revision or apply_preset, so an agent must infer which restore path this is.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no named alternative. The only implied guidance is the preview-versus-actual distinction carried by the phrase 'Preview/restore', which an agent must map onto the dry_run parameter itself rather than being told directly.

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