Skip to main content
Glama

Photos Get

photos_get
Read-onlyIdempotent

Retrieve detailed metadata for up to 10 Google Photos items in one request, including dimensions, location, camera, albums, upload time, duration, size, and per-item errors.

Instructions

Details per item, all ids in one Google request: the item shape of photos_search plus uploaded_at (UTC), lat/lon, camera, width/height (original), size_bytes, duration_s and albums. Failed items carry their own error. For conditional capture, pass the original album listing's connection_epoch as expected_connection; successful responses retain that binding and validate each returned provider item identity.

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": {
      "ids": "<ids>"
    },
    "name": "photos_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesItem ids (max 10)
expected_connectionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.1
    • addedInput schema / properties / expected_connection
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 64,
      +      "minLength": 64,
      +      "pattern": "^[a-f0-9]{64}$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. First observedv0.11.3

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real behavior beyond that: per-item failure isolation ('failed items carry their own error') for this batch call, and the connection_epoch binding/identity validation semantics on the response. It stops short of stating rate limits or ordering guarantees, hence not a 5.

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, both load-bearing, with the batch-scope fact front-loaded. The phrasing is dense and telegraphed ('Details per item, all ids in one Google request'), which costs a little immediate readability, but there is no redundant 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?

An output schema exists, so return fields need not be described, yet the description names them anyway to help the agent recognize the shape. Partial-failure semantics and the consistency binding are both covered. Given the tool's low parameter count and annotation coverage, the only real omission is guidance on where ids originate and how this differs from photos_show.

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 only 50%: ids is documented in the schema, but expected_connection is not. The description fills that gap by explaining the parameter must be the connection_epoch taken from an album listing and what it guarantees in the response, which is genuine added meaning. The provenance of the ids themselves (presumably from photos_search) is only implied.

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?

States a concrete verb+resource: fetches item details for up to 10 ids in a single Google request, returning the photos_search item shape plus extra fields. It ties itself to photos_search's shape, which helps an agent distinguish it from search, though it never explicitly contrasts with photos_show or photos_list. The purpose is clear but requires the reader to already know what the photos_search shape is.

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?

Offers one specific conditional rule: when doing conditional capture, pass the original album listing's connection_epoch as expected_connection. However, it gives no explicit when-to-use versus photos_show/photos_search/photos_list, nor any statement of when not to use it; the usage context is inferred from 'details per item' and the batch framing.

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