Skip to main content
Glama
Unsplash MCP Server
by mjordi

Get Collection Photos

unsplash_get_collection_photos
Read-onlyIdempotent

Retrieve all photos from a specified Unsplash collection, with pagination and orientation filters, so you can browse curated image sets by collection ID.

Instructions

Get all photos from a specific Unsplash collection.

Use this to retrieve photos from a curated collection. First use unsplash_search_collections to find collection IDs.

Args:

  • id (string): Collection ID

  • page (number): Page number for pagination (default: 1)

  • per_page (number): Results per page, 1-30 (default: 10)

  • orientation (string, optional): Filter by 'landscape', 'portrait', or 'squarish'

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

Returns: Array of photos from the collection

Examples:

  • Get collection photos: id="3330445"

  • Portrait photos only: id="3330445", orientation="portrait"

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_collection_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUnsplash collection ID
pageNoPage number for pagination
per_pageNoNumber of results per page (max 30)
orientationNoFilter by photo orientation
response_formatNoOutput format: markdown (default) or jsonmarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds that the return is an array of photos and that response_format defaults to markdown, but it discloses nothing about rate limits, auth requirements, or pagination depth limits beyond the schema's per_page cap. Useful but thin beyond structured fields.

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 purpose and prerequisite are front-loaded well, and the examples earn their place by showing id format and filter combination. However, the Args section duplicates the schema field-by-field, and the Returns line is a single thin sentence, so a meaningful share of the text is redundant.

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 read-only, single-resource list tool with no output schema, the description covers purpose, prerequisite, parameters, and the general return shape well enough to call correctly. The remaining gap is what fields each photo object contains and how markdown vs json differ in practice, which is minor for this complexity.

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 every parameter is already documented in the schema, and the Args block largely restates it verbatim including defaults and ranges. The only added value is a concrete example showing an id value and how to combine it with orientation. Baseline 3 is appropriate when the schema does the heavy lifting.

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 specific verb and resource: 'Get all photos from a specific Unsplash collection.' This is clearly distinct from unsplash_search_collections, which the description names as the way to obtain the id. It stops short of contrasting with unsplash_search_photos or unsplash_list_photos, so the sibling differentiation is partial.

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?

Gives explicit routing guidance: 'First use unsplash_search_collections to find collection IDs,' which tells the agent the prerequisite step and the correct alternative for discovery. It does not state when NOT to use this tool (e.g., for ad-hoc keyword search), so it falls short of a full when/when-not treatment.

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