Skip to main content
Glama
shughestr
by shughestr

get_cameras_along_route

Retrieve traffic cameras along a straight-line corridor between two coordinates. Provide origin and destination to get cameras sorted by their position along the route.

Instructions

Get traffic cameras along a straight-line route between two points.

Same API call as the VanCam web app (vancam.ai) route view. Cameras are returned sorted by route_fraction (0 = origin, 1 = destination).

Note: Uses a straight line between origin and destination (PostGIS ST_MakeLine), not a driving route polyline. Buffer is meters perpendicular to that line.

Parameters: origin_lat, origin_lon: Route start (WGS84) dest_lat, dest_lon: Route end (WGS84) buffer: Corridor width in meters (default 100, web app uses 100) limit: Max cameras (1–100, default 50, web app uses 50) active_only: If true, only camera_class=open

Returns: JSON with type route_search, buffer_meters, cameras[] with route_fraction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
bufferNo
dest_latYes
dest_lonYes
origin_latYes
origin_lonYes
active_onlyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description discloses the straight-line corridor behavior, perpendicular buffer, sorting by route_fraction, and return structure. It also mentions default buffer/limit values and the active_only filtering semantics.

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?

Well-structured with a summary, caveat, parameter details, and return section. Slightly redundant with the schema's parameter list, but each sentence contributes and the organization helps scanability.

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 a 7-parameter tool with no annotations and a moderate output schema, the description covers behavior, key constraints (straight-line vs driving), result ordering, and output fields. It is complete for an agent to select and invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds meaning beyond the schema: WGS84 coordinates, buffer in meters perpendicular to the line, limit range 1–100, and active_only mapping to camera_class=open. Schema only provides names and defaults.

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?

Clearly states 'Get traffic cameras along a straight-line route between two points' – a specific verb and resource that distinguishes it from radius/nearest/list tools. The straight-line qualifier is explicit.

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

Usage Guidelines4/5

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

Notes it mirrors the VanCam route view and explicitly states it uses a straight line, not a driving route polyline. This tells users when to avoid expecting driving-route corridors, though it doesn't name alternative tools directly.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shughestr/vancam-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server