Skip to main content
Glama

create_screen

Define a named wireframe screen and choose a mobile, tablet, desktop, or custom viewport to organize and render layouts.

Instructions

Create a screen. viewport is mobile/tablet/desktop or {width,height}. Example: {"name":"checkout","viewport":"mobile"}.

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": {
      "name": "<name>",
      "viewport": "<viewport>"
    },
    "name": "create_screen"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesLowercase identifier matching [a-z][a-z0-9_]{0,31}
viewportYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about permission requirements, what happens when a screen with the same name already exists, whether the screen is persisted immediately, or what the call returns on success or failure. For a creation tool with zero annotation coverage, these are significant gaps.

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?

Three short sentences, front-loaded with the action, followed by parameter format and a compact example. Nothing is redundant, though the terseness leaves the tool feeling under-specified rather than precisely scoped.

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

Completeness2/5

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

For a two-required-parameter creation tool with no annotations and no output schema, the description should at least address failure modes (duplicate names, invalid viewport) and what the agent receives back. It covers only the happy-path input shape, leaving meaningful ambiguity.

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 coverage is 50%: name is documented in the schema while viewport is not. The description restates the viewport formats (mobile/tablet/desktop or {width,height}) which the schema's anyOf already encodes, but it does add a concrete example. It stops short of explaining defaults, units for width/height, or the significance of each viewport choice.

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 resource: "Create a screen." An agent can immediately tell this creates a new screen object. However, it offers no differentiation from siblings like create_document or duplicate_screen, so the agent must infer the boundary from names alone.

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 guidance on when to use this tool versus duplicate_screen, list_screens, or update. No prerequisites, no conditions, and no exclusions are stated; the agent gets usage instructions only by implication.

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