Skip to main content
Glama

JENRIKS Photo Archive

Search photos

search_photos
Read-onlyIdempotent

Search the JENRIKS archive (one photo per day since 2006). Free-text query matches title, place, categories, tags and photographer; filters narrow by photographer, category, year and location. Returns permanent page URLs, credits, coordinates and image URLs, newest first. Page with offset, or with the opaque cursor from next_cursor (cursor wins when both are sent).

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
yearNoFour-digit publication year
limitNo
queryNoFree text, e.g. "harbour", "Barcelona", "fog"
cursorNoOpaque page token from next_cursor; overrides offset
offsetNo
categoryNoOne of: Abstract, Architecture, B&W, Humans, Landscapes, Macro, Nature, News, Street, Studio, Time exposure
locationNoCity or country name, e.g. "Iceland"
photographerNo

Output Schema

NameRequiredDescriptionDefault
linksNo
cursorNoEcho of the cursor this page was fetched with, when one was sent
offsetYesOffset of the first returned row; 0 when a cursor was used
photosYes
has_moreYesTrue when another page exists
returnedYes
next_cursorYesOpaque token for the next page; null on the last page. Send it back as cursor.
next_offsetNoKept for offset paging; present when more matches exist
total_matchesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / photos / items / properties / camera
      Added value: +{
      +  "description": "Camera the photo was taken with, when the file carries it",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / photos / items / properties / lens
      Added value: +{
      +  "description": "Lens the photo was taken with, when the file carries it",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world behavior, so safety is covered. The description adds real context beyond that: results come back newest first and the opaque cursor takes precedence over offset when both are sent. It does not mention result caps (limit max 50) or what happens on an empty match set.

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 sentences, front-loaded with the archive scope, then query/filter semantics, then return shape and paging. No filler and nothing repeated from the schema.

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 an 8-parameter search tool with full annotation coverage and an output schema, this covers scope, matching behavior, filtering, ordering and paging strategy. An agent can invoke it correctly without further information.

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 63%, so the description sensibly spends its words on the semantic gaps: the query string is multi-field matching, category/year/location/photographer act as narrowing filters, and cursor versus offset precedence is resolved. limit and offset semantics are left to the schema, which is acceptable for standard paging params.

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 the JENRIKS archive, one photo per day since 2006') and details exactly which fields the free-text query matches versus which filters narrow results. This clearly separates it from get_photo/random_photo/get_latest_photo in practice, though no sibling is named explicitly.

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?

The description implies usage through 'Free-text query ... filters narrow by ...' and explains paging options, so an agent can infer when to search broadly versus filter. It never states when to prefer a sibling tool (e.g., when to use get_photo for a known item) or any exclusions.

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.