Skip to main content
Glama
ZERONOVA LAB MCP Server

ZERONOVA LAB MCP Server

check_image_optimization

Analyze up to 20 webpage images for next-gen formats, file size, lazy loading, responsive attributes, and dimensions to identify optimization issues and get a scored summary.

Instructions

Check image optimization on a webpage. Analyzes up to 20 images for format (WebP/AVIF preferred), file size (<100KB pass / 100-500KB warn / >500KB fail), lazy loading (loading="lazy"), responsive attributes (srcset/sizes), and dimension attributes (width/height for CLS prevention). Returns per-image details with issues and a summary with score (0-100), next-gen format rate, lazy loading rate, and dimension rate.

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

Input Schema

NameRequiredDescriptionDefault
urlYesTarget webpage URL to analyze. Must start with https:// or http://. Maximum 2048 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses the 20-image cap, the exact pass/warn/fail size thresholds, the criteria evaluated, and the shape of the result (per-image issues plus a summary score and rates). It stops short of covering failure modes, fetch/auth requirements, or timeout behavior, keeping it below 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?

Two sentences, front-loaded with the purpose and followed by concrete thresholds and return values; no filler. It is dense—the second sentence is a long enumerated list—but every clause carries information an agent can act on.

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?

For a one-parameter read-only check with no annotations and no output schema, the description supplies everything needed: what it inspects, thresholds, analysis limits, and the structure of the response including the score and rate metrics. An agent can invoke it and interpret results without further information.

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?

There is a single parameter with 100% schema description coverage, so the schema already states the URL format and 2048-character limit. The description adds only that the URL is the 'target webpage' to analyze, which is marginal beyond the schema; 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?

The description names a specific verb (Check) and resource (image optimization on a webpage) and enumerates exactly what is inspected: format, file size, lazy loading, srcset/sizes, and width/height attributes. This is clearly distinct from siblings like check_alt_attributes or check_page_speed, which cover different audit dimensions.

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 the tool name and description, but the description never states when to pick this over related audit tools (e.g. check_page_speed, run_seo_audit) or any preconditions. The 'up to 20 images' limit is the only scope constraint given, and no exclusions are mentioned.

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