Skip to main content
Glama

spread_patchwork

Detects patchwork watermarks in images by applying a statistical test to two pseudo-random pixel groups, identifying hidden modifications from steganographic embedding.

Instructions

Patchwork watermark detection using the patchwork statistical test. Splits pixel values into two pseudo-random groups and tests whether the mean difference between groups is statistically significant. A significant difference indicates a patchwork watermark was embedded by adding/subtracting a small value from selected pixels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoPRNG seed for group splitting (default: 42)
channelNoColor channel to test: 0=R, 1=G, 2=B (default: 0)
file_pathYesPath to image file (PNG or JPEG) for patchwork detection
Behavior3/5

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

No annotations are provided, so the description carries the burden. It explains the statistical test and what a significant difference indicates, but does not disclose limitations, required image properties, or potential failure modes.

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?

Three efficient sentences: first states purpose, second explains method, third interprets results. No fluff, front-loaded, and easy to parse.

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

Completeness2/5

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

The tool has no output schema and the description does not specify return format (e.g., p-value, boolean). It also omits prerequisites like file format requirements or performance considerations. Given the statistical nature, this is a significant gap.

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 parameters are documented. The description adds context about the test (seed for random splitting, channel selection) but does not augment the schema's descriptions beyond that. Baseline 3 is appropriate.

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 clearly states the tool detects patchwork watermarks using a statistical test, with a specific verb ('detect') and resource ('patchwork watermark'). It distinguishes itself from sibling spread tools by naming the specific test.

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?

The description explains what the tool does but provides no explicit guidance on when to use it versus alternatives like spread_correlation or spread_dft_analysis. Usage context is implied but not clarified.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/badchars/steganography-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server