Skip to main content
Glama

search_images

Search multiple stock photo libraries for real images when client photos are unavailable. Get preview, download URL, and attribution.

Instructions

Search free stock photos on Pexels, Unsplash and Pixabay. Use when the project needs a real photo and the client has NOT provided their own images. Prefer client-provided photos when they exist. Queries in English return better results. Returns preview URL, download URL, dimensions, author and attribution link per image. To place an image in the project, pass its downloadUrl (and trackDownloadUrl if present) to the download_image tool instead of hotlinking the URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNoOptional dominant color filter to match brand palette (e.g. 'blue', 'green', 'orange'). Support varies by provider.
queryYesSearch terms, in English (e.g. 'artisan bread rustic bakery')
perPageNoResults per provider.
providerNoWhich provider to search. 'all' queries every configured one.all
orientationNolandscape for heroes/banners, portrait for cards/mobile.any
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the tool searches multiple providers, returns specific fields (preview URL, download URL, dimensions, author, attribution link), and warns against hotlinking. However, it does not mention rate limits, authentication requirements, or any side effects, which would make it fully transparent.

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?

The description is a single paragraph but packs essential information without redundancy. It is concise and front-loaded with the main purpose, though it could be slightly more structured (e.g., bullet points for return fields).

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?

No output schema exists, so the description must cover return values, which it does by listing preview URL, download URL, dimensions, author, and attribution link. It also explains the workflow with the sibling tool. For a search tool, this is fairly complete, though it lacks details on pagination or error handling.

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 coverage is 100%, so baseline is 3. The description adds value by explaining how to use the download URL (pass to download_image) and mentions that English queries yield better results and that color filter support varies by provider, going beyond the schema definitions.

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 searches free stock photos on Pexels, Unsplash, and Pixabay. It distinguishes from the sibling tool download_image by specifying that search results should be passed to that tool for placing images. The purpose is specific 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool ('when the project needs a real photo and the client has NOT provided their own images') and when not to ('Prefer client-provided photos when they exist'). It also gives a tip about English queries and directs the agent to use download_image for placing images, which is excellent guidance.

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/romulorasec/imagebank-mcp'

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