Skip to main content
Glama

search_photos

Search editorial photos (real places, real dates). Exact matches first, then close matches, each result marked 'exact' or 'close'. Filters can be written in the query: 'street, Japan, night, vertical, no people'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
limitNo
offsetNo
include_closeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / category
      Removed value: -{
      -  "description": "Optional category (Transport, Architecture, Nature...)",
      -  "type": "string"
      -}
    • removedInput schema / properties / country
      Removed value: -{
      -  "description": "Optional country in English (Japan, Canada, France, Switzerland...)",
      -  "type": "string"
      -}
    • addedInput schema / properties / include_close
      Added value: +{
      +  "type": "boolean"
      +}
    • removedInput schema / properties / limit / description
      Removed value: -"Results per page (1-30, default 10)"
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • removedInput schema / properties / offset / description
      Removed value: -"Skip this many results"
    • addedInput schema / properties / q
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / query
      Removed value: -{
      -  "description": "Subject, place or concept, e.g. 'Tokyo rain neon', 'Swiss alpine train'. Empty = best photos.",
      -  "type": "string"
      -}
  2. Added

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful behavior: ranking (exact before close) and a per-result 'exact'/'close' marker. It leaves unclear how the include_close parameter interacts with that default ordering, whether close matches are returned by default, and how results are paged, which matters for a tool with no annotations.

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 what is searched and how results are ordered, followed by the query syntax hint and a concrete example. No wasted wording and nothing important buried at the end.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No annotations and no output schema mean the description is the only documentation, yet it omits default page size, pagination behavior, the meaning of include_close, and any indication of what a photo result contains. For a search tool returning ranked records, those omissions leave real gaps an agent must guess at.

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 0%, so the description must compensate, and it does for the most important parameter: it explains that q takes free-text filters written inline ('street, Japan, night, vertical, no people'), which is meaning the schema does not convey. It says nothing about limit, offset, or include_close, leaving half the parameters undocumented in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Search editorial photos') and scopes it to editorial content ('real places, real dates'), which separates it from the single-item sibling get_photo by implication. It stops short of naming that sibling or stating the boundary explicitly, so the distinction is inferable rather than declared.

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

Usage Guidelines3/5

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

Offers practical guidance on how to express filters inside the query string with a concrete example, which helps an agent call it correctly. However, there is no statement of when to use this versus get_photo or when not to use it, so the selection guidance is only implied.

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.

Resources