Skip to main content
Glama

inspect_image_forensics

Read-onlyIdempotent

Audits PNG, JPEG, and WebP files for hidden EXIF GPS, uncropped thumbnails, ComfyUI workflow chunks, XMP edit history, and aCropalypse trailing bytes to assess privacy and provenance risks.

Instructions

Audits a binary PNG, JPEG, or WebP image (via local filePath or base64Data) for EXIF GPS coordinates, uncropped IFD1/JFIF thumbnails, ComfyUI workflow chunks, XMP edit history, and aCropalypse trailing bytes.

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

Input Schema

NameRequiredDescriptionDefault
filePathNoLocal filesystem path to a .png, .jpg/.jpeg, or .webp image inspected offline without re-encoding.
filenameNoOptional display filename used in the forensic summary and Markdown audit report (defaults to basename of filePath or "specimen.img").
base64DataNoOptional Base64-encoded binary PNG, JPEG, or WebP bytes (accepts bare Base64 or data:image/...;base64, URI) when filePath is omitted.
includeMarkdownReportNoWhen true (default), includes a structured Markdown forensic report alongside the JSON finding inventory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the bar is low. The description still adds real behavioral value by naming the concrete inspection classes (thumbnail recovery, ComfyUI chunks, aCropalypse trailing bytes) an agent could not infer from annotations or schema. It omits any note on inputs limits or what happens if both filePath and base64Data are supplied.

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?

A single dense sentence that front-loads the verb, formats, and input modes before the artifact list, with no filler. It is tightly packed, though the long trailing enumeration makes it less scannable than a two-sentence structure would be.

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 four-parameter read-only tool with full schema coverage and annotations, the description covers purpose and the forensic scope well. Because there is no output schema, a brief note on the returned finding inventory would have closed the remaining gap, but that information is recoverable from the includeMarkdownReport parameter description.

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 100%, so all four parameters are already documented, including filePath, filename, base64Data, and includeMarkdownReport. The description adds only the input-type reminder ("via local filePath or base64Data"); the "without re-encoding" and Markdown-report semantics live in the schema, not the description. Baseline 3 is appropriate.

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?

Uses a specific verb ("Audits") on a specific resource (binary PNG/JPEG/WebP) and enumerates the exact artifacts sought: EXIF GPS, IFD1/JFIF thumbnails, ComfyUI workflow chunks, XMP history, aCropalypse bytes. That enumeration implicitly separates it from the scrub and pixel-parity siblings, but no sibling is named explicitly, so it stops short of a 5.

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: an agent can infer this is the read-only provenance/metadata inspection tool. There is no explicit statement of when to prefer it over scrub_image_metadata_lossless (removal) or verify_pixel_stream_parity (pixel comparison), and no when-not guidance.

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