Skip to main content
Glama
Unsplash MCP Server
by mjordi

Get Photo Statistics

unsplash_get_statistics
Read-only

Retrieve view, download, and like statistics for a specific Unsplash photo, including total counts and recent trends, to analyze a photo's popularity.

Instructions

Get view, download, and like statistics for a specific photo.

This tool provides detailed analytics including total counts and recent trends for a photo's popularity.

Args:

  • id (string): Unsplash photo ID

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

Returns: Statistics including downloads, views, likes with historical trends

Examples:

  • Get stats: id="LBI7cgq3pbM"

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

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

B3.4/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=true, so the safety profile is covered. The description adds the return shape ('statistics including downloads, views, likes with historical trends'), which is genuinely useful since there is no output schema, but it says nothing about auth needs, rate limits, or whether 'recent trends' has a fixed window.

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 sentence is front-loaded and clear, but the second sentence ('detailed analytics including total counts and recent trends') largely duplicates the later Returns line. The Args block also repeats schema content, so the definition carries avoidable redundancy for a two-parameter tool.

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 no output schema, the description usefully states what comes back (downloads, views, likes, historical trends) and gives a working example ID. For a simple read-only two-parameter tool this is nearly sufficient; only the time window of the trend data and any auth expectations are left open.

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 in the schema. The Args section merely restates 'id' and 'response_format' without adding format, validation, or behavior nuance beyond the enum and default already present, so baseline 3 applies.

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?

The description gives a specific verb and resource — 'Get view, download, and like statistics for a specific photo' — and scopes it to a single photo ID, which separates it from the list/search siblings. It does not explicitly contrast with unsplash_get_photo, which likely also surfaces some counters, so the differentiation is implicit rather than stated.

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?

Usage is only implied by the purpose and the single example call; there is no statement of when to prefer this over unsplash_get_photo or when statistics are unavailable. An agent can infer it is the analytics path for one photo, but no exclusion or prerequisite is spelled out.

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