Skip to main content
Glama

WebTwizz

Edit Element

edit-element
Destructive

Changes the part of a WebTwizz site the user clicked in the card preview, the way they asked. Used by the card.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoThe page the preview is on, like /menu
elementYes
requestYesWhat to change about the clicked element, in the user's words
site_idYes

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

C2.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is partly covered. The description adds nothing beyond that: it does not say what is overwritten, whether the change is reversible, how the free-form 'the way they asked' request is interpreted, or that approval may be needed for a destructive edit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences and the core purpose is front-loaded, which is good. However, the trailing 'Used by the card' consumes a full sentence while conveying almost nothing actionable, so the brevity reflects under-specification rather than economy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. But for a destructive, natural-language-driven mutation with a nested element object and 50% schema coverage, the description omits the behavioral and parameter context an agent needs to invoke it correctly rather than a sibling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: path and request are self-described, but site_id and the nested element object (tag/text/classes) carry no schema descriptions. The description does not compensate, never mentioning site_id, the element structure, or that 'element' identifies the clicked node. With a nested object in the required set, this is a meaningful gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'changes' and the target 'part of a WebTwizz site the user clicked in the card preview' are stated, but the resource is described obliquely rather than named (element HTML/text/classes). Critically, it does not distinguish itself from the sibling edit-text or edit-site, so an agent cannot tell which editor to invoke from the description alone.

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

Usage Guidelines2/5

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

'Used by the card' is a caller note, not usage guidance for an agent. There is no when-to-use vs edit-text/edit-site, no prerequisites, and no exclusions, despite several overlapping edit siblings in the namespace.

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