Skip to main content
Glama

Collection Media

collection_media
Read-onlyIdempotent

Fetch all photos and videos inside a specific Pexels collection by string id; returns paginated mixed media objects with URLs and metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoCollection ID
pageNoCurrent page number
mediaNoArray of media objects in collection
titleNoCollection title
privateNoWhether collection is private
per_pageNoNumber of results per page
next_pageNoURL for next page of results
descriptionNoCollection description
total_resultsNoTotal number of results available

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so the safety profile is covered. The description adds that results are paginated mixed media objects with URLs and metadata, which provides useful context about the response shape but does not go beyond that.

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 primary verb and resource, no extraneous information.

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

Completeness5/5

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

For a simple one-parameter tool with an output schema, strong annotations, and a clear description stating pagination and return contents, the description is fully sufficient.

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?

With 0% schema description coverage, the description compensates partially by stating 'by string id', indicating the id is a string. The examples in schema show string collection identifiers, but the description does not explicitly define what the id refers to beyond 'specific Pexels collection'. This is a minor gap.

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?

The description clearly states it fetches all photos and videos inside a specific Pexels collection by string id, with a specific verb (Fetch) and resource (collection media). It distinguishes from siblings like featured_collections (collections list) and photo/video (single media) by focusing on mixed media in a collection.

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?

The description implies the use case (retrieving all media in a collection) but does not explicitly state when to use this tool vs alternatives like photo_search or video_search, nor does it provide exclusions. Usage is implied rather than directly guided.

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.