Skip to main content
Glama

Import from URL

import_url

Free. Download a public video or audio link into AwesomeVideo and get a fileId (same as upload {action:'start'}), without downloading it yourself. Accepts direct https/http file links (chat attachment URLs, CDNs, S3 presigned URLs), Google Drive share links (large-file confirm page handled), Dropbox share links, and OneDrive links. Up to 2048 MB when the host sends Content-Length (streamed to storage), 80 MB otherwise (422 limit_exceeded, charged:false). YouTube, TikTok, and Instagram links are refused with 422: upload the file instead. Private, local, and non-standard-port addresses are blocked. Up to 30 per hour. caption_video accepts sourceUrl directly, so you only need this to reuse one file across several tools.

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_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic link to the file.
api_keyNoOnly for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.
filenameNoFile name to store, with extension (e.g. talk.mp4); used for the content type and download name. Max 200 characters.

Output Schema

NameRequiredDescriptionDefault
totalNoTotal number of items (paginated lists).
resultNoThe value, when the tool returns something other than an object.
hasMoreNotrue when more items are available (paginated lists).
nextCursorNoPass as cursor for the next page (paginated lists).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "Only for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "description": "Tool result as JSON.",
      +  "properties": {
      +    "hasMore": {
      +      "description": "true when more items are available (paginated lists).",
      +      "type": "boolean"
      +    },
      +    "nextCursor": {
      +      "description": "Pass as cursor for the next page (paginated lists).",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "The value, when the tool returns something other than an object."
      +    },
      +    "total": {
      +      "description": "Total number of items (paginated lists).",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / filename / description
      Added value: +"File name to store, with extension (e.g. talk.mp4); used for the content type and download name. Max 200 characters."
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only flag it as non-read-only and open-world; the description adds the operational envelope the agent actually needs: dual size ceilings (2048 MB with Content-Length vs 80 MB otherwise), the 422 limit_exceeded charged:false behavior, refusal of private/local/non-standard-port addresses, and a 30-per-hour rate limit. It also clarifies that Google Drive large-file confirm pages are handled, which prevents a false assumption of failure.

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 action and product, then layered with limits and exclusions in descending order of importance. Every clause carries facts the schema and annotations do not, though the single dense paragraph would be easier to scan if the size/rate limits were broken out.

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, so the fileId return needn't be described further; the description instead spends its budget on limits, error codes, blocked inputs, and the sibling alternative. For a one-required-param import tool this covers everything an agent needs to call it successfully and interpret failure.

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 100%, so the baseline is 3. The description goes beyond the schema's bare "Public link to the file" by enumerating acceptable url forms (chat attachment URLs, CDNs, S3 presigned URLs, Drive/Dropbox/OneDrive share links) and the address classes that are blocked. It says nothing extra about filename or api_key, but the url enrichment is the meaningful addition.

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?

"Download a public video or audio link into AwesomeVideo and get a fileId" names a specific verb, resource, and the artifact produced. It further anchors itself to siblings by equating the result to "same as upload {action:'start'}" and by distinguishing itself from caption_video's sourceUrl path.

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 when-to-use (reuse one file across several tools), when-not-to-use (YouTube/TikTok/Instagram refused, upload the file instead), and a concrete alternative (caption_video accepts sourceUrl directly). The supported-link taxonomy tells the agent exactly which inputs qualify before it calls.

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