Skip to main content
Glama

Read or strip photo metadata

read_exif
Read-onlyIdempotent

Read EXIF tags, including GPS, or strip them. action is read or strip. scope is all or gps. gps-only removal keeps the other JPEG tags. Other formats are re-encoded, which drops every tag. Send base64 or a public URL. Private addresses are refused and the decoded file is capped at 10 MB.

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

Input Schema

NameRequiredDescriptionDefault
fileYesThe photo. Provide url or data.
scopeNoUsed when action is strip. gps removes the GPS block from a JPEG. all re-encodes and drops every tag.all
actionNoread

Output Schema

NameRequiredDescriptionDefault
gpsYes
dataYesCleaned image as base64. Empty when action is read.
mimeYes
noteYes
tagsYes
whenYes
bytesYes
widthYes
cameraYes
heightYes
filenameYes
strippedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

The description adds substantial behavior beyond the annotations: private addresses are refused, decoded files are capped at 10 MB, and non-JPEG re-encoding silently drops every tag. However, readOnlyHint=true sits oddly beside a "strip" action that alters the output file, and the description never clarifies that stripping only affects the returned bytes, not any stored original — a real ambiguity for an agent deciding whether the call is destructive.

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?

Five short sentences, front-loaded with the operation, then parameters, then the caveats. Every sentence carries a distinct fact (scope semantics, re-encode behavior, input transports, security and size limits) with no filler.

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?

With an output schema present, the description needn't document return values, and it covers inputs, limits, and format caveats well. It is slightly incomplete on which formats besides JPEG are accepted and what happens to unsupported input, which matters for a tool whose behavior branches on format.

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?

Schema coverage is 67%, and the description compensates by explaining what action and scope actually do — notably that scope only applies when action is strip and that gps preserves non-GPS JPEG tags. It says nothing about filename or mimeType, which the schema only lightly documents.

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 first sentence names the exact resource (EXIF tags, including GPS) and both operations (read or strip). An agent can tell immediately this is a metadata-extraction/sanitization tool and not an image converter or compressor like the sibling image tools.

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 clearly explains the choices between actions (read vs strip) and scopes (all vs gps), including the tradeoff that gps-only removal preserves other JPEG tags while other formats are re-encoded and lose everything. It does not name any alternative sibling tool or state when a different tool would be preferable, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.