Skip to main content
Glama

add_image

Keep a copy of an image you already have on MintPage, for example one you generated with your own image tool (Gemini, Grok, DALL-E…), whose links usually expire. Send exactly one of url (public https link) or data (the file as base64 or a data: URL). PNG, JPEG, GIF, WebP or AVIF, up to 10 MB; no SVG. Returns a permanent url plus ready-made markdown and html. Put it in a page with the returned markdown or html (or its url in an ): the link is permanent and works in MintPage pages; other sites can't embed it. Requires an API key (free: 25 images, Pro: 500).

Input Schema

NameRequiredDescriptionDefault
urlNoA public https:// link to the image file.
dataNoThe image file as base64, or a data:image/...;base64,... URL.
descriptionNoShort description, used as the alt text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond annotations: the mutual-exclusivity requirement of url vs data, accepted formats and size ceiling, the permanence of the returned link, the restriction that other sites cannot embed it, and the API-key quota (25 free / 500 Pro). None of this is recoverable from the openWorldHint/idempotentHint flags alone.

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-loads purpose, then input contract, then return shape and limits, then placement guidance — a sensible order. It is a single dense block with several parenthetical asides and would read better broken up, but no sentence is filler.

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?

No output schema exists, and the description compensates fully by describing the return values (permanent url, ready-made markdown and html) and how to use them. Auth/quota, input limits, and embedding scope are all covered, so an agent can call it correctly without further probing.

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 baseline is 3, but the description adds the crucial 'send exactly one of url or data' rule that the schema itself does not encode (no oneOf/anyOf). The description parameter (alt text) is left to the schema, which is acceptable at full coverage.

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 — keep a copy of an image you already have on MintPage — and implicitly separates it from create_image by framing the source as an image the agent already possesses. The fleeting-link motivation makes the tool's identity unambiguous versus its siblings.

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 concrete trigger case (images produced by Gemini, Grok, DALL-E whose links expire) and constraint context (no SVG, 10 MB cap). It does not explicitly name create_image as the alternative for generating new images, so the when-not is only implied by the 'image you already have' phrasing.

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.