Skip to main content
Glama

Add media from a link

import_media_from_link

Saves a photo or video from a public link into the person's PersonaXpand media so a post can use it. Google Drive and Dropbox share links work when shared with "Anyone with the link". Returns a media_url for create_post and a preview link.

Input Schema

NameRequiredDescriptionDefault
urlYesThe https link to the photo or video.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this as a non-read-only, non-idempotent, open-world, non-destructive write, so the bar is lower. The description adds the meaningful constraint that the source must be publicly accessible and specifies that it returns both a media_url and a preview link, which annotations cannot convey. It stops short of saying what happens on failure (private link, unsupported provider) or whether re-importing duplicates media.

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, front-loaded with the action and followed by the constraint and the return value. No filler, no restatement of the tool name.

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?

With one required parameter, no output schema, and annotations covering the safety profile, the description covers nearly everything an agent needs, including the return values it must otherwise infer. The remaining gap is error behavior for non-public or unsupported links.

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% for the single 'url' parameter, so the baseline is already met. The description adds real meaning beyond the schema by naming supported providers (Google Drive, Dropbox) and the public-sharing requirement that determines whether a given URL will work.

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?

The description opens with a specific verb and resource ('Saves a photo or video from a public link into the person's PersonaXpand media') and states the downstream purpose ('so a post can use it'). It implicitly separates itself from create_upload_link by emphasizing link-based import rather than file upload, though it never names that sibling directly.

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?

It gives clear applicability context: the link must be public and Google Drive/Dropbox share links must be set to 'Anyone with the link'. It also hints at the follow-on workflow by saying the result is a media_url for create_post, but it does not explicitly say when to prefer this over create_upload_link or list_media.

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