Skip to main content
Glama

Check text position against platform UI

check_text_position
Read-onlyIdempotent

Checks whether a rectangular text box (caption, title or logo) on a vertical video frame stays inside the safe zone of Instagram Reels, TikTok, YouTube Shorts or Instagram Stories. Reports which interface element it overlaps (top bar, bottom caption area, right button column, edge margins, optionally the Reels comment-reply sticker) and suggests the nearest position that clears them. Coordinates are pixels from the top-left corner of the frame.

Input Schema

NameRequiredDescriptionDefault
xYesLeft edge of the text box in pixels, measured from the left of the frame.
yYesTop edge of the text box in pixels, measured from the top of the frame.
widthYesText box width in pixels.
heightYesText box height in pixels.
platformYesVertical video platform: 'reels' (Instagram Reels), 'tiktok', 'shorts' (YouTube Shorts), 'story' (Instagram Stories) or 'all' (the strictest margins of all four combined).
canvas_widthNoFrame width in pixels. Default 1080.
canvas_heightNoFrame height in pixels. Default 1920.
include_comment_stickerNoReels only: also test against the comment-reply sticker band (approximately y 300-560 px on 1080x1920). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that by disclosing output behavior: which overlapping UI element is reported and that a nearest-clearing position is suggested. It stops short of stating what is returned when there is no overlap.

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

Conciseness5/5

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

Three sentences, front-loaded with the core check, followed by the reported outcome and the coordinate convention. Every sentence carries information an agent needs and there is no filler.

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 does the work of explaining the two return components and the 'all' platform option is spelled out in the schema. Only the no-overlap case and the boundary of the comment-sticker option (already in schema) are unaddressed, which is minor for a read-only validation tool.

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 all eight parameters including the platform enum and the comment-sticker band are already documented. The description only restates the pixel/top-left coordinate convention and clarifies that the box represents a caption, title or logo — marginal added meaning, so the baseline 3 applies.

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?

States a specific verb and resource ('Checks whether a rectangular text box ... stays inside the safe zone'), names the four platforms, and describes the two-part outcome (overlap report + suggested position). An agent can distinguish this from get_safe_zone, which by name returns zone geometry rather than validating a specific box.

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 implied by the description (validate a caption/title/logo rectangle before export), but there is no explicit when-to-use or when-not-to-use guidance and no reference to get_safe_zone or export_settings as alternatives. Nothing is misleading, but the routing decision is left 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