Skip to main content
Glama

olamap_get_photo

Fetches a photo URL and metadata from a photo reference, with optional max width/height, to enable image display for location-based AI responses.

Instructions

Fetches a photo URL & metadata from a photo reference

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": {
      "photo_reference": "<photo_reference>"
    },
    "name": "olamap_get_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxWidthNoMaximum width of the photo
maxHeightNoMaximum height of the photo
photo_referenceYesPhoto reference from place details

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It confirms this is a read-style fetch returning a URL plus metadata, but says nothing about whether the URL is temporary, whether the call consumes quota, or how maxWidth/maxHeight affect the response — meaningful gaps for an external photo API.

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?

A single front-loaded sentence with no filler. It is efficient, though the brevity is partly the cause of the missing behavioral detail rather than a sign of completeness.

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?

For a simple three-parameter fetch tool the description is nearly sufficient, but with no output schema the agent gets no clarity on what 'metadata' contains or how sizing parameters shape the returned URL. A sentence on return shape and URL lifetime would close the gap.

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 100%, so all three parameters are already documented in the input schema. The description adds only the origin of photo_reference, which the schema itself also states, so the baseline of 3 is appropriate.

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?

The description states a specific verb and resource — fetching a photo URL and metadata — and names the input that drives it (a photo reference). It is unambiguous about what the tool returns, though it does not contrast itself with any sibling tool.

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?

Usage is only implied: the phrase 'from a photo reference' hints that the caller must first obtain a reference (e.g., from place details), but there is no explicit when-to-use statement, no preconditions, and no mention of alternatives such as place details or text search for obtaining references.

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