Skip to main content
Glama

mcp_sideload_media

Upload media to WordPress from a public external URL, with optional title, caption, alt text, and filename; private or internal hosts are refused.

Instructions

Upload media to WordPress from a public external URL (private/internal hosts are refused)

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": {
      "site": "<site>",
      "url": "<url>"
    },
    "name": "mcp_sideload_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
altNoAlt text (for images)
urlYesPublic URL of the file to download and import
siteYesSite id (see list_sites)
titleNoMedia title
captionNoCaption, plain text
filenameNoOverride filename (default: basename of the URL path)
descriptionNoDescription, plain text

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv3.14.0
    • changedInput schema / properties / caption / description
      Previous value: -"Caption"New value: +"Caption, plain text"
    • addedInput schema / properties / description
      Added value: +{
      +  "description": "Description, plain text",
      +  "type": "string"
      +}
    • changedInput schema / properties / filename / description
      Previous value: -"Override filename"New value: +"Override filename (default: basename of the URL path)"
    • changedInput schema / properties / url / description
      Previous value: -"URL of the file to download and import"New value: +"Public URL of the file to download and import"
    • addedInput schema / properties / url / format
      Added value: +"uri"
  2. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "url"
      -]New value: +[
      +  "site",
      +  "url"
      +]
  3. First observedv2.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Given that no annotations are present, the description must carry the behavioral weight. Highlighting the refusal of private/internal hosts is a key behavioral trait regarding input handling that is not obvious from the schema alone.

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?

The description is a single, highly efficient sentence. It contains zero superfluous language and front-loads the most vital operational constraints.

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 tool focused on fetching external resources, the description covers the most important behavioral aspects (public URL requirement, refusal of internal hosts). It is highly complete for its scope.

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?

Since schema description coverage is 100%, the baseline for this dimension is adequate. The description doesn't add unique meaning to the parameters but its focus on the source type supports the role of the 'url' parameter.

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 explicitly states the resource ('media'), the action ('Upload'), and the specific mechanism ('from a public external URL'), making it highly distinct and clear.

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

Usage Guidelines5/5

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

It provides a critical usage constraint by defining what is *not* allowed: private or internal hosts are refused. This immediately guides the AI agent's decision-making process regarding permissible inputs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools