Skip to main content
Glama

Inspect Local Audio/Video File

media_info
Read-only

Inspect local audio or video metadata—duration, bitrate, resolution, codecs, and streams—using FFprobe with zero upload, keeping files on disk for private media analysis.

Instructions

Inspect duration, bitrate, resolution, codecs, and streams of a local audio or video file using local FFprobe. Zero upload. Powered by SolveMyMedia.

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": {
      "inputPath": "<inputPath>"
    },
    "name": "media_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputPathYesLocal audio or video file path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuinely useful behavior beyond that: 'Zero upload' / 'local FFprobe' tells the agent the file never leaves the machine and which engine inspects it, plus it discloses the returned fields. It stops short of stating failure behavior for unsupported or corrupt files.

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 verb and the inspected attributes; the 'Zero upload' fragment is a high-value constraint. The trailing 'Powered by SolveMyMedia' is promotional rather than operational and is the one sentence that does not earn its place.

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?

For a single-parameter read tool with no output schema, the description adequately enumerates what is returned (duration, bitrate, resolution, codecs, streams) and how it runs locally. What remains missing is guidance on unsupported formats or errors, which would matter for real-world invocation.

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?

With a single parameter at 100% schema coverage, the schema already documents inputPath as 'Local audio or video file path'. The description adds only the adjective 'local' and no guidance on path format (absolute vs relative) or accepted file types, so this is the baseline 3.

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 ('Inspect') plus a concrete resource ('a local audio or video file') and enumerates exactly what is reported (duration, bitrate, resolution, codecs, streams). The 'local audio or video file' scoping implicitly separates it from the image_/pdf_ siblings, though it never explicitly contrasts itself with them.

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?

Usage is only implied: an agent can infer this is the tool to call when it needs metadata about an already-local media file. There is no explicit when-to-use, no exclusions (e.g. unsupported containers, remote URLs), and no named alternative such as image_info or pdf_info for other file types.

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