Skip to main content
Glama

Import media from URL

import_media

Import media from a public image URL (<= 10MB) or video URL (<= 100MB) into the workspace media library.

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": "import_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublicly reachable image (<= 10MB) or video (<= 100MB) URL to import.
workspace_idNoWorkspace ID. Optional if your account has only one workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the write/open-world profile is covered. The description does add genuinely new operational context, namely the 10MB image / 100MB video caps and the requirement that the URL be publicly reachable. It says nothing about whether import is synchronous, what happens on oversized or unreachable URLs, or whether a re-import creates a duplicate.

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?

A single front-loaded sentence with the verb, resource, destination and constraints in order, and no wasted clauses.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter write tool with no output schema, the description covers inputs and size constraints but leaves the agent without any expectation of the response (media ID? processing status?) or whether the import completes immediately. Those gaps matter because nothing else in the definition fills them.

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% and both parameters carry their own descriptions, so the schema already does the heavy lifting. The description restates the size limits and public-URL requirement that the schema's url field already documents, adding no new meaning for url or workspace_id.

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 gives a specific verb and resource ('Import media ... into the workspace media library') plus the accepted source types (public image or video URL). It is unambiguous about what the tool does, though it does not name any sibling because no sibling handles media assets.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the way to get a media asset into the library, presumably before referencing it in a post. There is no explicit when-to-use vs. when-not, no mention of alternatives, and no statement about prerequisites beyond the URL being public.

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