Skip to main content
Glama

產生網頁背景影片壓縮的 ffmpeg 指令

motion__web_video_ffmpeg
Read-onlyIdempotent

[網頁動畫工具箱]產生網頁背景影片壓縮的 ffmpeg 指令(H.264、VP9、AV1、poster)與 HTML video 語法。

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": "motion__web_video_ffmpeg"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNo
audioNo
inputNo
widthNo
outputNo
qualityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already state readOnlyHint=true, idempotentHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered. The description adds useful output content (which codecs and poster/HTML video snippets are produced), but critically does not say the tool only emits command text and never runs ffmpeg — a gap an agent could misread as an execution tool.

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?

A single tight sentence with zero filler and the key artifact front-loaded after the toolbox prefix. It is efficient, though the brevity comes at the cost of the missing parameter and behavior detail noted elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter code-generation tool with no output schema and 0% schema description coverage, the one-line description is not enough. It does not describe the shape of the returned commands/HTML, how quality maps to encoder settings, or what happens when input/output are omitted (0 required params).

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% for six parameters (fps, audio, input, width, output, quality), and the description does not explain a single one. The quality enum (high/balanced/small) is never tied to a codec or CRF/bitrate, and input/output path or audio stripping semantics are left entirely to guesswork.

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 gives a concrete verb (產生 / generate) plus a concrete artifact (ffmpeg command for web background video compression) and enumerates the target codecs (H.264, VP9, AV1, poster) and the HTML video syntax. It is clearly distinguishable from the motion__ siblings (easing, gradient, keyframes, browser support), though it never explicitly names them as alternatives.

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 through the phrase 網頁背景影片壓縮 (web background video compression), which conveys the scenario but not when to pick this over e.g. a browser-support or a11y checklist tool. There is no mention of prerequisites (whether ffmpeg must be installed locally, whether the tool executes anything) or which codec/quality path to choose.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources