Skip to main content
Glama

media_probe_file

Read-only

Analyze a local media file with ffprobe to retrieve codec, resolution, frame rate, audio layout, and bitrate for validation or planning edits.

Instructions

Technical analysis of a source file with ffprobe (codec, resolution, fps, audio layout, bitrate). Requires FFmpeg.

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": {
      "path": "<path>"
    },
    "name": "media_probe_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute local file path

Output Schema

NameRequiredDescriptionDefault
okYesTrue only when DaVinci Resolve confirmed the operation.
dataNo
toolYes
errorNo
sourceNoWhere the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone.
statusYes
messageYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact beyond that — the tool shells out to ffprobe and depends on FFmpeg being installed — but says nothing about failure modes such as a missing path, a non-media file, or an FFmpeg-less environment.

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?

One compact sentence with the tool's identity and output fields front-loaded, plus a short dependency note — nothing wasted. It reads as a noun phrase rather than a complete clause, but the information density is high.

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?

An output schema exists, so return values need no prose explanation, and the lone required parameter is fully documented in the schema. What remains thin is error/edge behavior (non-media files, missing FFmpeg), which matters somewhat for a probing tool but not enough to call the definition incomplete.

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% for the single 'path' parameter, so the schema already states it must be an absolute local file path. The description adds no constraint, format example, or caveat beyond that, which is the expected baseline when the schema does the work.

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 resource ('a source file') and a specific operation ('technical analysis with ffprobe'), and enumerates the returned attributes (codec, resolution, fps, audio layout, bitrate), which implicitly separates it from narrow siblings like media_get_resolution or media_get_frame_rate. It never explicitly says how it differs from media_get_info, so it stops short of full sibling differentiation.

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 when-to-use guidance at all: nothing tells the agent to prefer this over media_get_info, media_get_metadata, or the single-property getters. 'Requires FFmpeg' is a prerequisite, not a usage rule, and no exclusion or alternative is named.

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