Skip to main content
Glama

Inspect actual video alpha samples

inspect_video_alpha
Read-onlyIdempotent

Reads a local video path and inspects decoded alpha samples to verify real transparency and visible pixels across sampled frames, not just metadata.

Instructions

Read a relative video path within explicitly configured BGREMOVER_MEDIA_ROOT and use installed FFmpeg/ffprobe to inspect decoded alpha samples. Supports VP8/VP9, ProRes, H.264 in WebM/MKV/MOV/MP4. Metadata alone is not proof. Read-only, max 64 MiB, 120 s video, 30 s processing; no full-frame audit or uploads.

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": {
      "relativePath": "<relativePath>"
    },
    "name": "inspect_video_alpha"
  }
}

Input Schema

NameRequiredDescriptionDefault
relativePathYes
visibleAboveNo
sampleFractionsNo
minPixelFractionNo
transparentBelowNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/closed-world, yet the description adds hard operational limits (64 MiB, 120 s video, 30 s processing), external dependencies (installed FFmpeg/ffprobe, configured BGREMOVER_MEDIA_ROOT), and an explicit scope exclusion (no uploads, no full-frame audit). That is substantial context beyond what annotations provide.

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?

Front-loaded with the core action and path constraint, then limits and exclusions, with no filler sentences. The semicolon-compressed style is slightly telegraphic ('Metadata alone is not proof' is asserted without context), but every clause carries information.

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?

With no output schema, the description never indicates what an inspection returns (per-sample alpha stats? pass/fail?), and with 0% schema coverage the threshold parameters stay opaque. It is adequate on operational constraints but incomplete on return shape and parameter meaning for a five-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, so the description carries the full burden, and it only clarifies relativePath (relative to BGREMOVER_MEDIA_ROOT). The alpha thresholds (visibleAbove, transparentBelow, minPixelFraction) and sampleFractions are never explained in prose, leaving their meaning and interaction undocumented anywhere.

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?

States a specific verb+resource ('inspect decoded alpha samples' from a 'relative video path') and scopes it with supported codecs/containers and the BGREMOVER_MEDIA_ROOT constraint. It implicitly differentiates from analyze_alpha_plane via 'no full-frame audit', but never names that sibling, so an agent must infer the split.

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?

'Metadata alone is not proof' plus 'no full-frame audit' signals this is the sample-level verification tool rather than a full audit, which is real guidance. However, it never explicitly says when to prefer analyze_alpha_plane or what conditions make this tool the wrong choice, leaving routing to inference.

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

Deploy Server

Other Tools