Skip to main content
Glama

image_tools_placeholder

Low-quality image placeholder: a tiny blurred WebP data URI of a few hundred bytes, a BlurHash string, the average colour and a ready CSS rule, so pages show something while the real image loads. Price: $0.01 USDC via x402, charged only on success. Part of Image tools: Everyday image work for sites and apps: convert and compress to WebP/AVIF/JPEG/PNG, responsive srcset sets with ready markup, colour palettes, pixel diffs for visual regression, SVG to PNG, QR codes, blur placeholders, and an inspection that says what to fix before shipping an image..

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "image_tools_placeholder"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoLongest side of the tiny preview.
imageNoImage file as base64 (PNG, JPEG, WebP, AVIF, GIF, TIFF or SVG).
imageUrlNoLink to the image.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does contribute real behavior by disclosing the cost ($0.01 USDC via x402) and the important billing condition that it is charged only on success. However, it omits failure/error behavior, whether the call is read-only or side-effecting on the caller's wallet, and what happens if neither or both of image/imageUrl are supplied.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The useful content is front-loaded and the first sentence is dense with specifics. Roughly half the text is a boilerplate family blurb ('Part of Image tools: ...') that catalogs unrelated capabilities and dilutes the signal for this tool.

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?

For a 3-parameter, no-required-input tool with no output schema, the description does the heavy lifting by describing the return artifacts in detail. The remaining gap is that it never states that at least one image source must be provided, which matters given zero required parameters.

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 the baseline of 3 applies. The description adds no parameter-level meaning beyond the schema — it never mentions the 'size' control or the either/or nature of supplying 'image' base64 versus 'imageUrl', both of which the schema alone leaves to inference.

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 first clause names a specific deliverable — a tiny blurred WebP data URI placeholder — and enumerates the concrete artifacts returned (BlurHash, average colour, CSS rule), so an agent knows exactly what it gets. It does not explicitly contrast itself with the many image siblings (e.g. thumbnails, responsive sets), which is the only thing separating it from a 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?

Usage is only implied through the phrase 'so pages show something while the real image loads', which tells the agent the scenario but not the selection rule. There is no statement of when to prefer this over a thumbnail or responsive-set tool, and no exclusions or prerequisites.

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