Skip to main content
Glama

ui_builder_list_trash

Read-only

The designs in the trash that you could restore — ones you deleted, or ones you own — most recently deleted first, each with who deleted it and its restorableUntilEpochMillis. Use it to undo a ui_builder_delete_design you regret, or to check what a cleanup removed. Takes no arguments.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ui_builder_list_trash"
  }
}

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.
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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint is consistent with a read/list tool, and the description adds real context beyond the annotation: sort order (most recently deleted first), per-item metadata (who deleted it, restorableUntilEpochMillis), and the ownership/deletion scope. Minor inaccuracy: 'Takes no arguments' ignores the three optional transport/identity parameters in the schema.

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 sentences, front-loaded with the resource and its scoping rule, followed by concrete usage. Dense but every clause carries information; the trailing 'Takes no arguments' is the only slightly disposable/inexact bit.

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 return shape need not be described, and the definition still covers scope, ordering, per-entry fields, and intent — enough to call correctly. The only gap is not distinguishing this from the live-designs list tool explicitly.

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 100%, so the token/agentName/agentModel semantics are already fully documented; the description adds only the claim that there are no filtering arguments, which frames those params as non-semantic. That is marginally useful but does not expand on any parameter beyond the schema.

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?

Names a specific resource and scope: 'The designs in the trash that you could restore', clarifies inclusion criteria (ones you deleted, or ones you own), and states ordering. This cleanly separates it from ui_builder_list_designs without needing the sibling schema.

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?

Gives two concrete use cases — undoing a ui_builder_delete_design you regret and auditing what a cleanup removed — and references the sibling that creates the trashable state. It does not say when NOT to use it (e.g. to find live designs you should use ui_builder_list_designs), but the guidance is otherwise actionable.

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.