Skip to main content
Glama

Generate Responsive Web Srcset or Favicon Pack

image_responsive_srcset

Generates multi-width WebP/AVIF responsive images with a ready-to-use snippet, or a full favicon PNG pack, from one local master image to speed up pages and keep assets offline.

Instructions

Generate multi-width WebP/AVIF responsive images (with ready-to-use HTML snippet) OR a full favicon PNG pack from one local master image. Free <=3 sizes; ThisMyOwn PRO unlocks unlimited sizes.

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": {
      "inputPath": "<inputPath>"
    },
    "name": "image_responsive_srcset"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNowebp
presetNoresponsive_web
widthsNoCustom width list in pixels (defaults: [400,800,1200] for web or [16,32,48,180,192,512] for favicon)
qualityNo
inputPathYesMaster high-resolution local image
outputDirNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose genuinely behavioral facts: the tool emits an HTML snippet alongside images, produces a whole favicon pack, and gates more than three sizes behind a PRO license. It still omits write-side behavior — whether outputDir is created, what happens to existing files, and what the response looks like.

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?

Two sentences, front-loaded with the primary capability followed by the tier constraint, with no filler. The semicolon-joined licensing clause is terse but readable.

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 six-parameter, no-annotation, no-output-schema tool, the definition covers the mode choice and resulting artifacts but leaves half the parameters and all write/side-effect behavior to inference. An agent could select the tool but would be guessing on outputDir, quality, and overwrite semantics.

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 only 33%, so the description must compensate, and it only partially does: it clarifies 'one local master image' for inputPath and implies the preset/format pairing, while the schema itself supplies the width defaults. It says nothing about outputDir, quality, or the fact that format also accepts png/jpeg, which the WebP/AVIF framing slightly obscures.

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 description uses a specific verb ('Generate') and names two concrete output artifacts — multi-width WebP/AVIF responsive images with a ready-to-use <picture> snippet, or a full favicon PNG pack — which separates it in substance from generic resize/convert siblings. It stops short of explicitly naming which sibling to use instead, so it is clear but not fully differentiated.

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 implied by describing the two modes (responsive web vs favicon pack) and the free-tier limit of three sizes, which tells the agent the tool is for producing web asset sets rather than one-off edits. However, it never states when to prefer this over image_resize_crop or image_compress_convert, nor any prerequisite such as a PRO license being active.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.