Skip to main content
Glama

ui_builder_publish_watch_face

Destructive

Publish a watch-face design (a wff-watchface catalog design) to Wear OS watches, or take it off them. published: true publishes the design's current revision: the server exports its Watch Face Format, builds a signed Watch Face Push APK, and lists it to every watch linked to the owner's account (and, for a public design, to any watch). Publish again after editing to ship the edit; the version moves only when the face itself changed. published: false stops listing it. Only the design's owner may, or a grant the owner approved with ui-builder-publish (request_access with that capability; write alone never implies it). A face the packager refuses is refused here with its diagnostics. A public design is listed to every watch on its own, from a settled revision; publishing pins the revision, and visibility: private keeps a public design to the owner's linked watches only; run ui_builder_validate_watch_face first, which says per check what to fix and how much of the memory budget the face uses.

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

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.
publishedYestrue to publish the current revision, false to unpublish.
agentModelNoOptional current model name shown to design viewers; self-reported. Omit when unknown.
visibilityNoWith published: true. public lists it to every watch (the design must be public); private only to the owner's linked watches. Omit to follow the design's own visibility.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed1 schema field changed
    • addedInput schema / properties / visibility
      Added value: +{
      +  "description": "With published: true. public lists it to every watch (the design must be public); private only to the owner's linked watches. Omit to follow the design's own visibility.",
      +  "enum": [
      +    "public",
      +    "private"
      +  ],
      +  "type": "string"
      +}
  4. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnly/destructive/idempotent flags; the description goes far beyond by describing the side effects (signed APK listing to every linked watch, including any watch for a public design), what unpublish removes, when `version` advances, the ownership/grant requirement, the diagnostics returned on packager refusal, and that publishing pins a settled revision. For a destructive, non-idempotent mutation this is exactly the missing context.

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 core action and the `published` semantics are front-loaded, and nearly every clause carries information an agent needs. It is, however, a dense run-on block where authorization, visibility, revision pinning, and validation ordering are crammed together rather than structured, weakening scannability.

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?

For a destructive, permission-gated distribution tool, the description covers the effect, the permission model, the prerequisite check, the failure mode (packager diagnostics), and the visibility/revision interaction. An output schema exists, so return-shape explanation is rightly omitted; nothing an agent needs before calling is missing.

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 already 83%, so the baseline is 3; the description additionally clarifies that `published: true` ships the design's *current revision* (re-publishing ships edits), and elaborates the interaction between `visibility: private` and a public design's own visibility. `token`, `agentName`, and `agentModel` are left entirely to the schema, so it is not a full 5.

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?

Opens with a concrete verb and resource: 'Publish a watch-face design (a `wff-watchface` catalog design) to Wear OS watches, or take it off them.' It also delineates the effect chain (export WFF, build signed Watch Face Push APK, list to watches), which no sibling tool does, so an agent can separate it from ui_builder_validate_watch_face or request_access without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit sequencing ('run ui_builder_validate_watch_face first'), explains the re-publish workflow after edits, states that `published: false` is the unpublish path, and names the alternative authorization route (request_access with the `ui-builder-publish` capability, noting write alone is insufficient). Both when-to-use and the prerequisite are spelled out.

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.