Skip to main content
Glama

Edit a site

iter0_edit_site
Destructive

Make one focused change to a saved iter0 design: pass its designId and the change as prompt. iter0 loads the current page itself and saves the edit as the design's current page; the card offers Undo. For a page the person pasted into the chat (no designId), pass that page exactly as currentHtml; the revised HTML comes back and no saved design changes. Costs 0.5 credits. The first call returns a price quote and changes nothing; the edit runs only when the person confirms that quote, in the card or by saying yes in chat, and iter0_confirm_paid_action redeems it.

Input Schema

NameRequiredDescriptionDefault
promptYesThe focused edit instruction. At most 32,000 UTF-8 bytes.
designIdNoThe owned design to edit, from iter0_get_design or iter0_list_my_designs. iter0 loads its current page and saves the edit as its current page.
sectionIdNoThe section ID from iter0_get_design or iter0_get_site_status for the same designId; replaces selectedAreas.
approvalIdNoCompatibility receipt for a quote already confirmed in iter0. New quotes are redeemed with iter0_confirm_paid_action.
currentHtmlNoA page the person pasted into the chat, used when there is no designId. A saved design is edited by designId; iter0 loads its page. At most 2,000,000 UTF-8 bytes.
referenceUrlNoOptional visual reference. At most 2,048 UTF-8 bytes.
selectedAreasNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructive, non-idempotent, open-world), the description discloses the cost (0.5 credits), the two-phase quote/confirmation flow, that nothing changes until the quote is confirmed, that the current page is loaded automatically, and that the card offers Undo. These are exactly the details an agent needs to call it safely, and nothing contradicts the annotation profile.

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

Conciseness5/5

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

The description is front-loaded with the primary action and the designId path, then the pasted-page fallback, then cost and the quote/confirmation flow. Every sentence carries actionable information with no repetition of schema or annotations.

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?

Given an output schema exists and the schema documents parameters at 86%, the description covers the critical behaviors an agent needs: the quote/confirmation gate, cost, undo, and the two input modes. It omits guidance on sectionId/selectedAreas scoping and referenceUrl, leaving a small gap for a 7-parameter mutation tool.

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 86% schema coverage the schema documents most parameters, and the description adds meaning the schema alone lacks: the mutual exclusivity of designId and currentHtml, and that a saved design's page is loaded rather than supplied. It doesn't explain sectionId, selectedAreas, or referenceUrl usage, so it stops short of fully enriching parameter semantics.

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?

The description states a specific verb and resource ('make one focused change to a saved iter0 design') and immediately splits the two supported modes: editing a saved design by designId versus revising a pasted page by currentHtml. It names the related confirm/undo mechanics, so an agent can distinguish it from sibling tools like iter0_create_site or iter0_publish_site.

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?

It gives explicit conditionals: pass designId for a saved design, pass currentHtml when the page was pasted and no designId exists, and it explains that the first call only returns a price quote that must be confirmed (via the card, chat, or iter0_confirm_paid_action). It does not explicitly say when not to use this in favor of siblings such as iter0_design_layout or iter0_push_site, keeping it 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.