Skip to main content
Glama

Remove photo metadata

remove_image_metadata

Removes EXIF, GPS, camera, date, XMP and comments from JPG photos and saves a copy without re-encoding, keeping rotation upright for safe sharing.

Instructions

Save a copy of a JPG photo without its EXIF data (GPS location, camera, date), XMP and comments, without re-encoding; the rotation is kept so it still shows upright. Use this before sharing a photo. Returns the saved path; the input is not changed.

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": {
      "file": "<file>"
    },
    "name": "remove_image_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesPath to the file (absolute, or relative to the working directory).
outputNoWhere to save the result. Defaults to a new file next to the input.

Output Schema

NameRequiredDescriptionDefault
notesYesAnything the output does not carry over from the input.
summaryYesOne line describing the result.
writtenYesPaths of the files written, in order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.2

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses non-obvious behavior: no re-encoding, rotation preserved so the image stays upright, and the input file left untouched. These details materially affect how an agent interprets the result and whether it needs a follow-up call.

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?

Two tight sentences, front-loaded with the core action and metadata list, then the usage cue and return/immutability facts. Nothing is padded or repeated needlessly.

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 two-parameter file transform with an output schema present, the description covers the operation, the format constraint, the no-re-encoding guarantee, orientation preservation, and input immutability. Nothing an agent needs to invoke it correctly is missing.

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 both parameters are already fully documented, including the default output location. The description restates the default ("new file next to the input") and adds the useful note that the input is unchanged, but contributes no new syntax or constraint detail for the parameters. Baseline 3 applies.

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 — saving a JPG copy stripped of EXIF, XMP and comments — and enumerates exactly which metadata classes are removed. It also implicitly distinguishes itself from the PDF sibling by naming the format (JPG), so an agent can route correctly without opening either schema.

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 gives a concrete when-to-use trigger: "Use this before sharing a photo." That is clear usage context. It stops short of naming the alternative (remove_pdf_metadata) or stating exclusions such as non-JPG inputs, so it earns a 4 rather than a 5.

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