Skip to main content
Glama
axross-headless-mcp

axross-headless-mcp

Strip metadata into copies

strip_metadata

Create cleaned copies of files with camera, GPS, or author metadata removed, leaving originals untouched—ideal for safe sharing.

Instructions

Strip the metadata of a file, or a folder's supported files, into cleaned copies next to the originals. Use when: sharing a file without its camera, GPS or author data; look with read_metadata first. Instead: export_metadata to keep the metadata as a record. Requires: --mcp-tools metadata; PDF needs pypdf; audio/video ffmpeg, off in paranoid mode. Behavior: only adds; originals stay ('photo.jpg' -> 'photo.clean.jpg', then 'photo.clean (1).jpg'); a repeat writes another copy. Secret files are left out. Time limit: 30 min. Returns: {path, mode (always 'copy'), truncated, results: [{path, status, output (the copy), removed (fields), sha256, error, note}]}; status: cleaned, unchanged (no copy), unsupported, skipped (read-only folder) or error.

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

Input Schema

NameRequiredDescriptionDefault
pathNoA file, or a folder whose supported files are cleaned (absolute, or relative to the MCP root). Required unless path_b64 is given.
backendNoBackend id from list_backends; omit for the default.
path_b64Nopath as base64 of its raw bytes, for non-UTF-8 names; replaces path.
max_filesNoFor a folder: take at most this many files; more sets truncated=true. Ignored for a file.
recursiveNoFor a folder: also take the files in its subfolders (false: the folder's own files only). Ignored for a file.

Output Schema

NameRequiredDescriptionDefault
modeYes
pathYes
resultsYes
truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.181

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses that originals are never modified and only copies are added, documents the collision-renaming scheme ('photo.clean.jpg' then 'photo.clean (1).jpg'), states that repeat runs write additional copies, that secret files are excluded, and that there is a 30-minute time limit. It also lists runtime dependencies (--mcp-tools metadata, pypdf, ffmpeg) and the paranoid-mode limitation, which the annotations cannot convey.

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 and organized into labeled blocks (Use when / Instead / Requires / Behavior / Returns), with each line carrying distinct information. The Returns block is comparatively verbose and partly restates information an output schema already provides, costing a point against an otherwise tight structure.

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

Completeness5/5

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

For a mutating, filesystem-touching tool with five parameters, the description covers safety (originals untouched), naming outcomes, exclusions, dependencies, timeout, and status semantics. An agent has everything needed to decide, invoke, and interpret the result without guessing.

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%, so baseline is 3; the description reinforces that path may be a file or folder but says nothing about max_files, recursive, backend, or path_b64, leaving the schema to carry those. The only extra meaning added is that folder traversal is limited to 'supported files' and that a partial run sets truncated.

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?

Names a specific verb (strip) and resource (metadata of a file or a folder's supported files) and states the output form (cleaned copies next to the originals). This makes it immediately distinguishable from read_metadata and export_metadata, which are named explicitly.

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

Usage Guidelines5/5

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

Provides an explicit 'Use when' clause (sharing without camera/GPS/author data), a prerequisite step ('look with read_metadata first'), and a named alternative with its selecting condition ('Instead: export_metadata to keep the metadata as a record'). Nothing is left to inference.

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