Skip to main content
Glama

Import media from a URL

livereacting_import_media

Bring a file into the media library from a Google Drive, Dropbox or YouTube URL. For a direct link to a media file on any other host, use livereacting_import_from_url; for a file on the customer's own computer, use livereacting_upload_file. 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. Only a single YouTube video imports here: a YouTube playlist page or channel URL is refused with VALIDATION_ERROR, so do not promise a customer that a playlist can be imported through this tool. Pass one video URL at a time.

Input Schema

NameRequiredDescriptionDefault
urlYesA Google Drive, Dropbox or single-video YouTube URL. Playlist pages and channels are rejected.
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?

Goes well beyond the annotations by disclosing that the import is asynchronous, returns a fileId immediately, requires polling, is serialized to one import per account, and that YouTube playlists/channels are refused with VALIDATION_ERROR. This is exactly the runtime behavior an agent needs to avoid promising an impossible playlist import.

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 core purpose followed by alternatives, async behavior, and constraints. Every sentence carries useful information; it is somewhat long, but nothing reads as filler given the failure modes it warns about.

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 compensates by explaining the return value (fileId) and the follow-up call needed to check readiness. Combined with the error case and concurrency limit, an agent has everything required to invoke and route correctly.

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 adds real meaning by reinforcing the single-URL-per-call rule and the single-video (not playlist) constraint on the url parameter. It does not add anything about the folderId or type enum beyond what the schema already documents.

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?

States a specific verb and resource ('Bring a file into the media library') and immediately scopes the accepted sources (Google Drive, Dropbox, YouTube). It explicitly names the two sibling tools that cover adjacent cases, so an agent can distinguish it without opening any 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?

Gives explicit alternatives with their selection conditions: 'direct link ... use livereacting_import_from_url' and 'file on the customer's own computer, use livereacting_upload_file'. It also states the downstream workflow (poll get_import_status) and the one-import-at-a-time constraint.

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.