Skip to main content
Glama

See slides as pictures

preview_slides
Read-onlyIdempotent

Pictures (PNG) of slides exactly as viewers see them, drawn by a browser on the server: check that the texts fit their blocks, that blocks do not lie over each other and that the slide looks right. At most 6 slides per call: the first ones of "slide_ids" or of "from_number".."to_number" (slide 1 by default). Every picture is "width" px wide. The answer also has the "layout_warnings" of those slides, measured in the same browser.

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the texts on the pictures (default: the language of the presentation).
slugYesThe presentation's slug (its address: /movie/<slug>/).
widthNoWidth of the pictures in px (default 960; more shows small text better, but a picture costs more to look at).
slide_idsNoOnly these slides (ids).
to_numberNoOnly the slides up to this number (inclusive).
from_numberNoOnly the slides from this number on (1-based).

Output Schema

NameRequiredDescriptionDefault
moreNoSlides asked for but not drawn (ask for them in another call).
slidesYes
slides_totalNo
layout_warningsNoHow the changed slides will probably look: texts too long for their blocks, blocks outside the slide, texts over each other (estimated -- look at them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / layout_warnings / items / properties / lang
      Added value: +{
      +  "description": "Only the text in this language has the problem.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnly/non-destructive annotations, it discloses that rendering happens in a server-side browser, that there is a hard cap of at most 6 slides per call, and that layout_warnings are returned alongside the images. It does not explain failure modes (e.g., rendering timeouts, what happens if a slide id is out of range), and the return payload is partly covered by the output schema.

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?

Densely packed with the essential facts (output type, renderer, cap, selection rule, width, warnings) and front-loaded with the core purpose. The sentences are long and slightly run-on, with a small amount of restatement of the schema's width behavior.

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?

For a read-only rendering tool with a full output schema and full schema coverage, the description covers purpose, limits, and selection behavior adequately. It leaves a gap only around how this relates to the sibling layout-check tool and around error conditions.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so parameters are already documented; the description adds precedence semantics not in the schema — that the 6-slide limit takes the first entries of slide_ids or of the from_number..to_number range, and that slide 1 is the default. That selection-order detail is genuinely useful and goes past the schema text.

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?

The description gives a concrete verb and resource ('Pictures (PNG) of slides ... drawn by a browser on the server') and immediately frames the output as a visual rendering, which separates it from sibling readers like get_slides or check_layout. It also states what the pictures are useful for, so the agent knows it is not just another slide-metadata call.

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

Usage Guidelines4/5

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

It gives a clear use condition: verify that text fits its blocks, blocks don't overlap, and the slide 'looks right' — i.e., visual QA where structural checks are insufficient. It does not, however, mention the obvious alternative check_layout or when that cheaper option should be preferred over rendering PNGs.

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