Skip to main content
Glama

Upload Media from URL

upload_media_from_url

Download a file from a public URL and upload it to PostPlanify. This is the primary way to add images and videos for use in posts. Supports: JPEG, PNG, GIF, WebP, MP4, MOV, PDF. After uploading, use the returned media ID when creating posts. Workflow: 1) Upload media, 2) Note the returned media ID, 3) Create a post with the media IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic URL of the image or video to upload
filenameNoOptional filename. If not provided, extracted from the URL.

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 is a non-read-only, open-world, non-destructive write. The description adds real behavioral context beyond that: it fetches from an external URL over the network, enumerates accepted formats (JPEG/PNG/GIF/WebP/MP4/MOV/PDF), and tells the agent the operation returns a media ID for later use. It omits size limits, auth requirements, and failure modes for unreachable URLs.

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 action, then formats, then downstream usage. Minor redundancy: the workflow's step 2 'Note the returned media ID' restates the preceding sentence about using the returned media ID when creating posts. Still tight overall.

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 no output schema, the description correctly explains that a media ID is returned and how to consume it, plus accepted formats. For a two-parameter upload tool this is near-complete, though practical limits (file size, URL accessibility, auth) are unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both parameters are already documented, including the 'public URL' constraint and the filename fallback rule. The description only reinforces that the source is a public URL and never mentions the optional filename parameter, so it adds nothing over the schema. Baseline 3 applies.

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+resource ('Download a file from a public URL and upload it to PostPlanify') and scopes it to media for posts. The phrase 'primary way to add images and videos' implicitly separates it from the sibling upload_media_from_base64, which handles the other input source.

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?

Gives clear context (adding media for use in posts) and a 3-step workflow ending in create_post. It never explicitly states when to prefer upload_media_from_base64 over this tool, so the base64 alternative is left to inference rather than named.

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