Skip to main content
Glama

Inspect a video or audio file

probe_media
Read-only

Inspect a video or audio file to obtain duration, size, frame rate, loudness, filmstrip, frames, waveform, and timed transcript before editing.

Instructions

Look at a video or audio file in the media library: duration, size, frame rate, loudness, a filmstrip of timestamped frames, frames at chosen seconds, the waveform, and for speech every word with its time and the same words as numbered beats. Read it before edit_footage. Free: budgetUsd (default 2, max 10) is held while it runs and released. Needs the write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namesNoThe brand, product and domain names the transcript must spell the owner's way, comma-separated: "ShapelessAI, shapelessai.com".
framesNoSpecific seconds to see, comma separated: "0, 4.5, 12". Up to 16. Omit for the filmstrip across the whole clip, which is usually what you want first.
waveformNoAlso attach the audio as a waveform image with a second-ruler along it.
budgetUsdNoOptional: the most this call may spend, in dollars, default 2, max 10.
media_keyYesThe item to look at, as a mediaKey from media_library or any tool that returned one.
transcriptNoTime the words (on by default for anything with sound under eight minutes). false skips it - a music track, a clip you have already read.
frame_countNoHow many frames the filmstrip holds. 12 by default.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
mediaYes
outputNoThe tool's own result, shaped by the tool.
chargedUsdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive/non-openWorld, so the bar is lower, yet the description adds real value: the budgetUsd hold-and-release cost mechanic (default 2, max 10), the write-scope auth requirement, and the fact that it returns an actual filmstrip and timestamped words. The "needs the write scope" note sits oddly beside readOnlyHint but is an auth disclosure rather than a behavioral contradiction.

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?

Purpose is front-loaded, the capability enumeration is dense but each item is distinct and useful, and the closing sentences carry the sequencing, cost, and auth facts with zero filler. Appropriately sized for a seven-parameter tool.

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 an output schema present the description need not explain return values, yet it still covers purpose, sequencing, cost, and auth. The only friction is the write-scope note against a readOnly annotation, which a caller might read as ambiguous but not contradictory.

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 the schema already documents all seven parameters including defaults and the max:24 frame_count bound. The description restates budgetUsd's default/max and hints at the filmstrip-vs-frames tradeoff, adding only marginal meaning beyond the structured fields.

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?

Specific verb plus resource (look at / inspect a video or audio file in the media library) followed by an explicit enumeration of what it exposes: duration, size, frame rate, loudness, filmstrip, chosen frames, waveform, and time-aligned transcript. It is clearly distinguishable from sibling write tools like edit_footage, which it explicitly references.

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?

"Read it before edit_footage" gives concrete sequencing guidance against a named sibling, and media_key's schema text points at media_library as the source of the key. There is no explicit when-not guidance (e.g., for still images or already-transcribed clips beyond the transcript flag), so it stops short of full alternative routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.