Skip to main content
Glama

Import an image from a URL

import_image
Idempotent

Copy a PNG, JPEG or WebP image (at most 8 MB) from a public https URL into the user's uploads as a libraryUrl. Only images the user has the right to use. Free. Needs the "write" permission.

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_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA public https:// URL of a PNG, JPEG or WebP image, at most 8 MB.

Output Schema

NameRequiredDescriptionDefault
libraryUrlYesThe stored copy: pass it as an image reference.
contentTypeYesThe image type, such as image/jpeg.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / contentType / description
      Added value: +"The image type, such as image/jpeg."
    • addedOutput schema / properties / libraryUrl / description
      Added value: +"The stored copy: pass it as an image reference."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag openWorldHint=true, idempotentHint=true, destructiveness=false, so the safety profile is largely covered. The description nevertheless adds real operational context: the required write permission, that the operation is free, the source must be publicly reachable, and licensing responsibility sits with the caller — details annotations cannot express.

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?

One dense sentence, no filler, hard constraints (formats, size, permission) stated up front where an agent will see them before parsing the schema.

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?

An output schema exists, so return values need not be explained. For a one-parameter import, formats, size cap, auth requirement, and licensing caveat cover what an agent needs; only duplicate/re-import behavior (relevant given idempotentHint=true) is left implicit.

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 coverage is 100% and there is a single parameter whose description already encodes the https/public/format/size rules. The description restates those same constraints rather than adding new meaning, so the baseline holds.

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?

States a specific verb and resource — copying a PNG/JPEG/WebP image from a public https URL into the user's uploads as a libraryUrl — plus constraints (8 MB cap). It does not explicitly distinguish itself from near-siblings like create_upload or generate_image, so it stops short of 5.

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?

Gives useful preconditions (needs the "write" permission, public URL only, rights-to-use restriction, free of charge) but never says when to pick this over create_upload or generate_image. Usage context is implied, not routed.

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.