Skip to main content
Glama

Get mockup

get_mockup
Read-onlyIdempotent

Fetch a screen mockup by id: stage, image URL, the stored HTML source (Stufe 2), style profile, is_ai_image flag, full provenance (stage/time/model/style/prompt), and any revisions. Provenance of an AI image includes the exact image prompt.

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": {
      "mockup_id": "<mockup_id>"
    },
    "name": "get_mockup"
  }
}

Input Schema

NameRequiredDescriptionDefault
mockup_idYesMockup UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real value beyond that by disclosing the breadth of the returned payload, including that AI-image provenance carries the exact image prompt and that stored HTML source is retained ('Stufe 2'). It does not cover error behavior for an invalid UUID, keeping it below 5.

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?

A single front-loaded sentence whose colon-delimited field list is efficient and scannable. The field enumeration is dense but each item is informative about the response, so nothing feels like padding.

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 carries the burden of describing return values and does so thoroughly — stage, image URL, HTML source, style profile, AI flag, provenance, and revisions. Minor gaps remain around failure modes and whether revisions are bounded or paginated.

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% with a single documented 'mockup_id' UUID parameter, so the baseline of 3 applies. The description's 'by id' phrasing restates the schema without adding format, validation, or lookup-failure detail.

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+resource ('Fetch a screen mockup by id') and then enumerates exactly what the payload contains (stage, image URL, stored HTML source, style profile, provenance, revisions), which makes it clearly distinguishable from get_style_profile or get_embed_snippet. It stops short of naming a sibling as the alternative, so it earns a 4 rather than a 5.

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 guidance on when to call this versus alternatives such as render_mockup, get_embed_snippet, or get_style_profile — usage is only implied by 'by id'. An agent must infer the selection criteria from sibling names alone.

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