Skip to main content
Glama

ui_builder_move_design_home

Destructive

Move a design's canonical home between this server and a repository checkout. This changes real authoritative state: quote the exact baseRevision and current sourceHome from ui_builder_get_design, provide a stable operationId, and name the new targetHome. The old server record remains as a retained copy pointing at the new home. The reply is an idempotent operation outcome with the new revision; a stale revision or changed source home is refused rather than overwriting a concurrent move. Unless the person already chose this move, call first with dryRun: true: it changes nothing and returns the choices to put to them — or, when your client supports form elicitation on this connection, asks them in a form and, if they choose to move, returns this move's outcome.

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": {
      "designId": "<designId>",
      "operationId": "<operationId>",
      "baseRevision": "<baseRevision>",
      "sourceHome": "<sourceHome>",
      "targetHome": "<targetHome>"
    },
    "name": "ui_builder_move_design_home"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoA grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session is used in it. Prefer the header where you control it.
dryRunNoValidate and return the person's choices without changing anything.
designIdYes
agentNameNoOptional agent/client name shown to design viewers; self-reported.
agentModelNoOptional current model name shown to design viewers; self-reported. Omit when unknown.
sourceHomeYesThe exact current DesignHomeV1, or null when the design is unhomed.
targetHomeYes
operationIdYesYour stable id; makes a retry idempotent.
baseRevisionYesThe exact current revision read from the design.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed2 schema fields changed
    • addedInput schema / properties / agentModel
      Added value: +{
      +  "description": "Optional current model name shown to design viewers; self-reported. Omit when unknown.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
    • addedInput schema / properties / agentName
      Added value: +{
      +  "description": "Optional agent/client name shown to design viewers; self-reported.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that this mutates authoritative state, that the old server record is retained as a copy pointing at the new home, and that operationId makes retries idempotent. The idempotentHint=false annotation is reconciled rather than contradicted, since the description explains idempotency is achieved per-operationId rather than being inherent to the call.

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 purpose and the state-change warning before the procedural detail, and the dryRun sentence is dense but information-bearing. The dryRun clause is long with nested alternatives (returns choices vs. form elicitation), which costs some readability.

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 nine parameters, it covers everything an agent needs: required inputs, concurrency guard, retention of the old record, refusal behavior, and the dry-run-first workflow. The output schema exists, so the brief note about the reply being an idempotent operation outcome is sufficient without return-value detail.

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?

With 78% schema coverage the schema already carries most weight, but the description adds genuine semantics: baseRevision and sourceHome act as optimistic-concurrency guards, operationId is the idempotency key, and targetHome names the destination. It leaves designId, agentName, and agentModel to the schema, which is a reasonable division.

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: 'Move a design's canonical home between this server and a repository checkout,' which no sibling (branch, fork, rename, restore) covers. The scope (server <-> repo) is explicit, so an agent can distinguish it from ui_builder_get_design or ui_builder_branch_design without opening a schema.

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?

Gives an explicit precondition (quote the exact baseRevision and sourceHome from ui_builder_get_design) and a clear default sequence: unless the person already chose the move, call with dryRun: true first. It also states the refusal path for stale revision or changed source home, which tells the agent when the call will not proceed.

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.