Skip to main content
Glama
MobileBlueprint MCP

MobileBlueprint MCP

create_screen_spec

Read-onlyIdempotent

Generates deterministic mobile screen blueprints with semantic components, design tokens, accessibility guidance, and RTL/LTR layouts without modifying project files.

Instructions

Create a deterministic mobile design blueprint with semantic components, design tokens, accessibility and RTL/LTR layout. No project changes.

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": {
      "pattern": "<pattern>"
    },
    "name": "create_screen_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoData state. State-only patterns use their own state.default
themeNolight
widthNoLogical viewport width
localeNoEnglish or Arabic sample copyen
patternYesScreen pattern to design

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds two pieces of context beyond that: "deterministic" (reproducible output for identical inputs) and "No project changes" (confirms nothing is written). It omits what the blueprint actually looks like when returned, which matters because no output schema exists.

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 short sentences, front-loaded with the core action and artifact, followed by a compact scoping constraint. No filler or repetition. It could have spent the same budget on the return format instead of the feature list.

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?

With five parameters, four enum-driven, and no output schema, the description should clarify what the blueprint is returned as (structured JSON spec, markup, prose). It describes the content dimensions well but leaves the response shape unspecified. Adequate for selecting the tool, insufficient for confidently consuming its result.

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 80% and four of five parameters are enums with self-documenting values, so the schema carries most of the burden and baseline 3 applies. The description's mention of accessibility and RTL/LTR implicitly relates to the locale enum, but it adds no detail on pattern selection or how width/state affect the output.

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?

States a specific verb and artifact: "Create a deterministic mobile design blueprint" with semantic components, design tokens, accessibility and RTL/LTR layout. An agent can tell this produces a design spec rather than code. It does not, however, position itself against the sibling generate_ui_snippet or list_mobile_patterns, so sibling differentiation is left to inference.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no mention of the sibling tools that could plausibly serve overlapping intents (generating UI versus listing patterns). "No project changes" scopes side effects but is a safety note, not usage guidance. The agent must infer selection from the name alone.

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