Skip to main content
Glama
Unsplash MCP Server
by mjordi

Get Photo Details

unsplash_get_photo
Read-onlyIdempotent

Retrieve complete metadata for a specific Unsplash photo by ID, including dimensions, photographer, EXIF data, location, tags, and download URLs. Use it after finding a photo ID to inspect details.

Instructions

Retrieve detailed information about a specific Unsplash photo by its ID.

This tool fetches complete metadata for a photo including dimensions, photographer info, EXIF data, location, tags, and download URLs.

Args:

  • id (string): Unsplash photo ID (e.g., "LBI7cgq3pbM")

  • response_format (string): Output as 'markdown' (default) or 'json'

Returns: For JSON format: Complete photo object with all metadata { "id": string, "width": number, "height": number, "color": string, "blur_hash": string, "likes": number, "description": string, "alt_description": string, "created_at": string, "urls": { ... }, "links": { ... }, "user": { ... }, "exif": { ... }, // Camera settings if available "location": { ... }, // Photo location if available "tags": [ ... ] }

Examples:

  • Get photo details: id="LBI7cgq3pbM"

Use unsplash_search_photos first to find photo IDs.

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": {
      "id": "<id>"
    },
    "name": "unsplash_get_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUnsplash photo ID
response_formatNoOutput format: markdown (default) or jsonmarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/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 goes further by disclosing what comes back (EXIF, location, tags, download URLs) and marking optional fields with 'if available', which is behavior beyond the annotations. It does not mention rate limits or error behavior for an invalid ID, keeping it below 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.

Conciseness3/5

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

The opening sentence is well front-loaded, but the description then repeats itself: the prose list of returned fields is followed by a large semi-JSON field enumeration conveying nearly the same information twice. That block has value given there is no output schema, yet the duplication is wasteful.

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 simple parameters and no output schema, the Returns section successfully fills the missing return-value documentation, and the example plus the sibling pointer cover invocation. Complete enough to call correctly; only error behavior is unaddressed.

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 are already documented with their types, enum and default. The description only adds a concrete example value ('LBI7cgq3pbM') and restates the response_format options, which is marginal added meaning over the schema.

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?

States a specific verb and resource ('Retrieve detailed information about a specific Unsplash photo by its ID') and the closing line routes the agent to unsplash_search_photos for the discovery case, making the fetch-by-ID role unambiguous versus siblings.

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?

'Use unsplash_search_photos first to find photo IDs' gives clear context for when this tool applies and what prerequisite it has. It stops short of stating when-not to use it or how it differs from unsplash_get_random or unsplash_list_photos, but the selection logic is still clear.

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