Skip to main content
Glama
This connector has been deprecated

Replaced by Inviomail.

Duplicate listing under a wrong namespace; the canonical listing is de.inviomail/mcp

Import media image from URL

import_media_image_from_url

Imports an externally reachable http or https image URL into the tenant media library and returns the optimized inviomail image URL. Use this for Claude or other MCP clients that do not provide OpenAI Apps SDK file references. Only call this tool when the image already has a direct public URL; it cannot read local files, Claude chat attachments, private browser-only URLs, public web pages, Base64, or invented URLs. Images up to about 5 MB and roughly 1000-2000 px are fine; inviomail optimizes them after import.

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": {
      "imageUrl": "<imageUrl>",
      "description": "<description>"
    },
    "name": "import_media_image_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
favoriteNoMark the imported image as a tenant favorite
imageUrlYesDirect public http or https URL of a JPEG, PNG, WebP, or GIF image
campaignIdNoOptional campaign whose image folder should receive the imported image
descriptionYesMeaningful description for future image selection and alt text
expectedSha256NoOptional expected SHA-256 hex digest of the source image bytes

Output Schema

NameRequiredDescriptionDefault
imageYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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 safety profile is covered. The description adds useful behavior beyond that: server-side fetching of an external resource, post-import optimization, and a ~5 MB / 1000-2000 px envelope. It does not address what happens on repeat imports of the same URL (despite idempotentHint=false) or on fetch failures.

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?

Front-loaded with the action and result in the first sentence, then constraints, then limits. Slightly dense with the enumerated exclusions, but each clause conveys a distinct, actionable restriction.

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?

Complete enough for a single-purpose import tool: purpose, eligibility constraints, size limits, and output destination are all present, and an output schema exists so return values need not be spelled out. Minor gaps around duplicate-import behavior and error cases keep it from a 5.

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%, so baseline is 3. The description reinforces the imageUrl constraint with reachability and no-Base64 semantics, but says nothing about the optional favorite, campaignId, description, or expectedSha256 parameters, all of which the schema already documents adequately.

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 (imports an external http/https image URL into the tenant media library) and states the outcome (returns the optimized inviomail image URL). It also implicitly distinguishes itself from sibling upload/prepare/finalize tools by saying it only handles already-public URLs and cannot read local files or attachments.

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?

Gives a clear when-to-use condition (Claude or MCP clients without OpenAI Apps SDK file references) and a detailed when-not list (local files, chat attachments, browser-only URLs, web pages, Base64, invented URLs). It stops short of naming the alternative sibling tool for the local-file case, so the routing is implied rather than explicit.

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