Skip to main content
Glama

apply_bulk_move

Destructive

Applies a confirmed previewed bookmark organization in one call, saves a single pre-change backup, creates folders and moves items, then refreshes the extension UI.

Instructions

Apply the entire previewed organization in one call only after presenting its complete folder hierarchy and moves and receiving the user’s explicit confirmation. If apply returns CONFLICT, the old plan is invalid: reread state, preview again using the same user preferences, show the full revised plan and ask for confirmation again. It saves exactly one pre-change backup file before creating folders or moving items, then refreshes the open extension UI. Do not call create_backup first or split the job by destination.

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

Input Schema

NameRequiredDescriptionDefault
planIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-dev.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already flag destructiveHint=true, and the description adds real operational detail beyond them: exactly one pre-change backup file is written before mutations, the plan becomes invalid on CONFLICT, and the open extension UI is refreshed afterward. It does not describe a success payload, which is why this is not a full 5.

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?

The gating precondition is front-loaded and every sentence carries a distinct constraint (confirmation, CONFLICT recovery, backup count, UI refresh, exclusions). Slightly dense and run-on with the last two prohibitions appended at the end, but there is no filler.

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 single-parameter mutation with no output schema, the description covers preconditions, failure semantics, side effects, and forbidden alternative flows. The remaining gap is the success return value and whether the planId is consumed or reusable, which the description leaves to inference.

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 0% for the single planId parameter, so the description must carry the meaning. It implies the id refers to a plan produced by the preceding preview ("the entire previewed organization") but never states that planId must come from a prior preview_bulk_move call rather than being constructed or reused across conflict retries — indeed it implies the old id is invalidated on CONFLICT, which is useful but indirect.

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: it applies the entire previewed organization plan in a single call, including folder creation and item moves. That distinguishes it cleanly from preview_bulk_move, create_backup, and the per-destination apply tools named in the sibling list.

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?

Explicit preconditions are given (present the full hierarchy and moves, then receive explicit confirmation), plus explicit exclusions: do not call create_backup first and do not split the job by destination. It also routes the agent through a recovery path when CONFLICT is returned, naming the exact sequence of reread, re-preview, re-present, re-confirm.

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