Skip to main content
Glama

Inspect source frames

inspect_media
Read-onlyIdempotent

Looks INSIDE a source asset. Returns ONE contact sheet — every requested moment as a labelled cell in a single grid image — plus a per-cell fingerprint. Pass atSec (max 12 timestamps, seconds); combine with get_media's sceneSamples for an instant storyboard of the whole file. Shows the RAW source; use inspect_timeline for the composed cut. START WITH pixels:false WHEN YOU ARE ONLY CHECKING FOR EMPTINESS. The fingerprint answers 'is this black / flat / did it decode' for no image cost — nonBlankRatio near 0 is an empty or black frame, colorRange near 0 is a featureless one. Ask for pixels when you must judge WHAT is in the frame: subject, framing, legibility.

Input Schema

NameRequiredDescriptionDefault
atSecYesTimestamps in seconds, max 12.
tokenYesThe session token `connect` returned. Pass it on every call — it says which browser to drive.
pixelsNoFalse = fingerprints only, no image (default true).
columnsNoGrid columns (default 3, or one row if ≤3).
mediaRefYesAsset from get_media.
projectIdYesProject id from get_projects.
cellHeightNoTarget px height per cell (default 300). Shrunk automatically if the sheet would exceed the response budget — the reply says so when that happens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, so the burden is lighter; the description still adds real value by explaining that pixels:false costs no image and by defining the fingerprint metrics (nonBlankRatio near 0 = black/empty, colorRange near 0 = featureless). It does not discuss batching limits or failure modes beyond the 12-timestamp cap, which is in the schema.

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?

Front-loaded with purpose and output shape, then guidance, then interpretation hints. Every sentence carries actionable information; the only slight redundancy is restating the 12-timestamp cap already in the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description fully compensates by describing the return value (single grid image with labelled cells plus per-cell fingerprint) and how to read it. For a read-only inspection tool with 100% schema coverage, nothing an agent needs to call it correctly is missing.

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 the baseline is 3, but the description goes beyond the schema by explaining how to interpret the fingerprint values produced under pixels:false and by pairing atSec with get_media's sceneSamples. It makes the cost/benefit tradeoff of the pixels flag concrete rather than just restating its type.

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 (inspect frames inside a source asset) and precisely describes the output: one contact-sheet grid plus a per-cell fingerprint. It also explicitly distinguishes itself from the sibling inspect_timeline ('Shows the RAW source; use inspect_timeline for the composed cut'), so an agent can route correctly without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit conditional guidance: start with pixels:false when only checking for emptiness, request pixels when judging subject/framing/legibility. It names the alternative (inspect_timeline) and a complementary tool (get_media sceneSamples for a storyboard), covering when-to-use, when-not-to-use, and what to combine with.

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