Skip to main content
Glama

Import external files

import_media

Download public URLs and re-host them on durable Ignix storage, returning stable URLs usable as post media or as the file of a chatbot flow node. Use it for any asset that lives outside Ignix (a signed URL, a temporary CDN link, an image the user gave you): links from other services expire and the post would publish without media. One file with url, or up to 50 at once with urls (an album, a batch of photos): each comes back with its own result. Images, video, audio and PDF/Word/Excel/CSV/ZIP documents are accepted (an SVG, such as a logo from a website, is converted to a PNG about 2000 px wide with a transparent background); anything else is refused, because re-hosting an arbitrary file would put someone else's content on our domain. This needs a URL that is already public — if the file is on the user's machine, use upload_media instead. Docs: https://ignix.social/help/content-library

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "import_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic https URL of the file.
typeNoWhat the file is. Inferred from the URL when omitted, defaulting to image. Audio and documents are for chatbot flow nodes, not for posts.
urlsNoSeveral public https URLs (up to 50) to import in one call. Use instead of `url`.
descriptionNoOptional note stored with the asset in the library.
workspaceIdNoWorkspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / urls
      Added value: +{
      +  "description": "Several public https URLs (up to 50) to import in one call. Use instead of `url`.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "url"
      -]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations, which only declare openWorldHint and non-read-only/non-destructive: accepted media types, conversion of SVG to a ~2000 px transparent PNG, refusal of arbitrary files with the rationale (hosting someone else's content on our domain), the 50-URL batch cap with per-item results, and a docs link. None of this is derivable from the annotation flags.

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?

Dense and front-loaded: the core action and its outcome come first, then batching, then type rules, then the alternative tool. A couple of the parenthetical clauses are long, but each carries real information rather than restating the name or schema.

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?

For a six-parameter, open-world import tool with no output schema, the description covers inputs, batching semantics, type handling, failure refusal, and what comes back ('each comes back with its own result'). An agent has enough to pick the tool and call it correctly without further lookup beyond the linked docs.

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 the baseline is 3, and the description goes further by framing `url` vs `urls` as mutually exclusive modes ('One file with `url`, or up to 50 at once with `urls`') and noting each item returns its own result. It does not expand on workspaceId or idempotencyKey, which are left to 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?

States a specific verb and resource ('Download public URLs and re-host them on durable Ignix storage') plus the outcome (stable URLs usable as post media or chatbot flow node files). It is immediately distinguishable from upload_media, which the description explicitly names for files already on the user's machine.

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?

Gives an explicit when-to-use rule ('any asset that lives outside Ignix — a signed URL, a temporary CDN link, an image the user gave you') with the reason (links expire and posts publish without media), and an explicit when-not with the alternative: 'if the file is on the user's machine, use `upload_media` instead.'

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