Skip to main content
Glama

image_search

Find openly-licensed images from Openverse without an API key, then optionally import the top result to your media library as the featured image.

Instructions

Find a real, openly-licensed image for a post/product from Openverse (free, no API key, Creative Commons / public-domain). Returns candidate images; set attach_to to download the top match into the media library and (optionally) set it as the featured image. Use this whenever you need an image and no generation key is configured.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "image_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
per_pageNo
attach_toNoPost ID to import the top result into.
orientationNoAspect ratio filter.
set_featuredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false; the description earns credit for explaining the actual side effect: setting attach_to downloads the top match into the media library and can set the featured image. It also discloses the licensing/no-API-key profile. It stops short of covering failure modes, attribution obligations, or rate limits.

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?

Three tight sentences, front-loaded with what the tool does, then the optional side effect, then the routing condition. No filler, though the parenthetical license/API-key aside could be trimmed slightly.

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?

For a 5-parameter search-and-attach tool with no output schema, the description covers purpose, source, return shape ('candidate images'), and the side-effecting path. The main omission is that per_page and result-count/pagination behavior are never addressed.

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?

Schema description coverage is 40%, and the description meaningfully explains attach_to and set_featured (import + featured image) while orientation is covered only by the schema. query and per_page receive no added meaning beyond their names and default, leaving part of the coverage gap unfilled.

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 and resource ('Find a real, openly-licensed image') plus the concrete source (Openverse, Creative Commons / public domain), which makes the tool immediately distinguishable from image_generate. An agent knows exactly what will be returned: candidate images.

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?

Gives an explicit when-to-use rule ('Use this whenever you need an image and no generation key is configured'), which implicitly routes agents to the generation sibling when a key exists. It does not name that alternative explicitly, so routing relies on the agent inferring the sibling from a capability condition.

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