Skip to main content
Glama

Propose a screen design

propose_screen

Designs a single screen of a mobile app with the person: send one screen in the design format add_screen builds from and get back a link that opens it in the Architect for the person to change. The link and its code last 7 days. dryRun checks without making a link; format: true returns the format. A whole app is propose_app's.

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": "propose_screen"
  }
}

Input Schema

NameRequiredDescriptionDefault
intoNothe design code in the person's line
dryRunNocheck the screen and report, without making a link
formatNotrue for the format
compositionNoOne screen: { name, screen: { content: { children: [node] }, chrome: { header?, headerItems?, floating: [] }, overlays: [] } }. A node is { id, slug, props }: slug is "wireframe:<block>" or a component from find_component.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / format / description
      Added value: +"true for the format"
    • addedInput schema / properties / into / description
      Added value: +"the design code in the person's line"
  2. Changed1 schema field changed
    • addedInput schema / properties / into
      Added value: +{
      +  "type": "string"
      +}
  3. Changed3 schema fields changed
    • changedInput schema / properties / composition / description
      Previous value: -"One screen: { name, screen: { content: { children: [node] }, chrome: { header?, headerItems?, floating: [] }, overlays: [] } }. A node is { id, slug, props }: slug is a component from list_components or \"wireframe:<block>\"."New value: +"One screen: { name, screen: { content: { children: [node] }, chrome: { header?, headerItems?, floating: [] }, overlays: [] } }. A node is { id, slug, props }: slug is \"wireframe:<block>\" or a component from find_component."
    • addedInput schema / properties / format
      Added value: +{
      +  "type": "boolean"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "composition"
      -]
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the observable side effect (a link is generated and opened in the Architect), a concrete TTL ("The link and its code last 7 days"), and how to avoid the side effect via dryRun. It is consistent with readOnlyHint=false and destructiveHint=false, though it does not say whether proposing against an existing line alters or replaces prior screens.

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?

Front-loaded with the verb and purpose, then modes, then the sibling boundary; nearly every clause carries information. The sentence is dense and somewhat run-on, which slightly hurts first-pass legibility.

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?

With no output schema, the description correctly explains what the caller receives (a link opening the design in the Architect) and its lifetime, which is the key return-value information. Minor gaps remain about line/`into` targeting behavior and whether the proposal mutates anything persistent.

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 all four parameters including the nested composition shape are already documented. The description reinforces dryRun and format semantics, but its wording is largely a restatement of the schema descriptions, so it adds limited new meaning.

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?

States a specific verb and resource ("Designs a single screen of a mobile app") and explicitly bounds scope by naming the sibling that handles the other case ("A whole app is propose_app's"). It also positions the output relative to add_screen's format, so an agent can identify the tool without opening the 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 clear when-to-use context (collaborative screen design with the person in the Architect) and names the alternative for the broader case (propose_app). It also explains the two non-default modes (dryRun, format: true), though it never states when to prefer add_screen over this tool beyond the implicit format relationship.

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.