Skip to main content
Glama

image_tools_inspect

What an image really is: format, size, alpha actually used, animation, colour space, EXIF/ICC weight, the box around its content, how small it would be as WebP/AVIF, and plain notes on what to fix before shipping it. 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_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

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 behavioral burden and does disclose substantive traits: pricing at $0.01 USDC via x402, charged only on success, plus the fact that output is advisory ('plain notes on what to fix'). It omits rate limits, input size ceilings, and any explicit statement that the operation is read-only and non-mutating.

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 a dense but useful inventory, front-loaded with the concrete outputs. However, the trailing 'Part of Image tools: ...' boilerplate re-lists every sibling's function and consumes a large share of the text without helping an agent invoke 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?

There is no output schema, so the description must describe return values, and it does so thoroughly, covering every reported field including the size-estimate and fix-note outputs. The remaining gap is input semantics, since the description never clarifies the base64-vs-URL relationship or mutual exclusivity.

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% for both parameters (base64 image and image URL), so the schema already explains their meaning and accepted formats. The description adds nothing about the parameters, including whether they are alternatives or what happens if both or neither are supplied, so the baseline 3 applies.

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 enumerates exactly what the tool reports: format, size, alpha usage, animation, colour space, EXIF/ICC weight, content bounding box, WebP/AVIF size estimates and remediation notes. That is a precise inventory of an inspection operation and is clearly distinct from the convert/diff/palette siblings, though it is framed as a noun list rather than an explicit verb+resource statement.

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 phrase 'before shipping it', which signals a pre-deployment QA context. There is no explicit guidance on when to choose this over image_tools_diff or media_tools_probe, and no stated prerequisites or exclusions.

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