Skip to main content
Glama

add_image

Store an image for a website from a public https address, and get back the address to put in the code — for a logo, a photo, anything the page needs. Webas downloads it, re-encodes it and serves it from its own storage, so the page never depends on someone else's server staying up. You cannot send file contents through this tool: give an address that already works. This does not change any page; write the address into the code yourself.

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": {
      "site_id": "<site_id>",
      "url": "<url>"
    },
    "name": "add_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA public https address of a PNG, JPEG, WebP or GIF. It must be the image itself, not a page containing it, and it must not redirect.
site_idYesFrom list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, open-world operation; the description adds real substance beyond them — that Webas downloads, re-encodes and rehosts the image, and that no page is mutated. It doesn't cover failure modes (e.g., what happens on redirect or unsupported format) or idempotency of repeated calls, which is why it isn't 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the action and return value, then constraints. The rationale sentence about not depending on someone else's server is mildly promotional but does explain the value of rehosting; nothing is genuinely wasted.

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?

With only two required parameters, no output schema and full annotation coverage, the definition is nearly complete: it explains what is returned (the hosted address), the input constraint (public, direct URL), and the side effect (no page changes). Only edge-case behavior on failures is missing.

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%, so both url and site_id are fully documented in the schema, including accepted formats and the no-redirect rule. The description adds only a general restatement ("give an address that already works") rather than new per-parameter meaning, so baseline 3 applies.

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 ("Store an image for a website from a public https address") plus the return value ("get back the address to put in the code"). An agent can immediately distinguish this from page/site tools like create_page or list_images.

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 explicit when-not guidance: "You cannot send file contents through this tool: give an address that already works" and "This does not change any page; write the address into the code yourself." It doesn't name a sibling alternative, but the exclusions are clear and actionable.

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.