Skip to main content
Glama

inspect_image

Read-only

Inspects PNG/JPEG/WebP metadata and unverified Content Credentials markers from base64-encoded image bytes (max 2 MiB) to verify file details; does not detect hidden watermarks.

Instructions

Inspect supported PNG/JPEG/WebP image metadata and unverified Content Credentials markers. Supply base64 of the file (not a URL). Maximum 2 MiB. Does NOT detect hidden watermarks.

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": {
      "image_base64": "<image_base64>"
    },
    "name": "inspect_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_base64YesBase64-encoded original image bytes, max 2 MiB decoded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so safety is covered; the description adds genuinely new context by flagging that Content Credentials markers are reported as unverified and by explicitly bounding detection capability. It stops short of saying what happens to oversized or malformed input, but the caveats it does add are meaningful.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with what the tool does, followed by input constraints and then limitations. Every sentence carries distinct information with no restatement of the name or title.

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?

For a single-parameter read tool with no output schema, the description adequately characterizes the returned content (metadata plus unverified Content Credentials markers) and its limits. It could say a bit more about result shape or failure modes, but nothing essential for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is already documented with the 2 MiB decoded limit, so the baseline is 3. The description adds a useful anti-pattern ("not a URL") that prevents a common invocation failure, which is real meaning beyond the schema.

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 (inspect) plus the exact resource (image metadata and Content Credentials markers) and enumerates supported formats PNG/JPEG/WebP. The closing negative scope ("Does NOT detect hidden watermarks") further separates it from the cleaning siblings, so an agent can distinguish it without opening the schema.

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?

Gives clear invocation constraints (base64, not a URL; 2 MiB cap) and a scope exclusion (no hidden-watermark detection), which implies this is the read-only inspection path versus clean_image. However, it never names an alternative or states the condition for choosing one, so routing between inspect_image and clean_image is left to inference.

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

Deploy Server

Other Tools