Skip to main content
Glama

WebTwizz

Confirm Action

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

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesThe job_id from the build card
approveYes

Output Schema

TableJSON 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.2/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, and the description adds real context: what approval can trigger (running a command, deleting database data, a Stripe change, publishing) and that declining (approve=false) skips the step while the build continues. It does not address irreversibility, permissions, or what happens if the job is not actually waiting.

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 sentences, with the gating condition front-loaded before the parameter effects. The list of example actions is slightly padded but still earns its place by conveying the destructive scope; nothing is redundant with the schema.

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?

Since an output schema exists, return values need no explanation, and the description covers trigger, both decision paths, and consequences of each. The only unaddressed case is calling this when no approval is pending (error behavior) and whether the action is retryable.

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; approve is not), and the description compensates by defining both boolean branches of approve and by pointing at the source of job_id (the build card). This is meaningful added meaning beyond the bare boolean type.

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 makes clear this resolves a pending approval gate on a WebTwizz build (the 'needs your OK' card) and states the effect of each decision. It is distinguishable from siblings like stop-build or publish-site, though the core verb+resource ('confirm/deny a pending build action') is embedded in a usage sentence rather than stated front-and-center.

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?

It gives an explicit precondition ('only after the user clearly answers what a WebTwizz build is waiting on') and names the concrete trigger (the card reading 'WebTwizz needs your OK'), which functions as a clear when-to-use and when-not guidance. No sibling tool serves as an alternative here, so the absence of an alternative name is not a gap.

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