Skip to main content
Glama

Create a proxy file

create_proxy_file

Encodes a small H.264/AAC proxy of heavy footage for editing, preserving duration, frame rate, audio streams, and start timecode while lowering resolution without upscaling.

Instructions

Encode a small H.264 + AAC copy of a video file for smooth editing of heavy footage (4K, long-GOP, RAW transcodes): same duration, frame rate, audio streams and start timecode, lower resolution. Never upscales. Attach the result to the project item with attach_proxy. Returns the proxy's size, frame size and duration, the source's, and size_percent_of_source. Works on the file on disk with ffmpeg, not on the timeline; Premiere Pro is not needed. ffmpeg and ffprobe must be installed (see check_ffmpeg), else FFMPEG_NOT_FOUND.

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>",
      "output_path": "<output_path>"
    },
    "name": "create_proxy_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path of the media file on this computer.
heightNoProxy frame height in pixels, 120-2160; the width follows the aspect ratio. Default 540. Sources that are already smaller keep their size.
qualityNox264 CRF, 0-51: lower is better and bigger, 18 near-lossless, 28 small. Default 23.
overwriteNoReplace output_path if it already exists. Default false: an existing file makes the tool fail with FILE_EXISTS.
output_pathYesAbsolute path of the proxy to write (.mp4 or .mov); missing folders are created. A common convention is a Proxies folder next to the source and a _Proxy suffix.
timeout_secondsNoStop ffmpeg and fail with TIMEOUT after this many seconds. Default 3600.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the mutation/safety profile, and the description adds substantial behavior beyond that: it writes a new file to disk via ffmpeg, requires ffmpeg and ffprobe with a named error (FFMPEG_NOT_FOUND), can fail on existing output (FILE_EXISTS) and on time limits (TIMEOUT). It also enumerates what the result reports (proxy size, frame size, duration, source equivalents, size_percent_of_source).

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?

Purpose and target use case are front-loaded, and each following sentence covers a distinct concern (next step, return values, environment, prerequisites). The first sentence is dense with parenthetical asides, which slightly slows scanning, but no sentence is filler.

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?

With no output schema, the description still explains the return payload in prose, and it covers the prerequisite tooling and failure modes for an ffmpeg-based operation. For a six-parameter file-writing tool with annotations covering only the safety profile, this is complete enough to invoke correctly.

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?

Schema coverage is 100%, so the schema already documents all six parameters including height, quality, overwrite and timeout defaults. The description reinforces the key semantic of height ('lower resolution', 'Never upscales') and the output/source comparison, adding a little meaning beyond the schema, but most parameter detail is carried by the schema itself.

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 opens with a specific verb and artifact: 'Encode a small H.264 + AAC copy of a video file', then scopes it to 'heavy footage (4K, long-GOP, RAW transcodes)'. It also states what is preserved (duration, frame rate, audio streams, start timecode) and what is not done ('Never upscales'), so an agent can distinguish it from a general encode tool.

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 gives a concrete when-to-use condition ('smooth editing of heavy footage'), clarifies scope ('works on the file on disk, not on the timeline; Premiere Pro is not needed'), and routes the agent onward to the correct siblings: attach_proxy for the result and check_ffmpeg for the prerequisite. Nothing about tool selection is left 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