Skip to main content
Glama

JENRIKS Photo Archive

Random photo

random_photo
Read-only

Return a random JENRIKS photo, optionally limited to a photographer, category or year.

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": "random_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo
categoryNo
photographerNo

Output Schema

NameRequiredDescriptionDefault
hintNo
foundYes
photoNo
pool_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false, idempotentHint=false), so the description only needs to add context. It confirms the selection is random and filters are optional, but says nothing about uniformity of selection, empty-result behavior, or cost/latency.

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?

A single front-loaded sentence with the action first and the optional modifiers after; there is no redundant or filler wording.

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

Completeness3/5

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

The tool is simple, all parameters are optional, and an output schema exists so return values need no explanation. What is still missing is the empty-match behavior and the domain of the free-text category parameter, which an agent would need before relying on a filtered call.

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 0%, so the description must carry the burden; it does map its three named limits (photographer, category, year) onto the three parameters and marks them optional. However, it gives no valid category values, no format hints for year beyond the schema's minimum, and no indication of how filters combine.

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 ('Return a random JENRIKS photo') plus the filter scope, which lets an agent distinguish it from get_latest_photo or search_photos by the word 'random' alone. It stops short of explicitly naming a sibling or contrasting behavior, so it is clear but not fully differentiated.

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?

'Optionally limited to' implies that all filters are optional and that omitting them yields an unfiltered random pick, which is useful framing. There is no explicit when-to-use versus get_latest_photo/get_photo guidance and no statement of what happens when filters match nothing.

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.