Skip to main content
Glama

catalog_render_preview

Read-only

Render one preview. Like local compose-ai-tools, the default semantics observation is token-frugal; request observe=png for pixels, observe=svg for the compose/figma-svg vector export as SVG source, or observe=scroll-png / observe=scroll-svg for the full-page capture of a scrollable screen rather than the viewport crop. Watch face previews also accept structured 'complications', 'watchFace', 'ambient', 'previewTime' / 'clockEpochMillis', and 'wfRenderer' ('dwf-rc' or 'dwf-apk'). 'watchFace' is the state the preview's own face is drawn in, never a face of its own: 'ambient', 'previewTime' (HH:mm, HH:mm:ss or epoch millis), 'clockEpochMillis', 'is24Hour', sensor values ('batteryPercent', 'stepCount', 'heartRate', ...), 'configurations' (UserConfiguration id to option) and 'themeColors'. Any other key, such as 'xml' or 'designId', is refused; a UI Builder design is seen on the real runtime in its Native pane. 'dwf-apk' runs the Android watch-face runtime and is refused with catalog_native_render_disabled where this server has turned that off; the default is then 'dwf-rc'; see each preview's watchFaceRenderers. Overrides, other observations and fresh renders require live grant scope; without it, a call with no overrides returns the published snapshot (as resources/read does).

Input Schema

NameRequiredDescriptionDefault
uriNo
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.
ambientNo
catalogNo
observeNo
overridesNo
previewIdNo
watchFaceNoThe state the preview's own face is drawn in; not a face of its own.
wfRendererNo
previewTimeNo
ambientBurnInNo
ambientLowBitNo
complicationsNo
clockEpochMillisNo

Output Schema

NameRequiredDescriptionDefault
imageUrlNoShort-lived signed https URL of the rendered PNG, on a host with a public origin.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / watchFace / additionalProperties
      Added value: +false
    • addedInput schema / properties / watchFace / description
      Added value: +"The state the preview's own face is drawn in; not a face of its own."
    • addedInput schema / properties / watchFace / properties
      Added value: +{
      +  "ambient": {
      +    "type": "boolean"
      +  },
      +  "batteryCharging": {
      +    "type": "boolean"
      +  },
      +  "batteryIsLow": {
      +    "type": "boolean"
      +  },
      +  "batteryPercent": {
      +    "type": "number"
      +  },
      +  "calories": {
      +    "type": "number"
      +  },
      +  "clockEpochMillis": {
      +    "type": "integer"
      +  },
      +  "config": {
      +    "description": "alias of configurations",
      +    "type": "object"
      +  },
      +  "configurations": {
      +    "additionalProperties": {
      +      "type": [
      +        "string",
      +        "number",
      +        "boolean"
      +      ]
      +    },
      +    "description": "UserConfiguration id to option id or value",
      +    "type": "object"
      +  },
      +  "distance": {
      +    "type": "number"
      +  },
      +  "flavor": {
      +    "type": "string"
      +  },
      +  "floors": {
      +    "type": "number"
      +  },
      +  "heartRate": {
      +    "type": "number"
      +  },
      +  "is24Hour": {
      +    "type": "boolean"
      +  },
      +  "isAmbient": {
      +    "type": "boolean"
      +  },
      +  "isDst": {
      +    "type": "boolean"
      +  },
      +  "previewTime": {
      +    "description": "HH:mm, HH:mm:ss or epoch millis",
      +    "type": "string"
      +  },
      +  "stepCount": {
      +    "type": "integer"
      +  },
      +  "stepGoal": {
      +    "type": "integer"
      +  },
      +  "themeColors": {
      +    "additionalProperties": {
      +      "type": [
      +        "string",
      +        "number"
      +      ]
      +    },
      +    "type": "object"
      +  },
      +  "unreadNotifications": {
      +    "type": "integer"
      +  },
      +  "userConfigurations": {
      +    "description": "alias of configurations",
      +    "type": "object"
      +  }
      +}
  2. Changed8 schema fields changed
    • addedInput schema / properties / ambient
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / ambientBurnIn
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / ambientLowBit
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / clockEpochMillis
      Added value: +{
      +  "type": "integer"
      +}
    • addedInput schema / properties / complications
      Added value: +{
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / previewTime
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / watchFace
      Added value: +{
      +  "type": "object"
      +}
    • addedInput schema / properties / wfRenderer
      Added value: +{
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "imageUrl": {
      +      "description": "Short-lived signed https URL of the rendered PNG, on a host with a public origin.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true, and the description is consistent with that while adding real behavior: live grant scope is required for overrides/other observations/fresh renders, otherwise the published snapshot is returned as resources/read does. It also names the specific refusal error, catalog_native_render_disabled, and the dwf-rc fallback. Remaining gaps are the response shape and any freshness/caching behavior beyond the snapshot fallback.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, but the remainder is long semicolon-chained prose that is hard to parse, and the opening clause about local compose-ai-tools adds little. Most sentences do carry information, so it is dense rather than padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Against 14 parameters, nested objects, a 6-value enum, and only readOnlyHint for annotations, the description covers the semantically subtle parts well, and the output schema relieves it of explaining returns. It is still incomplete on how callers address a preview (uri vs. catalog+previewId), what overrides contain, and the two ambient* flags.

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 only 14%, so the description carries the burden, and it does substantial work: it defines all six observe modes, the watchFace sub-state fields (ambient, previewTime, clockEpochMillis, is24Hour, sensors, configurations, themeColors), the wfRenderer values, and that watchFace is state rather than a face. It does not explain the uri vs. catalog/previewId addressing split, the shape of overrides, or ambientBurnIn/ambientLowBit, which leaves real holes.

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?

Opens with a specific verb+resource, "Render one preview," which is immediately distinguishable from a matrix renderer. It doesn't name the sibling tool it contrasts with, so the differentiation is implicit ("one" vs. many) rather than explicit.

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 concrete selection guidance across observe modes (png vs. svg vs. scroll-* for full-page vs. viewport crop) and states the grant-scope condition for overrides/fresh renders versus falling back to the published snapshot. It also redirects misuse cases (xml/designId keys, UI Builder designs → Native pane) rather than just failing.

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.