Skip to main content
Glama

Import a video link

import_video_from_url

Import a public video link without starting generation. Use before video_to_video for external links. Returns fileImportId immediately; poll get_video_url_import. A link with several videos imports the first one unless videoIndex (one-based) names another. A successful import returns fileId for video_to_video.videoFileId. Private, login-only and protected sources may be unavailable.

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": {
      "url": "<url>"
    },
    "name": "import_video_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
videoIndexNo

Output Schema

NameRequiredDescriptionDefault
fileImportIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations disclose the safety profile (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false), and the description adds the async contract that annotations cannot convey: an immediate fileImportId, polling via get_video_url_import, and a fileId on success. It also flags the multi-video edge case and the failure mode for gated sources, which is exactly the operational context an agent needs.

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?

Five short sentences, each carrying distinct information: purpose, ordering, return contract, edge case, failure mode. The most decision-relevant facts (what it does and when to use it) are front-loaded with no filler.

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?

An output schema exists, yet the description still links the returned identifiers to the sibling tool's input field (fileId → video_to_video.videoFileId), which is pipeline knowledge an agent cannot derive from the schema alone. Combined with the polling instruction and failure caveat, nothing needed to call this correctly is missing.

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 0%, so the description must carry parameter meaning, and it does for videoIndex: one-based, names a non-default video, and the default is 'first video' when omitted. It also constrains the url to public, non-login-only sources. It stops short of stating the URL length or format limits that the schema declares but does not describe.

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 opens with a specific verb+resource ('Import a public video link') and immediately scopes it negatively ('without starting generation'), which separates it from the many generation siblings like prompt_to_video_clip and video_to_video. It also names the downstream consumer, so an agent knows exactly where this tool sits in the pipeline.

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?

Explicit when-to-use ('Use before video_to_video for external links'), explicit follow-up step ('poll get_video_url_import'), and an explicit limitation (private/login-only/protected sources may be unavailable). The alternative path is named without needing to inspect any schema.

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.