Skip to main content
Glama
BambuStudio-MCP

BambuStudio-MCP

update_preset

Destructive

Preview or apply changes to an existing user preset only when its content revision matches, saving an exact backup before any real update.

Instructions

Preview/update an existing user preset with a matching content revision. Actual updates first save an exact backup.

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>",
      "changes": "<changes>",
      "expected_revision": "<expected_revision>"
    },
    "name": "update_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
nameYes
targetYes
changesYes
dry_runNo
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, and the description adds genuinely new context: real updates first save an exact backup, which materially changes the risk calculus, and the preview path is signalled up front. It does not say what happens if expected_revision mismatches or how to recover via restore_preset, so it is not fully transparent.

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, front-loaded with the preview-vs-commit distinction and zero filler. The slash construction 'Preview/update' is slightly ambiguous but the backup clause earns its space.

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

Completeness2/5

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

With 6 parameters including a free-form nested changes object, no output schema, and destructive semantics, the description should explain what changes accepts and what a mismatch on expected_revision returns. It covers only the backup behavior, leaving most of what an agent needs to invoke it correctly undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 6 parameters, and the description only gestures at two of them ('content revision' for expected_revision, 'Preview' for dry_run). The meaning and accepted values of target, kind, name, and the nested changes object are unexplained in both schema and description, which is a serious gap for a mutation tool.

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 pairing and resource: preview or update an existing user preset, gated on a matching content revision. It is clear what the tool operates on, but it never contrasts itself with apply_preset, restore_preset, or restore_revision, which an agent must choose between.

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 'Preview/update' framing combined with a dry_run parameter defaulting to true implies a two-phase workflow, and 'with a matching content revision' hints at the concurrency precondition. However, it never says explicitly when to use this versus apply_preset or when-not to use it, leaving selection to inference.

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