Skip to main content
Glama

Import a video from a URL

import_video_from_url

Create a video in the connected account by importing it from a public URL (direct file link). DCAST downloads, stores and transcodes it. Poll with get_import_status.

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
urlYesPublic direct link to the video file
titleNoTitle of the new video
visibilityNoPUBLIC (listed), LINK_ONLY (by link, not listed) or PRIVATE (owner only)
descriptionNoDescription of the new video

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Beyond the annotations it discloses that DCAST downloads, stores and transcodes the asset, so the agent knows the operation is async and resource-consuming. However, it never states that the call returns a job/import identifier to poll with, nor anything about supported formats, size limits, duplicate-import behavior, or what happens on failure — meaningful gaps even with annotations present.

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?

Three short sentences: action and source first, processing behavior second, next step third. Every sentence earns its place with no filler.

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

Completeness4/5

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

For a simple 4-parameter creation tool with full schema coverage and no output schema, the description covers the essential lifecycle by pointing to get_import_status. The main omission is how the agent obtains the handle used for polling, which leaves a small procedural gap.

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%, with each of the four parameters documented including the visibility enum, so the schema carries the semantics. The description adds nothing about parameter meaning beyond the schema, which is the expected baseline here.

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?

Names a specific verb and resource (create a video by importing from a public URL) and qualifies the source as a 'direct file link', which excludes page URLs. It does not explicitly contrast with the sibling create_video_upload, so the agent must infer that local-file uploads belong elsewhere.

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?

Gives clear operating context (URL must be public and direct) and names the follow-up tool: 'Poll with get_import_status', which signals the operation is asynchronous. It stops short of an explicit exclusion clause saying when to prefer create_video_upload instead.

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.