Skip to main content
Glama

verify_pixel_stream_parity

Read-onlyIdempotent

Verifies zero generation loss between original and scrubbed PNG, JPEG, or WebP images by comparing exact byte length and CRC-32 digests of compressed pixel streams.

Instructions

Verifies zero generation loss between an original and scrubbed PNG, JPEG, or WebP image by comparing exact byte length and IEEE 802.3 CRC-32 digest of compressed IDAT, SOS, or VP8/VP8L pixel streams.

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

Input Schema

NameRequiredDescriptionDefault
cleanedPathNoLocal filesystem path to the scrubbed PNG, JPEG, or WebP image compared for lossless pixel parity.
originalPathNoLocal filesystem path to the original source PNG, JPEG, or WebP image.
cleanedBase64NoOptional Base64-encoded scrubbed image bytes when cleanedPath is omitted.
originalBase64NoOptional Base64-encoded original image bytes when originalPath is omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior. The description adds valuable behavioral detail: it compares exact byte length and CRC-32 digests of compressed pixel streams (IDAT/SOS/VP8/VP8L), indicating an exact rather than perceptual comparison. It does not explain failure or return behavior, but the annotations carry the safety profile.

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?

A single front-loaded sentence states purpose and method with no redundant wording. Technical clauses are dense but each contributes scope or comparison semantics.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The core comparison method and formats are well specified, and annotations cover safety. However, with zero required parameters and no output schema, the description does not clarify the required one-of input pairing or what the verification returns. That leaves gaps an agent may need to discover by error.

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 path and Base64 parameter meanings are already documented. The description adds no parameter-specific constraints such as requiring at least one original and one cleaned source. Baseline 3 applies when the schema does the heavy lifting.

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 opens with a specific verb and resource — verifying zero generation loss between original and scrubbed images — and names the supported formats. It is clearly a comparison/verification task, distinguishable from sibling operations like scrubbing or forensic inspection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It identifies a clear use context: checking that a scrubbed image has not lost pixel data compared with the original. It does not explicitly name alternatives or exclusions, but the scrubbed-original comparison scenario is clear.

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