Skip to main content
Glama

find_nearest_camera

Locate live cameras closest to a GPS coordinate, sorted by distance, with optional source and category filters. Use it to identify nearby public cameras for a location.

Instructions

Find the closest live cameras to a GPS coordinate. Returns cameras sorted by distance. Only cameras with known coordinates are included.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "find_nearest_camera"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 5)
sourceNoSource filter: windy, openwebcamdb, helios, youtube, earthcam, skyline, insecam, camhacker, dot, nps, ski, tourism
categoryNoCategory filter: beach, city, traffic, mountain, wildlife, airport, harbor, ski, park, landmark, weather, underwater, rural, construction, nature, other
latitudeYesLatitude of the target location
longitudeYesLongitude of the target location

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.6/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, but it does disclose two useful behaviors: results are sorted by distance, and cameras lacking known coordinates are excluded. It says nothing about permissions, rate limits, or what happens when no cameras exist near the point.

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 action and scope, then ordering, then the inclusion constraint. Nothing is redundant or padded.

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?

For a simple read tool with a fully documented 5-parameter schema, the definition covers purpose, output ordering, and a filtering caveat. Without an output schema the return shape is only loosely hinted at, but enough is present to call it correctly.

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 coverage is 100%, with limit, source, category, latitude, and longitude all documented inline, so the baseline is 3. The description adds no syntax, unit, or default information beyond what the schema already provides.

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 pairs a specific verb and resource ("Find ... live cameras") with a precise scope ("closest ... to a GPS coordinate"). It doesn't explicitly distinguish this from the sibling search_cameras, so an agent must infer that proximity ranking is the differentiator.

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 implied by the proximity phrasing, but there is no explicit statement of when to prefer this over search_cameras or how the filters (source, category) interact with the distance search. No exclusions or prerequisites are stated.

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