Skip to main content
Glama

Submit Video Edit Task

submit_video_edit_task
Destructive

Edits a source video using instructions and optional image/audio references. Preserves the source duration and aspect ratio; source length is validated upstream. May consume existing Fotor credits. Returns a task ID without waiting for completion; use get_task to check its status once. This tool does not poll for completion. Repeating the request may create another task and consume additional credits. Do not automatically retry when the submission outcome is uncertain. This tool does not purchase credits or initiate a checkout flow.

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": {
      "model_id": "<model_id>",
      "prompt": "<prompt>",
      "video_url": "<video_url>"
    },
    "name": "submit_video_edit_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesDescribe the desired content, style and changes.
model_idYesModel ID from list_models; inspect its supported mode and parameters first.
audio_urlNoOptional single HTTPS reference audio URL; independent of audio_enable.
video_urlYesSource video HTTPS URL. OpenAPI probes its duration and requires 4-30 rounded-up seconds.
image_urlsNoOptional ordered HTTPS reference images. <<<image_n>>> references use 1-based numbering.
resolutionNoNative output resolution from list_models; auto uses the model default.auto
audio_enableNoGenerate native video audio; requires native_audio support. Independent of reference audio.

Output Schema

NameRequiredDescriptionDefault
statusNoSubmission accepted; generation is not yet confirmed complete.submitted
task_idYesFotor task ID for get_task.
model_idYesModel ID used for this task.
media_typeYesGenerated media category.
credits_incrementNoReported task credit cost; not an additional charge on each query. Null if unavailable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true; the description builds on that with the reason — possible Fotor credit consumption and the warning that repeating a request 'may create another task and consume additional credits'. It also discloses upstream duration validation (4-30s per schema) and that it declines to poll, none of which is recoverable from the annotations alone.

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?

Front-loaded with the core action, then the invariants, then the async/credits/retry warnings — good ordering with no wasted preamble. There is mild redundancy between 'Returns a task ID without waiting for completion' and 'This tool does not poll for completion', though the repetition is arguably deliberate reinforcement of a costly mistake.

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?

For a destructive, credit-consuming, non-idempotent async submission with an output schema already covering returns, the description covers everything an agent needs to act safely: cost, async handoff to get_task, retry prohibition, and what the tool will not do. No material gap remains.

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?

Schema description coverage is 100%, so all seven parameters, including the audio_enable/audio_url independence and the 1-based <<<image_n>>> numbering, are already documented in the schema. The description adds only marginal semantics, mainly that source length is validated upstream and that references are optional; it does not restate or clarify individual parameter behavior.

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?

States a specific verb and resource: 'Edits a source video using instructions and optional image/audio references', plus the invariant that source duration and aspect ratio are preserved. This distinguishes it implicitly from text-to-video siblings that have no source video, though it never names the closer alternatives such as submit_video_recreation_task or submit_multimodal_video_task, so an agent must infer the boundary.

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?

Gives explicit routing: returns a task ID without waiting, then 'use get_task to check its status once', with the negative statement 'This tool does not poll for completion'. It also names conditions to avoid acting — 'Do not automatically retry when the submission outcome is uncertain' and 'This tool does not purchase credits or initiate a checkout flow' — which is exactly the when/when-not guidance the dimension asks for.

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