Skip to main content
Glama

Add a file from a link

add_media_from_url
Destructive

Puts a file from a public https link on an alarm the person made: a picture or short video as the wallpaper, a song, or a voiceover. For a file at a public https link; a file only on the person's device needs the one-time page instead. LFG fetches the file, checks it like any upload, replaces what that slot had, and adds it to the person's uploads. A link that cannot be fetched, or a file that is not an accepted type, returns an error. What each takes. Wallpaper: a square (1:1) picture, about 1080 x 1080 pixels, as JPEG, PNG, WebP or GIF up to 50MB; a picture that is not square is cropped to a square. Or a square MP4 or MOV video, or a GIF that loops, up to 30 seconds and 50MB; a video needs a paid plan, a GIF does not. Song or voiceover: MP3, M4A, OGG, WAV or FLAC up to 5 minutes and 20MB.

Input Schema

NameRequiredDescriptionDefault
idYesThe alarm's id.
urlYesA public https link straight to the file.
useYeswallpaper, song, or voiceover.
nameNoWhat to call the file in the person's library, "Soccer team anthem". When absent, the file's own title or name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The description adds meaningful behavior beyond the annotations: it says LFG fetches and checks the file, replaces what the slot had, adds it to uploads, and returns an error for unfetchable or unsupported links. This is consistent with destructiveHint=true and gives useful operational context, though it does not discuss auth or rate limits.

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?

The purpose and key alternative are front-loaded, and the longer file-type details are justified by the complexity of accepted media. The description is dense and somewhat long, but most sentences carry necessary constraints or error behavior.

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?

For a complex upload tool with no output schema, the description covers purpose, alternatives, validation behavior, replacement semantics, error conditions, and media constraints. It does not describe the success return shape, but otherwise an agent has enough information to select and invoke it 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 parameter documentation is already strong. The description still adds real meaning for the use parameter by spelling out wallpaper, song, and voiceover constraints, formats, sizes, durations, square cropping, and paid-plan requirements.

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 description states a specific action and resource: putting a file from a public https link onto an alarm as wallpaper, song, or voiceover. It also distinguishes this from the device-file path by saying a file only on the person's device needs the one-time page instead.

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 clearly says to use this tool for a public https link and points device-only files to a different one-time page flow. The alternative is described by function rather than by exact sibling tool name, but the usage distinction is still clear.

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.