Skip to main content
Glama

Reelfinery

edit_video

Read-only

剪辑已有视频(本地 ffmpeg,零 API 成本):裁剪/转竖版/烧字幕/拼接/配音轨(attach_audio 可替换或混音)/图片叠加(overlay_image 角标logo贴纸)。input 可用 upload_asset 上传后返回的本地路径或 URL。原文件不会被修改。

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": {
      "input": "<input>",
      "ops": "<ops>"
    },
    "name": "edit_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
opsYes操作序列,按顺序执行
inputYes输入视频:本地绝对路径或公开 URL
outputNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with '原文件不会被修改' while adding genuinely new context: processing runs locally via ffmpeg at zero API cost. It stops short of describing the returned artifact or where the edited file lands, which is the main behavioral gap.

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 operation list are front-loaded in the opening clause, followed by two short sentences on input sourcing and non-destructiveness. Dense but every clause carries information; no filler.

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

Completeness3/5

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

For a three-parameter, no-output-schema tool, the description covers ops and input well but never states what the tool returns or where the output file is written, and the outputName parameter is undocumented in both schema and description. An agent can invoke it, but cannot predict the result handle.

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 67%, so the schema already documents several op fields. The description still adds value by explaining what each op type does (e.g. reframe to vertical, burn subtitles, attach_audio replace-vs-mix, overlay_image logo/sticker) and by clarifying that input accepts either a local path from upload_asset or a URL. outputName is left unexplained.

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?

States a specific verb and resource (剪辑已有视频) and enumerates the concrete operation set (trim/reframe/caption/concat/attach_audio/overlay_image), plus the local-ffmpeg execution model. An agent can distinguish this from generate_video or create_video_job without opening the schema.

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

Usage Guidelines4/5

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

The framing '剪辑已有视频(本地 ffmpeg,零 API 成本)' makes the use case clear (editing an existing file, no API cost) and names upload_asset as the way to obtain the input path. It does not explicitly exclude alternatives or say when to prefer a sibling such as create_video_job, so guidance is clear but not exhaustive.

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