Skip to main content
Glama

Get screen

get_screen
Read-onlyIdempotent

One catalog screen with its image and structure. Returns an image block (look at it for color, typography and spacing) and JSON with app, flow, platform, pageType, screenPatterns, uiComponents, keyTexts, dimensions, capturedAt and elements (OCR text and hotspots with normalized bbox [x0,y0,x1,y1], sorted top to bottom: use them to reproduce hierarchy, order and positions). image 'small' is ~800px wide (~1-2k tokens), 'full' 1800px. Cite the app, flow and capture date when you build from it.

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": {
      "screenDocId": "<screenDocId>"
    },
    "name": "get_screen"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageNosmall
screenDocIdYes
includeElementsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely useful context beyond them: the shape of the response payload, the pixel widths of each image size, an approximate token cost for the default, the normalized bbox format [x0,y0,x1,y1], and the top-to-bottom ordering of elements. It does not mention failure behavior for a bad screenDocId or what happens when image='none'.

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?

The information is front-loaded and dense with no filler, but it arrives as one long parenthetical-heavy sentence that packs payload fields, image guidance and citation advice together; a short bulleted split between 'returns', 'image sizes' and 'attributes' would scan faster.

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 and three parameters, the description does well to enumerate the returned JSON fields and explain the image trade-off. The remaining gaps are modest: the semantics of image='none', the effect of includeElements=false, and the provenance of screenDocId.

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 0%, so the description must carry the parameters. It explains the 'small' (~800px, ~1-2k tokens) and 'full' (1800px) image options well but never mentions 'none', never explains includeElements by name or what setting it false removes, and never says where to obtain a screenDocId.

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?

The description opens with a specific verb and resource, 'One catalog screen with its image and structure', and then enumerates exactly what comes back: an image block plus JSON with app, flow, platform, pageType, screenPatterns, uiComponents, keyTexts, dimensions, capturedAt and elements. An agent can tell this apart from list/search siblings because it is clearly a single-record fetch keyed by screenDocId, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage of the returned data is well signposted ('look at it for color, typography and spacing', 'use them to reproduce hierarchy, order and positions'), which implies this is a fetch-for-reproduction tool. However, it never says when to call this instead of search_screens, search_screens_by_image, get_flow or get_app, and gives no guidance on choosing 'small' versus 'full' beyond the token note.

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.

Resources