Skip to main content
Glama

Await human decision

await_decision

Create a human-in-the-loop review on the live artifact. Default options: Approve / Request changes / Reject. Reviewers see a Review required chip → modal. Request changes is non-terminal: webhook or poll returns changes_requested, then call continue_decision after regenerating. Optional timeoutSeconds and maxIterations (default 5). If the page has interactive controls (sliders/forms), the hatch HTML MUST expose window.VR_HITL_GET_SETTINGS so the review can attach those assumptions as JSON. When the user integrates n8n, Temporal, CI, or any external workflow, pass webhookUrl (MCP opens the review; the platform POSTs each transition to that URL — prefer webhook over poll_decision for automation). See PARTNER-WEBHOOKS.md for event payloads.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoModal heading (default: Finish your review).
optionsNoRadio choices (default Approve, Request changes, Reject). Labels are classified into approve / reject / changes_requested.
tenantIdYes
contextUrlNo
webhookUrlNoHTTPS URL that receives a POST on every HITL transition (decision.resolved, decision.changes_requested, timeout, etc.). Prefer this over poll_decision when wiring n8n, Temporal, or other automation — MCP creates the review; the webhook delivers the outcome. Full payload: PARTNER-WEBHOOKS.md.
agentOutputNoOptional seed of the agent’s current output into the conversation transcript.
sessionTokenNo
maxIterationsNoMax review rounds (default 5). Requesting changes at the last iteration fails with max_iterations_exceeded.
timeoutSecondsNoWall-clock timeout for this review round; omit for no timeout.

TDQS

A4.7/5.0
Behavior5/5

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

Even though annotations exist, the description adds substantial behavioral detail beyond them: changes_requested is non-terminal, maxIterations defaults to 5 and can fail with max_iterations_exceeded, webhooks fire on every transition, and interactive pages MUST expose window.__VR_HITL_GET_SETTINGS__. It also explains timeout semantics and option classification. No contradiction with annotations.

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 description is a single dense paragraph that front-loads the core behavior and then efficiently covers defaults, edge cases, and integration guidance. Every sentence carries useful information, though it could be slightly better organized with breaks between the core flow, integration details, and the HTML requirement.

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?

Despite having no output schema and 9 parameters, the description covers the critical behavioral paths, defaults, failure modes, webhook integration, and the HTML global requirement. It references PARTNER-WEBHOOKS.md for payloads, but leaves the return shape of poll/continue flows to inference and does not elaborate on sessionToken or contextUrl semantics. Overall, it is strong but not exhaustive for a tool this complex.

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 67% and the description meaningfully augments key parameters: webhookUrl is explained with transition examples and a preference rule, maxIterations gets default and failure semantics, options get default values and classification behavior, and agentOutput gets a semantic explanation. A few parameters like tenantId, sessionToken, and contextUrl remain underexplained, so it doesn't reach a 5.

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 opens with a precise verb and resource: "Create a human-in-the-loop review on the live artifact." It immediately distinguishes this from sibling tools by referencing continue_decision for the changes_requested path and explicitly preferring this over poll_decision for automation. This is a clear, specific, and sibling-aware purpose statement.

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?

The description gives direct when-to-use guidance: use it for human review on the live artifact, prefer webhookUrl over poll_decision for automation, and call continue_decision after regenerating when changes are requested. It also explains the default review flow and the non-terminal nature of Request changes, providing clear context versus alternatives.

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.

TDQS

A3.8/5.0
Disambiguation3/5

Core actions like hatch, convert, upload, and lookup are generally distinct, but the polling family (poll_approval, poll_decision, poll_pairing) is easy to confuse, and await_decision misleadingly sounds like a wait operation rather than the creation of a review. Descriptions clarify boundaries, but the names alone leave room for misselection.

Naming Consistency3/5

Most tools use an imperative verb style, but the pattern is inconsistent: some are bare verbs (hatch, convert, deploy, list, lookup, share, upload), some are verb_noun (poll_decision, refresh_session, get_pairing_code), and auth is a bare noun. The names are readable but do not follow one predictable convention.

Tool Count3/5

16 tools sits at the heavy end of the comfortable range, inflated by three polling tools plus pairing/session management that are only tangentially related to the core task of creating and updating roosts. Each tool has a purpose, but the surface feels larger than the core domain requires.

Completeness3/5

The set covers create, read/list, update via convert/upload/deploy, sharing, and auth, but there is no delete/destroy or teardown tool, and custom domain/state management is only passively visible through lookup. Agents can complete common workflows but will hit dead ends on teardown or lifecycle management.