Skip to main content
Glama

Import public HTTPS media

studio_media_import_url
Idempotent

Import a public HTTPS song, artist photo or reference into the same private attachment pipeline as an upload. projectId is optional in the schema but required to attach media: omission returns guidance to select a project, never another user project. Refuses private/loopback destinations, unsafe redirects, DNS rebinding, invalid file types, oversized downloads and slow sources. Song/photo replacement rules remain unchanged. Identical reference bytes in the same project replay the existing asset. Returns assetId and status; no provider or language model is called.

Input Schema

NameRequiredDescriptionDefault
urlYesA direct public HTTPS media URL, port 443, without user credentials.
purposeYesThe customer file role; this never selects a paid generation.
projectIdNoThe project receiving the file. Required for song, Artist DNA (artist is derived from the project) and reference attachment; no project is selected implicitly.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only give the safety profile (readOnlyHint=false, idempotentHint=true, openWorldHint=true); the description adds substantial behavioral context beyond that. It enumerates the refusal cases (private/loopback destinations, unsafe redirects, DNS rebinding, invalid file types, oversized downloads, slow sources), discloses idempotent byte-level replay for references, and confirms no provider or LLM is called.

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 is front-loaded in the first sentence and every subsequent sentence carries distinct information (validation, projectId behavior, idempotency, return). It is dense but not padded; a couple of clauses could be tightened but nothing is wasted.

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?

For a mutating import tool with an output schema present (so return format needn't be spelled out) and annotations covering the safety profile, the description still supplies the validation rules, idempotency semantics, and the projectId edge case. Nothing an agent needs to invoke it 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?

With 100% schema coverage the baseline is 3, but the description goes further by explaining the projectId omission behavior (returns guidance to select a project, never another user's project), which the schema does not state. The url and purpose semantics are left largely to the schema, which already documents them well.

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?

States a specific verb+resource (import a public HTTPS song, artist photo, or reference) and places it in the 'same private attachment pipeline as an upload', which implicitly separates it from the file-upload sibling. However it never names the upload tool it is contrasted with, so the sibling differentiation is inferred rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Into the same private attachment pipeline as an upload' implies you use this when you have a URL rather than a file, and the projectId note tells the agent what happens on omission. But there is no explicit when-to-use guidance against the sibling tools (studio_media_upload_url, studio_media_upload_widget, studio_reference_upload_link), leaving the choice to inference.

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