Skip to main content
Glama

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

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

Input Schema

NameRequiredDescriptionDefault
fpsNo
audioNo
inputNo
widthNo
outputNo
qualityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/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, and non-destructive, so an agent can tell this is a safe, non-mutating generator. The description usefully clarifies that the output is a command string plus HTML snippet rather than an executed encode, but it does not say whether ffmpeg runs, what the output format looks like, or any limits.

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, compact sentence with the core purpose and the supported outputs front-loaded, and zero filler. It is efficient, though its brevity is a large part of why the parameter gap remains.

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 six-parameter generator with no output schema and no example, the description does far too little: an agent is given no idea how to choose among high/balanced/small quality, what units width and fps use, or whether audio stripping is controlled by a flag. The codec list and HTML mention are the only substantive content.

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

Parameters1/5

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

Schema description coverage is 0% and there are six parameters (input, output, width, fps, audio, quality), none of which are explained anywhere. The description mentions no parameters at all; it doesn't map codecs to quality, or say what input/output mean, so it fully fails to compensate for the coverage gap.

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 has a clear verb ("產生" / generate) and names the concrete resource: ffmpeg commands for web background video compression, with the supported codecs (H.264, VP9, AV1, poster) and companion HTML video markup. It's clearly distinguishable from the animation siblings, but it doesn't explicitly contrast 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 Guidelines2/5

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

There is no explicit guidance on when to use this tool versus alternatives, no mention of prerequisites, and no exclusions. Usage is only implied by the phrase "網頁背景影片壓縮" (web background video compression), leaving the agent to infer the conditions.

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