Skip to main content
Glama

Confirm a step

confirm-action
Destructive

Use this only after the user clearly answers what a WebTwizz build is waiting on (its card shows "WebTwizz needs your OK"), such as running a command, deleting database data, a Stripe change or publishing. approve true goes ahead; false skips that step and the build carries on without it.

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job_id from the build card
approveYes

Output Schema

NameRequiredDescriptionDefault
kindYes
nameYes
planNo
errorNo
stageNo
stepsYes
checksNo
job_idYes
latestNo
statusYesqueued, starting, building, done, needs_input, failed or stopped
choicesNoWhen the summary ends by offering numbered options: those options, for the user to pick one
site_idYes
summaryNo
live_urlNo
open_urlYes
questionNo
compilingNoThe preview is still updating with the finished change
follow_upsYesThings the user still has to do in WebTwizz, like connecting a database or adding a key
undo_guardNoPass as only_if_latest when undoing, so newer work is never lost
preview_urlYes
confirmationNoSet while the build waits for the user to approve something; answer with confirm-action
files_changedYes
preview_readyYesWhether the draft preview is running right now
undo_point_idNoPass to restore-version to undo this change; only set while nothing has changed since
live_frame_urlNo
elapsed_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true; the description adds real value beyond them by enumerating what the gated step may be (run a command, delete database data, Stripe change, publish) and stating that approve=false skips the step while the build continues. It does not cover error states (e.g., job not actually waiting) or whether the decision is reversible.

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 in the first clause, followed by the two-branch outcome. It is dense but every clause carries meaning; minor cost is that it reads as one long sentence rather than cleanly separated guidance.

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?

With an output schema present, return values need no explanation, and the two-parameter surface is essentially covered. The remaining gap is failure/edge behavior — what happens if the job is not actually awaiting confirmation — but the core decision semantics are complete.

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?

Schema coverage is 50%: job_id is documented in the schema, but the approve boolean has no description there. The description fills exactly that gap by explaining approve true = proceed and false = skip the step and continue the build, which is the semantics an agent most needs.

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?

The description states a specific action (answer a pending WebTwizz build gate with approve true/false) and anchors it to the UI signal 'WebTwizz needs your OK'. It is clearly distinguishable from read-only siblings like get-job-status, though it never names those siblings explicitly.

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

Usage Guidelines4/5

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

Strong precondition: 'Use this only after the user clearly answers what a WebTwizz build is waiting on' tells the agent both when to call and when not to (i.e., do not call preemptively). It lacks explicit routing to alternatives such as get-job-status or stop-build, so it stops short of a 5.

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.

Resources