Skip to main content
Glama

Check how slides will look

check_layout
Read-onlyIdempotent

Warnings about how the slides of a presentation look: a text that runs past its block or code that is cut off ("overflow"), a block partly or wholly outside the slide ("cut", "outside"), text blocks lying over each other ("overlap"), in every language of the site (a warning only a translation has carries its "lang"). Texts and code are measured in a browser on the server ("measured": true); when that is not available their sizes are estimated from the letter widths of the font. Only what shows counts: a text on a block without fill or border may run into the bottom padding. The changing operations add the (estimated) warnings of the slides they changed to their answer ("layout_warnings").

Input Schema

NameRequiredDescriptionDefault
slugYesThe presentation's slug (its address: /movie/<slug>/).
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
checkedYesSlides checked.
measuredNoThe texts were measured in a browser (false: estimated).
warningsYesHow 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 / warnings / items / properties / lang
      Added value: +{
      +  "description": "Only the text in this language has the problem.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / measured
      Added value: +{
      +  "description": "The texts were measured in a browser (false: estimated).",
      +  "type": "boolean"
      +}
  3. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds genuinely useful context beyond that: measurements run in a server-side browser when available and fall back to font-width estimation ("measured": true), and edited slides carry their warnings into mutation responses as "layout_warnings". It stops short of disclosing cost or latency of the browser measurement, which is the main behavioral risk for an agent deciding to call it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The warning taxonomy is front-loaded, which is good, but the prose is roundabout and parenthesis-heavy, and the highly situational caveat about text running into bottom padding on unfilled blocks consumes a full sentence. The most decision-relevant fact for an agent - that mutations already attach layout_warnings - is buried at the very end.

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 explained, and the description still covers the interpretation caveats an agent needs (measured vs. estimated sizes, language tagging, only-visible-content rule). For a read-only diagnostic with full schema coverage this is essentially complete, though it omits any hint about cost or how many slides a range check can handle.

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 100%, so slug, slide_ids, from_number and to_number are all documented in the schema; baseline 3 applies. The description adds nothing about the relationship or precedence between slide_ids and the number range filters, and the "lang" it mentions is an output attribute of warnings, not an input, so no extra parameter meaning is conveyed.

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 states a specific capability: it returns warnings about how presentation slides will look, and enumerates the concrete warning classes ("overflow", "cut", "outside", "overlap") plus per-language reporting. The purpose is unambiguous, but it never explicitly contrasts itself with the visual sibling preview_slides, leaving the agent to infer the distinction between a rendered preview and a diagnostic warning list.

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?

Usage is only implied: the warning taxonomy suggests the tool is for validating layout before export or publish, and the final sentence hints that mutating operations already return layout_warnings. There is no explicit statement of when to call this versus preview_slides, and no guidance about when a full check is unnecessary.

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