Skip to main content
Glama
Foto MCP Server
by thesven

foto_inspect_image

Inspect a local image without uploading to extract EXIF, XMP, dimensions, color space, and GPS presence, plus a base64 preview thumbnail for visual inspection.

Instructions

Inspect a local image file without uploading: extracts technical EXIF (camera, lens, ISO, shutter, aperture), Lightroom/Capture One .xmp sidecar metadata, dimensions, aspect ratio, color space, and checks for GPS presence. Includes base64 preview image thumbnail for visual multimodal inspection.

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": {
      "filePath": "<filePath>"
    },
    "name": "foto_inspect_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYesAbsolute file path to the local image (JPEG, PNG, WebP, HEIC, TIFF)
includePreviewNoWhether to include base64 visual thumbnail image content (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.1
    • addedInput schema / properties / includePreview
      Added value: +{
      +  "description": "Whether to include base64 visual thumbnail image content (default: true)",
      +  "type": "boolean"
      +}
  2. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the important behavioral trait that nothing is uploaded (purely local read) and that a base64 thumbnail is embedded in the response, which is valuable. It says nothing about error behavior for missing/unreadable files or the size cost of the preview, leaving real gaps for a no-annotation tool.

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?

Two sentences, front-loaded with the core action and the key constraint (local, no upload), followed by the enumerated outputs. The parenthetical field list is dense but each item is informative; minor redundancy with the schema could be trimmed but nothing is wasted.

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 only two parameters, no annotations, and no output schema, the description does the heavy lifting by enumerating the return payload in detail, which an agent needs in order to know what it will get back. Missing only error/edge-case behavior to reach full completeness.

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 both filePath and includePreview are already documented, establishing a baseline of 3. The description reinforces that preview content is base64 image data (clarifying why one might disable it), but adds no format constraints or path-handling details beyond the 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 opens with a specific verb and resource ('Inspect a local image file') and then enumerates exactly what is extracted: EXIF fields, XMP sidecars, dimensions, color space, and GPS presence. It does not explicitly differentiate itself from the sibling foto_parse_xmp, which appears to overlap on the XMP-extraction portion, so it stops short of a 5.

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?

'Without uploading' implies a local-file use case, which is useful context, but there is no explicit statement of when to prefer this over foto_parse_xmp or when not to use it. The agent must infer scenario selection from the sibling names rather than from guidance in the definition.

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