Skip to main content
Glama
satyamkumar420

AI Image Metadata Cleaner

batch_sanitize_directory

Sanitize every image in a directory: strip AI provenance metadata and invisible watermarks, inject realistic camera EXIF profiles to make photos appear authentic.

Instructions

Sanitizes all images in a target directory with anti-AI detection processing.

Args: directory_path: Directory containing images to process. output_directory: Optional folder to save sanitized images. camera_profile: Camera profile to inject ('iphone_15_pro', etc.). grain_intensity: Sensor noise level (default 1.4).

Returns: Summary of processed images and outcomes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
camera_profileNoiphone_15_pro
directory_pathYes
grain_intensityNo
output_directoryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explains that images undergo anti-AI processing but does not state whether originals are modified when output_directory is omitted, whether files are overwritten, or what side effects occur. It also does not disclose format support or failure behavior.

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 description is compact, with a one-sentence purpose followed by a short parameter list and a returns note. It repeats default values already present in the schema, but overall it is well organized and easy to scan.

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?

As a batch mutation tool with no annotations, this description leaves important operational details uncovered: overwrite semantics, what happens if output_directory is null, whether directories are created, and how errors across multiple images are reported. The output schema exists but is not shown, and the 'Returns' line is too thin to fill this gap.

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?

Although schema description coverage is 0%, the description's Args section adds useful meaning for all four parameters: directory_path is the input source, output_directory is an optional save target, camera_profile is injected, and grain_intensity controls sensor noise. It does not fully specify expected formats or effects, but it meaningfully supplements the raw schema.

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?

The description names a specific action ('Sanitizes all images in a target directory') and a distinct purpose ('anti-AI detection processing'). It is clear that this is a batch operation, which helps distinguish it from single-file siblings like anti_ai_sanitize, though it does not explicitly name those alternatives.

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 directory-based scope and processing intent imply the tool is for batch sanitization, and the parameters indicate optional output handling. However, there is no explicit guidance about when to choose this tool versus strip_metadata_only, inject_camera_profile, or single-file processing.

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