Skip to main content
Glama

Extend video

extend_video

Continue an existing clip by a few seconds. Costs 15 credits per added second. Consumes the user's FreeLLM credits; confirm with the user before calling. Failed jobs are free. Returns a task_id immediately; call get_task with it every 15-30 seconds until status is success or failed.

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": {
      "video_url": "<video_url>"
    },
    "name": "extend_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNoWhat should happen in the new part
video_urlYesPublic URL of the clip to continue
duration_secondsNoSeconds to add

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare openWorld mutation and non-idempotency, but the description adds the pricing model (15 credits per added second), the billing source (FreeLLM credits), the consent requirement, and the no-charge-on-failure policy. Those are real operational consequences an agent cannot infer from readOnlyHint/destructiveHint alone.

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?

Four short sentences, each carrying distinct load: purpose, price, consent gate, failure policy, and return/polling contract. The consent warning sits alongside the cost that motivates it, and nothing is repeated from the schema.

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?

There is no output schema, yet the description explains exactly what comes back (a task_id) and how to convert it into a result via get_task. For an async, credit-consuming mutation this covers cost, consent, failure handling, and result retrieval with nothing an agent needs missing.

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 coverage is 100%, so prompt, video_url, and duration_seconds are already fully documented, including the 1-10 second bounds. The description only alludes to "added second" for pricing, adding no format or constraint detail beyond the schema, so the baseline 3 applies.

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?

"Continue an existing clip by a few seconds" gives a specific verb (continue/extend) and resource (an existing clip), and the word "existing" implicitly separates it from create_video without needing the schema. An agent can tell immediately this is a mutation on an already-generated asset.

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?

It states when to call (continuing an existing clip), the prerequisite (confirm with the user because credits are consumed), and the mandatory follow-up workflow (poll get_task every 15-30 seconds until success or failed). That is explicit when/when-not and a named alternative path, not implied usage.

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