Skip to main content
Glama

Import image from the web

import_image

Copies a public image (https, PNG, JPEG or WebP, up to 10 MB) into the account's uploads and returns its path. Pass that path as params.image to generate (start image for image-to-video). Private and internal addresses 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": {
      "url": "<url>"
    },
    "name": "import_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA public https address of the image.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false), the description discloses that a copy is written into account uploads, size and format limits, and that private/internal addresses are refused. It does not say whether re-importing the same URL creates a duplicate or how long the imported asset persists, which is why this is not a 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?

Three short sentences with zero waste: the copy action and limits come first, then how to use the returned path, then the security refusal. Every sentence carries information an agent needs.

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?

A single required parameter, no output schema, and the description covers the return value ('returns its path'), the accepted inputs, and the failure case. Nothing an agent needs in order to call it correctly is missing.

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 earns above that by adding constraints the schema lacks: HTTPS only, specific image formats, a 10 MB cap, and rejection of private/internal addresses. It does not describe any URL normalization or redirect behavior.

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 ('Copies a public image ... into the account's uploads') plus source restrictions (public https, PNG/JPEG/WebP, 10 MB max). It is clearly distinct from a generic upload tool, but it never names or contrasts with the sibling create_upload, so sibling routing relies on inference.

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 downstream use explicitly: take the returned path and pass it as params.image to generate, for image-to-video start images. That is concrete when-to-use guidance, though it offers no exclusion such as when to prefer create_upload or another upload path.

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