Skip to main content
Glama

Visa förhandsvisning

show_preview
Read-onlyIdempotent

Show an interactive read-only 3D/2D preview in clients supporting MCP Apps. Supply exactly one of designId for an owned saved design, proposalId for an owned pending proposal, or templateId from list_templates for a published template as it appears in the catalog. The server loads the authoritative snapshot; never supply documents or changes. No design is changed or approved. The user approves only through the returned Ritabygget link. Unsupported clients and unavailable/large previews retain the GUI link; never generate images or illustrations.

Input Schema

NameRequiredDescriptionDefault
designIdNo
proposalIdNo
templateIdNo

Output Schema

NameRequiredDescriptionDefault
kindYes
titleYes
statusYes
messageNo
designIdNo
revisionYes
editorUrlYes
expiresAtNo
capturedAtYes
proposalIdNo
templateIdNo
approvalUrlNo
buildRevisionYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds substantive behavior: the server loads the authoritative snapshot, callers must "never supply documents or changes," nothing is changed or approved, and previews may fall back to a GUI link in unsupported clients. The only minor gap is that it does not describe size thresholds or what a degraded successful response looks like, though an 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?

Front-loaded with the core action, then constraints, then fallbacks — logically ordered and largely waste-free. It is dense for five sentences, and "never generate images or illustrations" borders on redundant given the read-only preview framing.

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?

An output schema exists so return values need not be spelled out, and the description still flags the returned Ritabygget link and degraded GUI-link case. Nothing essential for correct invocation appears missing, though the behavior for oversized previews could be slightly more concrete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 parameter meaning, and it does: each of the three IDs is tied to an ownership/scope (owned saved design, owned pending proposal, published catalog template) plus the oneOf constraint. Length/pattern constraints are left to the schema, which is appropriate.

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 ("Show an interactive read-only 3D/2D preview") plus the scope condition ("in clients supporting MCP Apps"), which no sibling tool covers. It also implicitly separates itself from approval/mutation flows by noting "The user approves only through the returned Ritabygget link."

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

Usage Guidelines5/5

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

Gives an explicit exclusivity rule ("Supply exactly one of designId … proposalId … or templateId from list_templates") and names the source for each identifier, including routing to list_templates for catalog templates. It also states fallback behavior for unsupported clients and for unavailable/large previews, so the agent knows when the call degrades to a GUI link.

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