Skip to main content
Glama

Refine a booth draft

refine_booth
Destructive

Change a booth draft from start_booth, using the draftId check_generation returned. what='welcome' redraws the welcome screen from an instruction ('warmer colours', 'bigger headline', 'less clutter') while keeping the design; add orientation 'phone' or 'laptop' to redraw only that screen (1 redraw) — without it both screens are redrawn (2). what='app-background' redraws the calmer backdrop behind the rest of the booth (1 redraw). what='everything' rebuilds the whole draft from a NEW full description (spends 1 of the draft's 3 full generations) — only when the operator wants a different booth, not a tweak. A draft has 5 redraws in total; check_generation reports what is left. Title, headline, link name and colours cannot be edited directly: they change only through a redraw instruction, or at create time (title, slug). Returns a job id; call check_generation. Call only when the operator asks for a change — never iterate on your own.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
whatYesWhich part to change. 'everything' is a full rebuild from a new description.
draftIdYesThe draft to change, from check_generation's result for start_booth.
instructionYesFor 'welcome' / 'app-background': what to change, in the operator's words, up to 300 characters — the current design is kept and only this is applied. For 'everything': the new full description of the booth, up to 1000 characters.
orientationNoOnly with what='welcome': redraw just the phone (portrait) or laptop (landscape) screen. Omit to redraw both.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
noteNo
whatYes
errorNo
jobIdYes
stateYes
draftIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only flag destructive/non-idempotent/open-world; the description goes well beyond them by disclosing the redraw budget (5 redraws, 3 full generations), the exact cost of each 'what' and orientation combination, what cannot be edited directly, and that it returns a job id to be polled via check_generation. This is exactly the operational context an agent needs before consuming a scarce resource.

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?

Dense and front-loaded with the most important constraints, but it reads as one long paragraph mixing usage rules, budget accounting, and parameter semantics. All content earns its place; minor structural cost only.

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

Completeness5/5

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

For a destructive, budget-limited mutation tool with an output schema, the description covers prerequisites, mode semantics, budget accounting, and the required follow-up call. Nothing an agent needs to invoke it correctly is missing.

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

Parameters5/5

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

Schema coverage is 100%, but the description still adds real meaning: it explains enumeration members ('everything' rebuilds from a NEW full description), the interaction between 'welcome' and orientation (1 vs 2 redraws, omit to redraw both), and per-mode instruction intent and limits beyond what the schema states.

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 ('change a booth draft') plus the exact resource ('from start_booth', identified by check_generation's draftId), and clearly separates itself from siblings like update_booth_draft and refine_frame by describing a redraw-based mutation rather than a direct edit.

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?

Gives explicit when/when-not guidance: 'Call only when the operator asks for a change — never iterate on your own,' and routes 'everything' to the case where the operator 'wants a different booth, not a tweak.' It also names check_generation as the required follow-up and pre-requisite source of draftId.

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.