Skip to main content
Glama

get_cameras

Read-only

View live Caltrans roadside camera snapshots near a California location or along a route to check fog, snow, or traffic conditions.

Instructions

CALIFORNIA ONLY: live Caltrans roadside camera snapshots near a point or on a California route. For cameras in other states use get_nearby_events (kinds='camera'); plan_trip lists cameras on any route.

Data: ~3,000 in-service Caltrans cameras statewide. Every returned image_url was verified live moments ago (offline cameras that serve a placeholder frame are filtered out), so images can be shown directly. Snapshots refresh roughly every minute; stream_url (when present) is an HLS video stream.

Filters: center "lat,lon" (required unless route is given) with radius_km; route (e.g. "I-80", "50") narrows to that highway. Results sort nearest-first when a center is given. Use a camera to let the user SEE conditions: fog on the pass, snow on the pavement, traffic density at an interchange.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
routeNo
centerNo
radius_kmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.82.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, but the description adds substantial behavior: about 3,000 in-service cameras, image_url verified live moments ago with placeholder/offline frames filtered out, roughly one-minute refresh cadence, and stream_url being an HLS video stream when present. This tells the agent the images are safe to display directly, which annotations alone do not convey.

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?

The description is front-loaded with the key constraint and organized into labeled 'Data:' and 'Filters:' sections, so an agent can scan it quickly. It is slightly verbose — the California-only restriction is stated twice and the closing 'use a camera to let the user SEE conditions' sentence is motivational rather than operational — but no sentence is seriously wasteful.

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?

With no output schema and 0% schema description coverage, the description bears most of the burden, and it covers data provenance, result freshness, sorting, and the center/route/radius interactions well. The only meaningful gap is the undocumented limit parameter and its default of 6, which affects how many cameras an agent retrieves.

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 carry parameter meaning, and it does for most: center as a 'lat,lon' string required unless route is given, radius_km as a radius around the center, route with concrete examples ('I-80', '50'), and nearest-first sorting when a center is supplied. The limit parameter is never mentioned, leaving one of four parameters undocumented in both schema and description.

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

Purpose5/5

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

The description opens with a specific verb and resource: 'live Caltrans roadside camera snapshots near a point or on a California route.' It scopes the tool geographically (California only) and distinguishes it from siblings by naming get_nearby_events (for other states) and plan_trip (for route-based camera listings). An agent can identify the correct tool without opening the schema.

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

Usage Guidelines5/5

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

It explicitly states when to use this tool versus alternatives: out-of-state cameras go to get_nearby_events with kinds='camera', and any-route camera listings go to plan_trip. It also gives a positive usage framing — use a camera so the user can SEE fog, snow, or traffic density. Both the inclusion and exclusion conditions are stated.

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