Skip to main content
Glama

photo_get_info

Read-only

Retrieve a photo's transform, crop, looks, rating, source file, and resolution using its name, ID, or album index to inspect settings and metadata.

Instructions

A photo's properties (transform, crop, looks), rating, source file and resolution.

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": {
      "photo": "<photo>"
    },
    "name": "photo_get_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
albumNoAlbum name or id (default: current album)
photoYesPhoto name, id or 1-based index in the album

Output Schema

NameRequiredDescriptionDefault
okYesTrue only when DaVinci Resolve confirmed the operation.
dataNo
toolYes
errorNo
sourceNoWhere the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone.
statusYes
messageYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds only a field inventory (transform, crop, looks, rating, source, resolution), which is largely redundant with the existing output schema, and says nothing about error behavior when the photo or album is not found.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single terse fragment with no wasted words and the key resource is front-loaded, but the sentence is grammatically incomplete and omits any lead-in that would state the action being performed.

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?

For a two-parameter read tool with an output schema, full parameter coverage and complete safety annotations, the description is nearly sufficient. Only the 'album/current album' scoping behavior is left entirely to the schema, which is acceptable here.

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 parameters (photo as name/id/1-based index, album with a current-album default) are already fully documented in the schema. The description adds no syntax, indexing, or scoping nuance beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (a photo) and enumerates what comes back (properties, rating, source file, resolution), but it is a noun phrase with no verb, so the operation—retrieve, not modify—must be inferred. It is clear enough to separate from photo_list or photo_edit, but it does no explicit sibling differentiation.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as photo_list, clip_get_properties, or the photo_edit family. The agent must infer from the name alone that this is the read path for a single photo's metadata.

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

Deploy Server

Other Tools