Skip to main content
Glama

metadata

cli_metadata

Check for and remove AI-generation metadata from images, video, and audio by stripping EXIF AI tags, C2PA manifests, TC260 labels, and container provenance while leaving media data untouched.

Instructions

Check or remove AI-generation metadata (images, video, and audio).

Strips EXIF AI tags, PNG text chunks, C2PA provenance manifests, and the China TC260 AIGC label. Beyond images (PNG/JPEG/WebP/AVIF/HEIF/JXL) it also strips provenance metadata from MP4/MOV/M4V/M4A containers and, via ffmpeg, from WebM/MKV/MKA/AVI/FLV/MP3/WAV/FLAC/OGG/OGA/Opus/AAC. The coded image, audio, and video data are left untouched.

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": {
      "source": "<source>"
    },
    "name": "cli_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
checkNoCheck for AI metadata (don't modify).
outputNoOutput path (default: overwrite source).
removeNoRemove AI metadata.
sourceYessource
keep_standardNoKeep standard metadata (Author, Title, etc.).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.58.1

TDQS

A3.7/5.0
Behavior4/5

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

Only openWorldHint=false is annotated, so the description carries the load and does well: it discloses the exact metadata families removed, that non-image containers are handled via an ffmpeg dependency, and crucially that 'the coded image, audio, and video data are left untouched', which tells the agent the operation is lossless for pixel/sample data. It omits that the default operation overwrites the source file (only visible in the schema), which is the key destructive side effect an agent should surface.

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?

Front-loaded with the action and resource, then the format coverage in a compact list; every clause adds information. The long format enumeration is dense but justified given how many containers are supported.

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 metadata-mutation tool with no output schema, the description covers scope, format coverage, and the non-destructive-to-media guarantee well. The remaining gaps — what check returns, and that remove overwrites the source unless output is set — are the two things an agent most needs before invoking it.

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 description coverage is 100% and every parameter has text, so the baseline is 3. The description adds no parameter-level meaning beyond the schema — it does not clarify interaction rules between check and remove, or what keep_standard=true preserves versus what gets stripped.

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 opening sentence pairs specific verbs (check, remove) with a precise resource (AI-generation metadata) and immediately scopes it to images, video, and audio. It enumerates exactly which metadata classes are targeted (EXIF AI tags, PNG text chunks, C2PA, TC260 AIGC) and which container formats are handled, so an agent knows the tool's domain rather than a format-specific sibling's. It never names a sibling to contrast with, so differentiation from cli_video_metadata / cli_text_metadata is inferential.

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 makes the two modes (check vs remove) available and the schema booleans support them, but it never states when an agent should prefer this tool over the format-specific siblings, nor when to choose check versus remove. Usage is implied by the field list rather than stated as guidance.

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