Skip to main content
Glama
Pexels MCP Server

Pexels MCP Server

by ttkkasd

get_photo_details

Retrieves detailed information for a specific Pexels photo by ID, so you can inspect its metadata and use the image with accurate context.

Instructions

Get details of a specific photo by its ID

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": "get_photo_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPhoto ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. 'Get' implies a read operation, but it says nothing about what 'details' actually includes, whether private or inaccessible photos raise an error, or whether any permissions are required.

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?

One short, front-loaded sentence with no filler, so it is easy to scan. It is arguably too terse for a tool whose return shape is undocumented, but nothing in it is wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool itself is simple (one required numeric parameter), so little explanation is strictly needed. However, with no output schema and no annotations, the description never hints at what details come back or how failures behave, leaving an agent to discover that only after calling it.

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 coverage is 100% for the single id parameter, so the schema already documents it fully. The description adds nothing beyond 'by its ID', which matches the schema's 'Photo ID' description, 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?

States a specific verb and resource: retrieve details of one photo identified by ID. That clearly separates it from search_photos and get_curated_photos, which are list/search operations, but the description never names those siblings or states the distinction explicitly.

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: an agent can infer it should call this when it already has a photo ID rather than browsing or searching. There is no explicit when-to-use/when-not guidance, no mention of what to do if the ID is unknown, and no direction to the alternatives.

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

Deploy Server

Other Tools