Skip to main content
Glama
AbyAbyss

ffmpeg-mcp-video-editor

by AbyAbyss

Cancel a job

cancel_job

Stop a queued or running video processing job. Cancels queued tasks immediately and terminates active ffmpeg subprocesses, even if started by another process.

Instructions

Stop a queued or running job.

A queued job is cancelled immediately. A running one is asked to stop: the worker that owns it terminates the ffmpeg subprocess within a second or so, which works even when the job was started by a different process such as the local UI. Jobs that already finished are left alone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesJob id returned when the work was queued.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes
statusYes
messageYes
cancelledYes
Behavior5/5

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

The description adds rich behavioral details beyond the annotations: queued jobs are cancelled immediately, running jobs are gracefully requested to stop, the worker terminates the ffmpeg subprocess within about a second, it works even if the job was started by a different process like the local UI, and finished jobs are untouched. This provides a clear picture of side effects and operational behavior, which the annotations (readOnlyHint false, destructiveHint false) do not convey.

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 three sentences, front-loaded with the core action. The second sentence provides necessary nuanced behavior for running jobs, and the third covers the edge case of finished jobs. Every sentence adds value and there is no waste or redundancy.

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?

Given the tool's simplicity (one parameter) and the presence of an output schema, the description is complete. It covers all relevant job states (queued, running, finished) and even mentions cross-process behavior. There is no missing context that would confuse an agent about when or how to invoke this tool.

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

Parameters3/5

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

The input schema has full coverage (100%) for the single parameter job_id, with description 'Job id returned when the work was queued.' The tool description does not add any additional parameter semantics, but the schema already provides sufficient meaning. Thus the baseline of 3 applies without needing extra compensation.

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 clearly states the tool's function: 'Stop a queued or running job.' The verb 'stop' (or cancel) plus the resource 'job' is specific and unambiguous. It distinguishes itself from sibling tools like job_status or job_result, which are about querying rather than cancelling, and there is no other cancellation tool among the siblings.

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 description provides clear context on when to use the tool (for queued or running jobs) and explicit when-not guidance ('Jobs that already finished are left alone'). It does not name alternative tools, but the distinction is clear enough given that no other sibling tool performs cancellation, so the exclusion of finished jobs effectively covers when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AbyAbyss/ffmpeg-mcp-video-editor'

If you have feedback or need assistance with the MCP directory API, please join our Discord server