Skip to main content
Glama

render_preview

Read-onlyIdempotent

Render a project or earlier version to produce a preview image with per-step timings and result statistics; use side-by-side comparison to inspect before and after.

Instructions

Render the project (or an earlier version: 'original' or a history id) and return the preview image, per-step timings and result statistics. compare='side_by_side' shows before | after.

Input Schema

NameRequiredDescriptionDefault
compareNonone
versionNocurrent
max_sizeNo
project_idYes
include_imageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds valuable return-content detail (image, per-step timings, result statistics), but says nothing about render cost, latency, or what include_image/max_size change behaviorally.

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 tight sentences, front-loaded with the core action and followed by the notable option. No filler, though slightly telegraphic.

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 usefully sketches the return values, and safety is covered by annotations. The remaining gap is undocumented tuning parameters (max_size, include_image), which keeps it from being complete.

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 0%, so the description must compensate, and it only partially does: it explains 'version' format and 'compare=side_by_side' semantics, but leaves max_size and include_image entirely undocumented in both schema and description.

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 (render the project → preview image) plus the returns (timings, statistics). It implicitly distinguishes itself from export_image and compare_versions by scoping to previews, though it doesn't name those siblings 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?

Gives useful context for version selection ('original' or a history id) and mentions the side_by_side option, but never says when to choose this over export_image or compare_versions, nor any prerequisites.

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