Skip to main content
Glama

Import media from a direct link

livereacting_import_from_url

Bring a file into the media library from a direct http or https link to a video, audio or image file on any public host, for example a CDN or storage bucket URL. The link must return the file itself, not a web page: the content type decides the media type, and it must match type. Links that point to a private or internal address are refused with URL_NOT_ALLOWED. The file must fit the plan's max file size; a video counts against the storage quota. Google Drive, Dropbox and YouTube links go to livereacting_import_media instead. The import runs in the background. This returns a fileId straight away; poll livereacting_get_import_status with it to find out when the file is ready. Only one import can run at a time per account.

Input Schema

NameRequiredDescriptionDefault
urlYesA direct http(s) link to the media file, for example https://cdn.example.com/intro.mp4.
typeYesWhat kind of media this is. A video playlist layer can only use video files.
folderIdNoPut the imported file in this folder. Omit to import to the root of the library.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses the async contract (runs in background, returns a fileId immediately, poll livereacting_get_import_status), the concurrency limit (one import per account), quota behavior (video counts against storage), and the specific URL_NOT_ALLOWED error for disallowed addresses. This is materially more than readOnlyHint/openWorldHint provide.

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?

Purpose, constraints, alternatives and async behavior are all front-loaded in roughly that order, and every sentence carries unique information. It is on the long side, and the content-type sentence partially overlaps the schema's `type` documentation, but there is 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?

With no output schema, the description still explains the return value (a fileId) and the follow-up step needed to learn when the file is ready. Combined with the error and quota notes, an agent has everything needed to call this correctly and handle the result.

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 description coverage is 100%, so the baseline is 3, but the description adds real semantics: the content type of the fetched file decides the media type and must match `type`, which constrains how the enum parameter must be set. It does not add detail on folderId beyond the schema.

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 first sentence states a specific verb and resource ('bring a file into the media library from a direct http or https link') plus the accepted media kinds and hosts. It explicitly separates itself from livereacting_import_media for Google Drive/Dropbox/YouTube links, so an agent can route without opening either schema.

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 gives explicit when-to-use (direct file link on a public host, CDN or bucket URL), when-not (web pages, private/internal addresses, Drive/Dropbox/YouTube links, which route to livereacting_import_media), and prerequisite constraints (content type must match `type`, must fit plan max size, one import at a time). Alternative tools and exclusions are named outright.

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.