Skip to main content
Glama

pexels_search_photos

Search Pexels for free stock photos by keyword, then filter by color, orientation, size, and more.

Instructions

Search Pexels photos by query with optional filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
sizeNo
colorNo
queryYes
localeNo
per_pageNo
orientationNo
Behavior2/5

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

With no annotations, the description must fully disclose behavior, but it only states that it searches photos with optional filters. It does not mention pagination, response format, rate limits, or that it is a read-only operation. The description adds minimal value beyond the tool name.

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?

The description is a single, front-loaded sentence with no wasted words. It effectively communicates the core function in minimal space, making it concise and well-structured.

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

Completeness2/5

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

For a search tool with 7 parameters, no annotations, and no output schema, this description is insufficient. It does not cover pagination, response structure, or filter interactions, leaving the agent without essential information for correct invocation. The description is too sparse for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description must compensate by explaining parameters. It mentions 'query' and 'optional filters' but does not explain any of the six filter parameters (size, color, orientation, locale, page, per_page). The enums are self-explanatory, but the meaning of page/per_page and how filters interact is left unclear.

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 'Search Pexels photos by query with optional filters' clearly identifies the action (search), the resource (Pexels photos), and the scope (query with filters). This distinguishes it from sibling tools like pexels_search_videos and pexels_curated_photos, as the verb 'search' and the resource 'photos' are explicit and unambiguous.

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 tool should be used when querying for photos with optional filters, but it does not explicitly state when to prefer this over alternatives like pexels_curated_photos or pexels_get_photo. It provides clear context ('by query') but lacks explicit exclusions or mention of alternative tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/developer-ishan/mcp-pexels'

If you have feedback or need assistance with the MCP directory API, please join our Discord server