Skip to main content
Glama

Search Resources

search_resources
Read-only

Search licensed stock media to compose with across video, photo, sound effects, and GIFs. Pass query for ONE search, or queries[] (≤10) to run them all in a SINGLE call — strongly prefer the batch when you know several things you need. A batch returns results[], one per query in order, each with its own candidates; a query that fails carries an error and never discards the others. Optional kind [default video], provider pin, and limit ≤50 apply to every query in the batch. Returns ranked candidates, each with an opaque candidateId + attribution (author, assetUrl) + license, and a preview URL in the text. FREE + rate-limited + cached — reach for this before generate_media when real footage beats synthesis. TO SEE the candidates rather than read about them, pass limit ≥2: thumbnails/audio are attached only when you asked for options to compare. Import a chosen candidate into a project with import_resource. Candidate handles expire; re-search to refresh one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesPOST /resources/search body — one `query`, or a batch of `queries[]`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo
resultsNo
providerNo
candidatesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly/openWorld/non-destructive), and the description layers on non-obvious behavior: free, rate-limited, cached; per-query error isolation in a batch; candidate handles that expire and must be refreshed; and the limit ≥2 threshold that controls whether preview media is attached. This is materially beyond what annotations or schema convey.

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?

Front-loaded with the core purpose and batch-vs-single decision, then layered with progressively finer constraints; each sentence carries distinct information. It is on the long side for a search tool, but no sentence is redundant.

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?

Even though an output schema exists, the description still flags the important shape details (candidates, candidateId, attribution, license, preview URL, ordered results[]). Combined with the annotations and rich schema, an agent has everything needed to call this correctly.

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 the baseline is 3, but the description adds real semantics: the query-vs-queries[] alternation and batch result ordering, the kind default (video) which the schema does not declare, and the limit ≥2 preview rule. The only untouched fields are minWidth/minHeight/durationSec, which the schema already documents.

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?

States a specific verb+resource (search licensed stock media) and enumerates the scopes it covers (video, photo, sound effects, GIFs). It explicitly contrasts itself with siblings generate_media and import_resource, so an agent can route to it without opening a schema.

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?

Gives explicit when-to-use routing: 'reach for this before generate_media when real footage beats synthesis', and directs follow-up to import_resource. It also states a strong preference for the batch form ('strongly prefer the batch when you know several things you need'), which is actionable guidance rather than description.

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.