Skip to main content
Glama

Preview a deck

preview
Read-only

Returns the deck's private preview link and its warnings first, then screenshots of the slides at 640×360 (every click-reveal shown; a slide that builds is also shown before any click), so you can check your own work: up to 12 slides a call; choose which with slides. Fix what you see with edit_deck and preview again.

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": {
      "deck_id": "<deck_id>"
    },
    "name": "preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoShoot in this colour mode.
stepNoShow only the first n click-reveals, to check a build part-way. Default: every reveal shown.
slidesNoSlide ids or numbers (1 = first) to shoot, at most 12. Default: the first 12.
deck_idYes
screenshotsNofalse for the link and warnings only. Default true.
compare_pairsNoWith compare_import: pairs to use instead of the guessed ones, as {"<slide id or number>": <original slide number>}.
compare_importNoAn import_id from get_import: each screenshot comes beside the picture of the original slide it was rebuilt from (original on the left), to compare before and after. Kept slides pair with their own original; the rest by shared pictures, titles, words in the body and notes, then order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this a safe read (readOnlyHint true, destructiveHint false), and the description still adds meaningful behaviour: the link and warnings are returned before screenshots, every click-reveal is rendered alongside the pre-click state, and there is a hard 12-slide-per-call ceiling. The compare_import layout ('original on the left') and the guessed pairings are also disclosed, though nothing is said about failure modes or how the private link is scoped.

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?

The core is a single front-loaded sentence that puts the return ordering and slide limit first, followed by one short action sentence pointing at edit_deck. A few clauses repeat schema facts, but there is no filler or hedging.

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 seven parameters, a nested compare_pairs object and no output schema, the description carries the return-shape burden well by describing the link, warnings and screenshot ordering. The remaining gap is the absence of any error, permission or truncation behaviour for a tool that caps slides at 12.

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 86%, so the schema already documents mode, step, slides, screenshots, compare_import and compare_pairs. The description largely restates the schema ('choose which with slides', 'up to 12 slides a call') and adds little syntax or default information that the parameter descriptions do not already carry, so the baseline of 3 applies.

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 names a specific verb and resource ('Returns the deck's private preview link ... then screenshots of the slides') and specifies the rendering resolution and per-call slide cap, so the action is concrete. It references edit_deck as the follow-up tool but never contrasts itself with preview_sheet, so the sibling boundary is left implicit.

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?

'so you can check your own work' plus 'Fix what you see with edit_deck and preview again' establishes the preview-edit-preview loop, which is real usage guidance for the repair workflow. It stops short of saying when to reach for preview_sheet instead, so the alternative selection is only partially covered.

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.