Skip to main content
Glama

inspect_cuts

Render 10 fps filmstrips around each cut boundary in an edited video and run an EBU R128 loudness check to verify transitions and audio levels.

Instructions

Render 0.1-second (10 fps) filmstrips from -0.3s to +0.3s around every cut boundary in an edited video and run an EBU R128 loudness check.

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": {
      "input_path": "<input_path>",
      "outdir": "<outdir>"
    },
    "name": "inspect_cuts"
  }
}

Input Schema

NameRequiredDescriptionDefault
cutsNoOptional explicit cut timestamps in seconds (auto-detected if omitted).
outdirYesOutput directory for cut-boundary JPEG sheets.
input_pathYesPath to edited video file.
return_imagesNoReturn generated sheets inline as base64 JPEG content blocks (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It usefully discloses the sampling window, frame rate, and the parallel loudness check, but omits cost/runtime (rendering many filmstrips is heavy), whether files in outdir are overwritten, and what happens when no cuts are detected or the media lacks audio.

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?

A single, tightly packed sentence with the visual output described up front and the loudness check appended. Every clause carries information; only the redundant '0.1-second (10 fps)' pairing is minor padding.

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

Completeness3/5

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

For a four-parameter tool with no annotations and no output schema, the definition covers the visual side adequately but leaves the second half of its own promise vague: it never says what the EBU R128 result looks like or how it is returned. The schema covers paths and the inline-image toggle, so the gaps are moderate rather than crippling.

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 all four parameters are already documented, including the auto-detection fallback for cuts and the base64 inline-return flag. The description only adds contextual framing (the -0.3s/+0.3s window, 10 fps) rather than new per-parameter meaning, 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 names a specific verb (render) plus the exact resource (10 fps filmstrips at -0.3s to +0.3s around every cut boundary) and bundles an EBU R128 loudness check. That is far more specific than the sibling names imply, though it never explicitly contrasts itself with checks like inspect_clip_metadata.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus alternatives, no prerequisites (edited video with detectable cuts, audio track for R128), and no exclusions. The domain context implies cut verification, but the agent must infer that entirely.

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