Skip to main content
Glama

Pexels Photo

pexels_photo
Read-onlyIdempotent

Fetch full metadata for a single Pexels photo by numeric id, including all sized image URLs, photographer name/URL, dimensions, and alt text.

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": 45890
    },
    "name": "pexels_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault
idNoPhoto ID
altNoAlt text for photo
srcNoImage sources in different sizes
urlNoURL to photo page
likedNoWhether photo is liked by user
widthNoPhoto width in pixels
heightNoPhoto height in pixels
avg_colorNoAverage color of photo as hex
photographerNoPhotographer name
photographer_idNoPhotographer ID
photographer_urlNoURL to photographer profile

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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 safety behavior is covered. The description adds scope ('single photo', 'full metadata') and lists what the payload contains, but says nothing about behavior on a missing/invalid id or rate limiting, so it adds only modest context beyond the annotations.

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?

A single well-formed sentence that front-loads the action and resource before enumerating the returned fields. Nothing repeats the name or title and no clause is wasted.

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 an output schema present, the description needn't document the return shape in detail, and the annotations cover the safety profile, so this is close to complete for a one-parameter lookup. The only real omission is error behavior when the id does not resolve.

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?

The schema coverage is 0% with the lone 'id' property typed only as a number, so the description carries the semantic load. It correctly tells the agent the id is numeric and identifies a single photo, which is the meaning the schema omits; it does not offer an example or format hints, keeping it short of a 5.

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 names a specific verb and resource ('Fetch full metadata for a single Pexels photo') and constrains it to lookup 'by numeric id', which implicitly separates it from list-oriented siblings like photo_search or photo_curated. It does not name any sibling explicitly, so the differentiation is inferred 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 implied: an agent should call this when it already holds a numeric photo id and needs detail on that one photo. There is no explicit when-to-use/when-not guidance, no mention of what to do when only a query term is available (i.e., no pointer to a search tool), and no failure-path guidance for an unknown id.

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.