Skip to main content
Glama

Verify and prepare a public media URL for social publishing

upload_media
Read-onlyIdempotent

Verify a public HTTPS image or video URL (free, 0 credits, SSRF-guarded) and return its verified media_url, media kind, MIME type, byte size, and per-platform publishing compatibility for Instagram, Facebook, LinkedIn, Bluesky, TikTok, YouTube, X, Threads, and Pinterest. Use the returned media_url in plan_batch or request_approval.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "upload_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic HTTPS image (.jpg, .png, .webp, .gif) or video (.mp4, .mov, .webm) URL to verify.
platformsNoOptional target platforms to filter compatibility checks.

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?

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description earns credit for adding genuinely new context the annotations cannot convey: it costs zero credits and is SSRF-guarded, which tells the agent both the cost model and the security boundary. It does not disclose failure behavior or rate limits, which keeps it below 5.

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?

Two sentences, both load-bearing: the first covers verification, cost, guardrails, and the full return payload; the second covers the downstream handoff. The returned-value detail is front-loaded before the routing instruction, with no filler.

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?

There is no output schema, so the description carries the entire burden of explaining return values, and it does so explicitly for a verification tool with compatibility checks. Combined with the stated cost and security behavior, an agent has everything needed to call this correctly and interpret the result.

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 the baseline is 3. The description reinforces the accepted formats and lists target platforms, but the platform list in the prose (X) diverges slightly from the schema enum (twitter, plus googlebusiness which is unmentioned), adding ambiguity rather than meaning. No new semantics about the url parameter beyond the schema.

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 opens with a specific verb and resource ('Verify a public HTTPS image or video URL') and enumerates exactly what comes back (media_url, kind, MIME, size, per-platform compatibility). It also distinguishes itself from siblings by naming plan_batch and request_approval as the consumers of its output, so an agent can place it in a workflow without inspecting other schemas.

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 states the usage context clearly: verify a URL first, then feed the returned media_url into plan_batch or request_approval. That is explicit routing rather than implied usage. It stops short of a 5 because there is no exclusion clause (e.g., what to do if the URL is local/private, or that platforms filtering is optional and why you'd want it).

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