Skip to main content
Glama

ui_builder_editor_await

Read-only

The UI Builder editor app's follow: returns as soon as the design's revision passes afterRevision, or after waitSeconds (at most 25) with changed false. Called by the app, not the model.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "designId": "<designId>",
      "afterRevision": "<afterRevision>"
    },
    "name": "ui_builder_editor_await"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoA grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session is used in it. Prefer the header where you control it.
designIdYes
agentNameNoOptional agent/client name shown to design viewers; self-reported.
agentModelNoOptional current model name shown to design viewers; self-reported. Omit when unknown.
waitSecondsNo
afterRevisionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and the description is consistent with that. Beyond the annotations it discloses genuine behavioral traits: long-poll semantics, a hard cap of 25 seconds on waitSeconds, and the changed=false return on timeout, which tells the caller how to interpret a non-result. It leaves return-payload detail to the output schema, which is acceptable.

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 compact clauses with zero filler; the core trigger condition is front-loaded ahead of the timeout behavior and the audience note. The opening 'The UI Builder editor app's follow:' is slightly awkward framing but costs little space.

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?

With six parameters and an output schema present, the description covers the parts an agent cannot infer: async wait semantics, the timeout ceiling, and who is supposed to call it. Nothing essential is missing, though the audience restriction could be stated more operationally.

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%, so the description must carry weight for the undocumented params, and it does: afterRevision is given meaning as the revision threshold, and waitSeconds is described as capped at 25 with a timeout return of changed=false. designId is self-evident; token and agentName/agentModel are already documented in the schema.

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?

States a specific operation on a specific resource: a long-poll that returns when the design's revision passes afterRevision, or on timeout. An agent can distinguish this from siblings like await_comments or await_decision because the trigger condition (revision change) is spelled out. It does not name a sibling alternative, so it stops short of 5.

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?

The clause 'Called by the app, not the model' is an explicit when-not that steers an agent away from this tool, which is rare and valuable guidance. It gives no alternative tool to use in its place, keeping it at 4 rather than 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.