Skip to main content
Glama

Photo Statistics

photo_statistics
Read-onlyIdempotent

Fetch view, download, and like statistics for a single Unsplash photo by id; supports resolution ("days") and quantity (1-30) to control the time-series window.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "oHUYUhWp89g"
    },
    "name": "photo_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
quantityNo
resolutionNo

Output Schema

NameRequiredDescriptionDefault
idNoPhoto identifier
likesNoLike statistics data
viewsNoView statistics data
downloadsNoDownload statistics data

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "id": "Dwu85P9SOIk"
      -  },
      -  {
      -    "id": "Dwu85P9SOIk",
      -    "quantity": 30,
      -    "resolution": "1920x1080"
      -  }
      -]New value: +[
      +  {
      +    "id": "oHUYUhWp89g"
      +  },
      +  {
      +    "id": "oHUYUhWp89g",
      +    "quantity": 30,
      +    "resolution": "days"
      +  }
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds behavior beyond that: results are a time series shaped by a resolution and a 1-30 quantity bound. It omits defaults and out-of-range handling.

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

Conciseness5/5

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

One sentence, front-loaded with the core purpose, with the parameter constraints following in the same clause. No filler and no restatement of the title.

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 values need not be described. With rich annotations and only three parameters, the description covers enough to call the tool correctly, though it leaves the default quantity/resolution and error behavior for out-of-range values undefined.

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 description coverage is 0%, so the description must do the work, and it does most of it: id identifies the photo, quantity is bounded to 1-30, and resolution sets the time-series granularity with 'days' as the apparent unit. The meaning of 'resolution' beyond 'days' and the defaults for both optional params remain unstated, which is why this is not a 5.

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?

Specific verb + resource + scope: 'Fetch view, download, and like statistics for a single Unsplash photo by id'. This clearly separates it from photo metadata or download siblings, and adds what the stats actually measure.

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?

The description establishes clear usage context: one photo at a time, looked up by id, with a time-series window. It stops short of explicit exclusions or naming an alternative, but it leaves no ambiguity about when this tool applies.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.