Skip to main content
Glama

Find images for a word

search_word_images
Read-onlyIdempotent

Searches stock photo providers for images that illustrate a saved word, using a short English query, and returns choices with photographer and source credits. Searching never changes the word's saved image; save_word with imageUrl sets one. Images are searched, never generated.

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": {
      "languageCode": "<languageCode>",
      "itemId": "<itemId>"
    },
    "name": "search_word_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
itemIdYes
languageCodeYesCode of the learning language, for example en-GB or es-ES.

Output Schema

NameRequiredDescriptionDefault
imagesNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotent, so the safety profile is covered; the description then adds genuinely new facts — that searching does not mutate the word's saved image, that results carry photographer/source credits, and that images are retrieved from stock providers rather than generated. It does not mention rate limits or upstream provider failure behavior, which is the remaining gap for an open-world call.

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?

Three short sentences, front-loaded with the core action, followed by the mutation boundary and the generation boundary. Every sentence adds distinct information with no restatement of the title.

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?

An output schema exists, so return values need not be spelled out, and the description still flags the credit fields. For a read-only, open-world search tool the definition covers action, boundary, and side effects adequately; only limit semantics and provider failure handling are left unaddressed.

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 only 25% (only languageCode is documented), so the description must carry weight: it clarifies that itemId refers to a saved word and that query should be a short English string, a useful distinction given languageCode is the learning language. It says nothing about limit (max 9) or how query relates to the word's own text, so compensation is partial.

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 ('searches stock photo providers for images that illustrate a saved word') plus the return content (choices with photographer and source credits). It also explicitly separates itself from sibling save_word, so an agent can distinguish the two without opening either schema.

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?

Clear context: use this to find illustrative images for an already-saved word, and the description routes the agent to save_word with imageUrl when the intent is to persist an image. It also rules out image generation as an alternative path. It lacks an explicit trigger such as 'call this before saving an image' or guidance on when a search is unnecessary.

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.