Skip to main content
Glama

Check ffmpeg availability

check_ffmpeg
Read-onlyIdempotent

Verifies that ffmpeg and ffprobe are runnable, reporting their versions and locations so you can confirm media analysis tools will work before decoding or probing files.

Instructions

Report whether ffmpeg and ffprobe can be run by this server, with their versions and locations. Every analysis tool that decodes, probes or writes media needs both (the checksum and folder tools do not). Premiere Pro is not needed. Never fails: when a program is missing it returns available=false and a hint that says how to install it. The programs are taken from the environment variables PMCP_FFMPEG / PMCP_FFPROBE when set, otherwise from PATH.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_ffmpeg"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive check. The description adds substantive behavior beyond that: the tool never fails, missing programs return available=false with an install hint, and binaries are resolved from PMCP_FFMPEG/PMCP_FFPROBE before PATH.

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

Conciseness5/5

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

The description is four compact sentences, front-loading what is reported and then covering dependency scope, failure behavior, and binary resolution. Every sentence adds operational value.

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?

For a zero-parameter diagnostic with no output schema, the description supplies enough detail: what is checked, what is returned on success, what happens on failure, and where binaries are located. An agent can call it correctly and interpret the result without further context.

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

Parameters4/5

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

There are no parameters, so the baseline is 4. The description still adds useful configuration semantics by explaining the PMCP_FFMPEG/PMCP_FFPROBE environment-variable override and PATH fallback.

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?

The description states a specific verb and resource: report whether ffmpeg and ffprobe can be run, including their versions and locations. It clearly distinguishes this diagnostic check from the media-processing tools that depend on those programs.

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

Usage Guidelines5/5

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

It explicitly says which tools need the check (analysis tools that decode, probe or write media) and which do not (checksum and folder tools). It also notes Premiere Pro is not required, making the scope unambiguous.

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