Skip to main content
Glama

Get full design context for a CollectUI post or media URL

get_design_context

Analyse CollectUI, x.com, post ID, or media URLs to return a UI design brief with composition, colors, motion timing/easing, implementation hints, and keyframes; listings return an index.

Instructions

Give it a CollectUI link (home, /designs/, /designers/, /trending), a CollectUI post id, the original x.com post URL, or any direct image/GIF/video URL. Returns a structured brief: format and composition, colour palette with inferred roles, a segmented motion timeline (durations, best-fit easing curves, pixel displacement, overshoot/spring detection, loop detection, ASCII maps of where on screen the movement happens), implementation hints as CSS/framer-motion starting points, and a small set of deliberately chosen keyframes. If the link points at a listing, it returns the index of posts instead — pass pick to drill in.

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": {
      "url": "<url>"
    },
    "name": "get_design_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesCollectUI URL, post id (uuid), x.com source URL, or a direct media URL.
pickNoWhen the URL is a listing, analyse this 1-based entry instead of returning the index.
detailNoCost tier. 'brief' = measurements only, no images (~2k tokens) and usually enough, because the motion timeline already states durations, easings, directions and where on screen things move. 'standard' = brief + 3 keyframes (~6k tokens). 'full' = brief + 6 keyframes at higher resolution + a contact sheet (~12k tokens); reach for it only when you must see fine visual detail.standard
framesNoOverride the frame count implied by `detail` (0 for a text-only brief).
auto_cropNoCrop away a flat presentation matte so the analysis describes the UI, not the backdrop. Set false to analyse the raw frame.
scene_cutsNoAlso run hard-cut detection (an extra full decode pass; only useful for multi-shot videos).
contact_sheetNoOverride whether a single tiled contact sheet of the keyframes is attached.
listing_limitNoHow many posts to list when the URL points at a listing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so thoroughly: it explains the shape of the returned brief, the cost tiers with approximate token counts, the extra decode pass triggered by `scene_cuts`, the effect of `auto_crop`, and the listing-index behavior. It discloses operational costs and side effects that an agent needs in order to choose parameters responsibly.

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 front-loaded with accepted input formats and then enumerates return contents, with no filler or fluff. It is somewhat dense and run-on, especially the long sentence listing return fields, but the density is justified by the tool's complexity.

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?

Given eight parameters, no annotations, and no output schema, the description supplies the missing behavioral and return-value context in detail. It explains input formats, listing behavior, detail tiers, token costs, and the structure of the returned brief, leaving no major gap for an agent calling the tool correctly.

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 description coverage is 100%, so the schema already documents every parameter in detail, including cost tiers, frame counts, crop rationale, and listing limits. The description adds little parameter meaning beyond the schema; its only parameter-related guidance is the `pick` drill-in behavior, which is already stated 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?

The description states a specific verb and resource: it accepts CollectUI links, post ids, x.com URLs, or direct media URLs and returns a structured design brief covering format, palette, motion, implementation hints, and keyframes. It is clear what the tool does, but it never names or contrasts its siblings such as get_frames or browse_designs, so an agent must infer differentiation.

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?

It gives clear contextual guidance for important parameters: `detail` tiers are described with cost guidance ('brief ... usually enough', 'full ... only when you must see fine visual detail'), `scene_cuts` is limited to multi-shot videos, and listing URLs return an index that can be drilled into with `pick`. However, it offers no explicit when-to-use or when-not-to-use guidance relative to alternative tools like get_frames or browse_designs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.