Skip to main content
Glama

Lumethic Photo Verification

verify_photo

Verify a photo's authenticity from a RAW camera file and its JPEG export, when the user asks for proof or a check that the photo is a genuine camera capture (not for feedback on the photo itself). Provide the files as attachments (raw_file = the camera RAW such as .CR2/.CR3/.NEF/.ARW/.RAF/.ORF/.DNG, image_file = the exported .jpg/.png), inline as raw_base64 + image_base64 (small files), or — for large files without attachments — call create_verification_upload first and pass the returned raw_object_key + image_object_key. Returns a verification id at once; the analysis runs in the background and takes from about a minute to 10 minutes or more, so call get_verification with the id repeatedly until status is completed. Counts against the account's monthly verification allowance.

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

Input Schema

NameRequiredDescriptionDefault
raw_fileNoThe camera RAW file the user attached (.CR2/.CR3/.NEF/.ARW/.RAF/.ORF/.DNG ...); its file_name selects the decoder.
image_fileNoThe JPEG/PNG export of the same shot the user attached; pairs with raw_file.
raw_base64NoThe camera RAW file as base64, for files up to a few MB. For larger files call create_verification_upload and pass raw_object_key instead.
image_base64NoThe JPEG export of the same shot as base64; pairs with raw_base64.
raw_filenameNoOriginal RAW filename with extension, e.g. IMG_1234.CR3; the extension selects the decoder. Defaults to the attachment's own name.upload.raw
image_filenameNoOriginal JPEG filename with extension. Defaults to the attachment's own name.upload.jpg
raw_object_keyNoObject key returned by create_verification_upload for the RAW file.
image_object_keyNoObject key returned by create_verification_upload for the JPEG.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / image_file
      Added value: +{
      +  "default": null,
      +  "description": "The JPEG/PNG export of the same shot the user attached; pairs with raw_file.",
      +  "properties": {
      +    "download_url": {
      +      "description": "URL the file can be downloaded from.",
      +      "type": "string"
      +    },
      +    "file_id": {
      +      "description": "The client's identifier for the file.",
      +      "type": "string"
      +    },
      +    "file_name": {
      +      "description": "Original file name, when known.",
      +      "type": "string"
      +    },
      +    "mime_type": {
      +      "description": "MIME type, when known.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "download_url",
      +    "file_id"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / image_filename / description
      Previous value: -"Original JPEG filename with extension."New value: +"Original JPEG filename with extension. Defaults to the attachment's own name."
    • addedInput schema / properties / raw_file
      Added value: +{
      +  "default": null,
      +  "description": "The camera RAW file the user attached (.CR2/.CR3/.NEF/.ARW/.RAF/.ORF/.DNG ...); its file_name selects the decoder.",
      +  "properties": {
      +    "download_url": {
      +      "description": "URL the file can be downloaded from.",
      +      "type": "string"
      +    },
      +    "file_id": {
      +      "description": "The client's identifier for the file.",
      +      "type": "string"
      +    },
      +    "file_name": {
      +      "description": "Original file name, when known.",
      +      "type": "string"
      +    },
      +    "mime_type": {
      +      "description": "MIME type, when known.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "download_url",
      +    "file_id"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / raw_filename / description
      Previous value: -"Original RAW filename with extension, e.g. IMG_1234.CR3; the extension selects the decoder."New value: +"Original RAW filename with extension, e.g. IMG_1234.CR3; the extension selects the decoder. Defaults to the attachment's own name."
  2. Changed6 schema fields changed
    • addedInput schema / properties / image_base64 / description
      Added value: +"The JPEG export of the same shot as base64; pairs with raw_base64."
    • addedInput schema / properties / image_filename / description
      Added value: +"Original JPEG filename with extension."
    • addedInput schema / properties / image_object_key / description
      Added value: +"Object key returned by create_verification_upload for the JPEG."
    • addedInput schema / properties / raw_base64 / description
      Added value: +"The camera RAW file as base64, for files up to a few MB. For larger files call create_verification_upload and pass raw_object_key instead."
    • addedInput schema / properties / raw_filename / description
      Added value: +"Original RAW filename with extension, e.g. IMG_1234.CR3; the extension selects the decoder."
    • addedInput schema / properties / raw_object_key / description
      Added value: +"Object key returned by create_verification_upload for the RAW file."
  3. Changed1 schema field changed
    • removedInput schema / properties / anonymous_user_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Anonymous User Id"
      -}
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations, it discloses the key behavioral traits: the call returns a verification id immediately, analysis runs asynchronously for roughly one to ten minutes or more, and the caller must poll get_verification until status is completed. It also warns that each call consumes the account's monthly verification allowance, which effectively documents the non-idempotent, quota-consuming nature. Minor gap: it never states explicitly whether repeating the call creates a second billable verification, leaving the idempotentHint=false implication to be inferred.

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?

Purpose and the 'not for feedback' exclusion are front-loaded, followed by input modes, async polling, and cost. Every sentence carries information, though the single dense paragraph packs three input strategies with em-dash interleaving, which slightly impairs scannability when an agent needs to pick a mode under time pressure.

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?

Given eight parameters, nested file objects, and an output schema, the description covers what the structured fields cannot: which input mode to pick, that the response is an id rather than a verdict, and how long to expect before polling succeeds. No obvious gap remains for correct invocation, since return-value shape is already carried by the output schema.

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 100%, so the baseline would be 3, but the description adds cross-parameter meaning the schema cannot express: the three input modes are alternatives, image_file pairs with raw_file as the same shot, and the filename extension selects the RAW decoder. It stops short of stating exactly which parameter combinations are valid or whether all are optional (required count is 0), so ambiguity about minimal valid input remains.

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 ('Verify a photo's authenticity from a RAW camera file and its JPEG export') and immediately scopes it against the adjacent case ('not for feedback on the photo itself'). It also implicitly separates this tool from its workflow neighbors create_verification_upload (input staging) and get_verification (result polling), so an agent can place it in the pipeline without opening a schema.

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?

It gives an explicit trigger ('when the user asks for proof or a check that the photo is a genuine camera capture') plus a negative condition excluding photo critique. It then spells out three mutually exclusive input paths — attachments, inline base64 for small files, and create_verification_upload object keys for large files — with the condition selecting each, which is exactly the routing guidance an agent needs.

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.

Resources