Skip to main content
Glama

Check a file for faults

check_media
Read-onlyIdempotent

Check a file itself, as an automatic QC reads a delivered file: an upload, a clip the project made, a Library file, or a render (its id). Answers each finding with its start and end seconds, its frame numbers and what was measured, as fail or warn. On a render, each finding is read against the film it rendered: what the film planned (a hit, a transition, a fade, slow motion, Vidova's end card) is listed apart from what nobody planned. Use it on source footage before you slice it (a stray frame of another shot, a flash, a freeze) and on a render you want to check. A long file can answer with Job IDs: call wait_for_jobs with them, then check_media again, which answers from the stored result. Costs no credits.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "assetId": "<assetId>",
      "checks": "<checks>",
      "projectId": "<projectId>"
    },
    "name": "check_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
checksYespicture: short shots and stray frames between cuts, black frames, flashes, freezes, black bars, crushed or blown shots, soft shots. sound: loudness against -14 LUFS, true peak and clipping, silence, and noise and how the voice stands over the music where a transcript says words are spoken. footage: exposure, colour cast, contrast, sharpness, noise, shake and bars of a video as shot. null for every check that fits the file.
assetIdYesThe Asset ID of a video, sound or image (an upload, a clip the project made, a Library file), or a render's id from render_video or list_renders.
projectIdYesThe project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: it costs no credits, long files return Job IDs that must be passed to wait_for_jobs and then re-checked with check_media against the stored result, and renders are compared against what the film planned (hit, transition, fade, slow motion, end card) versus what nobody planned. The read-only annotations are consistent with this.

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

Conciseness4/5

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

Purpose is front-loaded in the first clause, and each subsequent sentence carries operational weight (return shape, render comparison, usage, job handling, cost). The sentences are long and dense with parenthetical asides, which slightly hurts scanability but does not waste words.

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, so the description must cover returns, and it does: finding structure, fail/warn status, the planned-versus-unplanned split for renders, and the asynchronous Job ID flow. For a three-parameter read-only QC tool, an agent has everything needed to call it and interpret the result.

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 the schema already explains checks, assetId, and projectId, including the enum meanings and the null fallback. The description reinforces what assetId accepts (an upload, a clip the project made, a Library file, or a render id) but adds no syntax or format detail the schema lacks. Baseline 3 applies when the schema carries the parameter load.

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 (check a file) and goes on to define what the tool produces: each finding with start and end seconds, frame numbers, what was measured, marked fail or warn. Distinguishes itself from generic inspection siblings by framing itself as an automatic QC pass and by describing the planned-vs-unplanned split for renders.

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?

Gives concrete when-to-use guidance: on source footage before slicing it (naming the faults it catches: a stray frame of another shot, a flash, a freeze) and on a render you want to check. It does not state when to prefer a sibling such as inspect_media or analyze_video instead, which is the one missing piece.

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.