Skip to main content
Glama

util_image_info

Read-only

Image metadata inspector — Inspect any public image URL without decoding it: true format sniffed from the bytes (jpeg, png, apng, gif, webp, avif, heic, tiff, bmp, svg), width, height, display size after EXIF rotation, aspect ratio, megapixels, bit depth, alpha, animation and frame count, progressive or interlaced, DPI, ICC profile, EXIF camera and dates, GPS-location privacy flag, content-type mismatch and web-weight warnings. Reads up to 20 MB. Price: $0.002 USDC (Base, via x402).

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": "util_image_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, yet the description adds genuinely new behavioral facts: a 20 MB read ceiling, byte-level format sniffing (no decode) so malformed/renamed files are handled, privacy-oriented signals such as the GPS flag and content-type mismatch, and a $0.002 USDC charge via x402 on Base. The paid, metered nature of the call is important context an agent could not get from the annotations.

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?

The purpose and cost model are front-loaded in the first clause and the price/limit facts are appended at the end where they are easy to find. The long enumerated field list is dense but each item maps to a real returned value; the format parenthetical is the one mildly expendable stretch.

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?

With no output schema, the description appropriately enumerates the return fields, and it covers limits, cost, and supported formats, so an agent knows what it gets and what it pays. It stops short of describing failure modes (oversize file, non-image content-type, unreachable URL), which matters for an open-world fetch tool.

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?

Only one parameter exists and schema coverage is 100%, so the schema already documents the url field. The description adds the meaningful constraint that the URL must be public and directly fetchable, but gives no detail on redirects, non-image responses, or oversize handling. Baseline 3 is correct when the schema carries the semantics.

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?

States a specific verb and resource ("Inspect any public image URL without decoding it") and immediately enumerates exactly what is returned: format sniffed from bytes, dimensions, EXIF, DPI, ICC, animation, GPS privacy flag. This is clearly a metadata-only inspector, easily distinguished from the ai_image_* and util_barcode siblings.

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: "any public image URL" and "without decoding it" hint that this is the cheap metadata path rather than a full-decode or AI-description tool, but no sibling is named and no when-not-to-use condition is given. An agent must infer that ai_image_describe exists for content understanding while this one is for structural metadata.

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