Skip to main content
Glama

ui_builder_list_revisions

Read-only

A design's retained revisions, newest first: each one's number, who made it, when, the operation that produced it (setProperty ×2, insertNode, undo, restored r3) and its document digest. retention says how far back the history still reaches — older revisions are gone, and get, diff, restore and fork stop at that floor. Page with before. Read access.

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>"
    },
    "name": "ui_builder_list_revisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRevisions per page. Defaults to 20.
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.
beforeNoOnly revisions older than this one; pass the previous reply's `nextBefore`.
designIdYes
agentNameNoOptional agent/client name shown to design viewers; self-reported.
agentModelNoOptional current model name shown to design viewers; self-reported. Omit when unknown.

Output Schema

NameRequiredDescriptionDefault
schemaYes
summaryYes
designIdYes
retentionYes
revisionsYes
nextBeforeNo
currentRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed2 schema fields changed
    • addedInput schema / properties / agentModel
      Added value: +{
      +  "description": "Optional current model name shown to design viewers; self-reported. Omit when unknown.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
    • addedInput schema / properties / agentName
      Added value: +{
      +  "description": "Optional agent/client name shown to design viewers; self-reported.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
  4. Added

TDQS

A4.2/5.0
Behavior4/5

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

readOnlyHint already establishes safety, and "Read access." is consistent with it rather than redundant filler. The description adds genuinely non-obvious behavior: history is retained only to a floor, older revisions are permanently gone, and that floor constrains other tools. It omits anything about the token/header auth path or failure modes when the design is inaccessible.

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?

Three dense sentences: what you get, what the retention constraint means, how to page. Front-loaded with the payload description and free of preamble or restatement of the tool name.

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?

An output schema exists, so the field enumeration is bonus rather than necessity, and the retention caveat is the piece an agent could not get from structured fields. What is missing is any mention of the token/header choice for unauthenticated clients, which matters for a read call that may fail on access grounds.

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

Parameters3/5

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

Schema coverage is 83%, so all six parameters are already documented at source; the description only reinforces the `before` cursor as the paging mechanism. It says nothing about `limit`, `token`, `agentName`, or `agentModel`, so it adds little beyond the schema baseline.

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?

"A design's retained revisions, newest first" states the resource, the verb (enumerate), and the ordering in one clause, then enumerates the returned fields (number, author, timestamp, operation, digest). It also names get/diff/restore/fork as separate operations that share the retention floor, so an agent can tell this listing tool apart from them.

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?

"Page with `before`" plus "older revisions are gone, and get, diff, restore and fork stop at that floor" tells the agent both the pagination loop and a precondition for downstream calls. It does not state an explicit when-not or a direct alternative for retrieving a single revision, so it falls short of full routing guidance.

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.