Skip to main content
Glama

uvcs_update_workspace_confirm

Destructive

Confirms and executes a prepared workspace update to its branch changeset only after the exact operation is reviewed and approved, helping avoid unintended merge conflicts.

Instructions

Update the workspace to the latest changeset of its branch. Local edits to files changed upstream can produce merge conflicts. Requires prepare/confirm. Confirms and executes a prepared operation. Call only after the user has reviewed the prepared payload and explicitly approved this exact operation.

Input Schema

NameRequiredDescriptionDefault
tokenYesToken returned by uvcs_update_workspace_prepare.
confirmPhraseYesMust be exactly: confirm uvcs update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent, so the safety profile is known. The description adds real value beyond that: it discloses the failure mode ('Local edits to files changed upstream can produce merge conflicts') and imposes a human-approval gate. It stops short of saying what state the workspace is left in if a conflict occurs, which keeps it from a 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?

Front-loaded with the operation and four short sentences with no filler. Minor redundancy between 'Requires prepare/confirm' and 'Confirms and executes a prepared operation', which say nearly the same thing.

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, the description covers the precondition, the risk, and the approval requirement. What happens on conflict or partial failure is not described, but nothing essential to correct invocation is missing.

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 100% and both parameters are fully documented there, including the exact confirm phrase. The description adds no syntax or format detail beyond the schema, so this sits at the baseline.

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 ('Update the workspace to the latest changeset of its branch') and situates it in the prepare/confirm pair, so it is clearly distinguishable from uvcs_update_workspace_prepare and from the other *_confirm 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?

Explicit sequencing ('Requires prepare/confirm'), explicit precondition ('Call only after the user has reviewed the prepared payload and explicitly approved this exact operation'), and the token parameter ties it to the prepare call. No inference needed about when this is safe to invoke.

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