Skip to main content
Glama

Open Media Search

Search Open Media

search_open_media
Read-onlyIdempotent

"Find free-to-use / royalty-free / Creative Commons images, audio or video of [X] I can legally use" -- one call across Openverse, Wikimedia Commons, Pixabay and Pexels. Every result has the same shape: title, creator, media url, thumbnail, size or duration, publisher, licence (id, version, url), booleans for commercial use / modification / attribution required, and a ready-to-paste attribution line. Filter by licence class (commercial, commercial without attribution, commercial and modifiable), media type and minimum size. Results from different publishers are interleaved and the same file listed by two of them is returned once. The sources array reports every publisher's status (ok, empty, skipped, needs_key, rate_limited, error) so a failed one is named, never dropped. Pixabay is included for every caller and Pexels for registered callers, with no key needed; anonymous callers get Pexels only with their own pexels_key, otherwise it shows as needs_key.

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": {
      "limit": 10,
      "query": "rain",
      "media_type": "audio",
      "licence_class": "commercial"
    },
    "name": "search_open_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results returned, 1-60 (default 20).
queryYesWhat to find, e.g. "rain on a window", "red panda".
sourcesNoRestrict to some publishers. Default all that carry the media type.
min_widthNoMinimum width in px (images and video).
media_typeNoDefault image. Audio: Openverse and Wikimedia Commons. Video: Wikimedia Commons, Pixabay, Pexels.
min_heightNoMinimum height in px (images and video).
pexels_keyNoOptional. Your own Pexels API key. Registered callers do not need it (Pexels is queried with our key); anonymous callers must pass it or Pexels is reported as needs_key.
pixabay_keyNoOptional. Your own Pixabay API key; it takes precedence over the platform key. Normally not needed: Pixabay is queried with our key. Reported as needs_key only if no key is available (for example the platform key is exhausted).
licence_classNoDefault any. commercial = commercial use allowed; commercial_no_attribution = also needs no credit line (CC0, public domain, Pixabay, Pexels); commercial_modifiable = commercial use and derivatives allowed. Results whose licence could not be classified are excluded when a class is set and counted in `excluded_unclassified`.

Output Schema

NameRequiredDescriptionDefault
noteNo
countNo
queryNo
resultsNo
sourcesNo
media_typeNo
licence_classNo
excluded_by_filterNo
excluded_unclassifiedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses interleaved results, cross-publisher de-duplication, the normalized result shape, and the full `sources` status vocabulary (ok, empty, skipped, needs_key, rate_limited, error). It also spells out the credential model (platform key vs caller-supplied pexels_key/pixabay_key), which is exactly the operational context an agent cannot infer from annotations.

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 core capability and cross-publisher guarantee are front-loaded in the first two sentences. It is a dense single paragraph with mild redundancy — the licence-class options and the result field list are restated from the schema/output schema — but nothing is wasted enough to obscure the call.

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 nine-parameter, multi-source aggregator this covers everything an agent needs: dedup semantics, failure surfacing, credential fallbacks, and filter interactions. An output schema exists, yet the brief result-shape recap is harmless and reinforces that all publishers return a uniform record.

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% and already documents limit ranges and enum meanings, so the baseline is 3. The description goes modestly beyond it by framing the filters as licence-class/media-type/size constraints and by explaining how `sources` degrades per publisher, which gives the `sources` and key parameters practical meaning.

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 opens with a concrete verb, resource and user intent (find legally usable images/audio/video) and immediately names the four aggregated publishers, so the agent knows this is a federated media search rather than a single-source lookup or the sibling list_open_media_sources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It clearly signals that this is the single call to make instead of hitting Openverse/Commons/Pixabay/Pexels separately, and explains the key/registration conditions that decide whether Pexels is queried. It stops short of naming explicit alternatives or saying when not to use it (e.g. when you only want to inspect publisher availability).

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.