Skip to main content
Glama

image_tools_responsive

One image in, a responsive set out: every width in AVIF, WebP and a fallback, a ZIP of the files and a ready element with srcset, sizes, width and height. Never upscales. Price: $0.02 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_responsive"
  }
}

Input Schema

NameRequiredDescriptionDefault
altNo
nameNoFile name stem.image
imageNoImage file as base64 (PNG, JPEG, WebP, AVIF, GIF, TIFF or SVG).
sizesNoThe sizes attribute for the markup.100vw
widthsNoWidths to produce. Widths above the source are dropped; the source width is added if none fit.
formatsNoBest format first; the last one is the <img> fallback.
qualityNo
basePathNoPath prefix used in the markup for where you will host the files./images/
imageUrlNoLink to the image.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description does real work: it discloses that it never upscales, that the $0.02 USDC x402 charge applies only on success, and what artifacts come back. However it omits how the ZIP and markup are returned (URLs, base64, or inline strings), whether the payment is automatic or requires setup, and any limits beyond the width cap already in the schema.

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 first sentence is tightly front-loaded and wastes nothing. The trailing 'Part of Image tools: ...' catalog is roughly sixty words of boilerplate that does not help an agent call this specific tool and dilutes the payload.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, no-annotation, no-output-schema tool, the description covers outputs, pricing, and the no-upscale rule, which are the highest-value facts. Still missing: how the ZIP and <picture> markup are delivered, that an image input is effectively mandatory despite zero required fields, and any payment/auth mechanics beyond the price.

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 78%, so most parameters (widths, formats, sizes, basePath) already document themselves in the schema. The description reinforces the format-ordering/fallback behavior implicitly via 'AVIF, WebP and a fallback' and explains upscaling avoidance for widths, but adds nothing for alt, name, quality, or imageUrl.

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?

The opening clause states a specific transformation ('One image in, a responsive set out') and enumerates the concrete artifacts produced: every width in AVIF/WebP plus a fallback, a ZIP of files, and a ready <picture> element with srcset and sizes. This clearly separates it from single-format conversion siblings like image_tools_convert without needing to name them.

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 by the output description: an agent can infer it should use this when it needs a srcset set rather than a single converted file. There is no explicit when-to-use/when-not-to-use statement and no named alternative; the trailing family blurb lists sibling capabilities but reads as marketing copy, not routing guidance.

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