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"). 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

TableJSON 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

TableJSON 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 / measured
      Added value: +{
      +  "description": "The texts were measured in a browser (false: estimated).",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A3.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, closed-world, so safety is covered. The description goes well beyond that: it explains the server-side browser measurement versus font-width estimation ('measured': true), the visible-content-only rule where text on a block without fill/border can spill into padding, and the cross-tool behavior that mutating operations return layout_warnings. That is meaningful behavioral context; only the exact response shape is left unstated.

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 purpose is front-loaded, but the body is a single dense paragraph with stacked parentheticals and long clauses ('The changing operations add the (estimated) warnings of the slides they changed to their answer'), which makes it harder to scan. Every element is informative, but the structure could be tightened into discrete points.

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 described, and the description fills in the diagnostic semantics (warning categories, measurement method, visibility caveat) an agent needs to interpret results. The main remaining gap is guidance on when to invoke it versus preview/get siblings, which is a usage rather than completeness issue.

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 description coverage is 100%, so slug, slide_ids, from_number and to_number are already documented in the schema. The description adds nothing about the selector parameters, which is acceptable given full coverage, so the baseline 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 states a specific verb-ish purpose (reporting warnings about how slides look) and enumerates the exact conditions it detects: overflow, cut/outside, overlap, with the quoted keywords an agent would see in output. It clearly separates this analysis tool from mutation siblings. It stops short of naming a sibling such as preview_slides or get_slides to route the agent, so it is clear but not fully differentiated.

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?

Implicit usage is conveyed: check layout to learn about text/code that overflows, is clipped, or overlaps. It also hints that changing operations already append layout_warnings, which tells the agent it may not need a separate call. However, there is no explicit when-to-use / when-not-to-use statement or named alternative, leaving the routing to inference.

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