Skip to main content
Glama
shughestr
by shughestr

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VANCAM_API_KEYNoYour personal Vancam.ai API key. Optional; if not provided, a shared rate-limited key is used.
VANCAM_API_IMAGE_URLNoOverride for the image API URL. Default is https://api.vancam.ai/api?asset_id={id}.
VANCAM_CAMERAS_SEARCH_URLNoOverride for the cameras search API URL. Default is https://api.vancam.ai/cameras/cameras.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_camerasA

List traffic cameras within a map bounding box.

Same query the VanCam web app (vancam.ai) runs when the user pans/zooms the map. Use when the user asks for cameras in a visible map area or geographic rectangle.

Parameters: min_lat, min_lon, max_lat, max_lon: Bounding box (WGS84) limit: Max cameras to return (1–100, default 100) active_only: If true, return only camera_class=open (live feeds)

Returns: Bounds search JSON with enriched image_url per camera.

get_cameras_by_radiusA

Get traffic cameras within a radius (km) of a lat/lon point.

Radius search. Use when the user asks for cameras near a place, within X km of coordinates, or around an address they geocoded.

Parameters: lat, lon: Center point (WGS84) radius: Search radius in kilometers (default 1.0, max 50 per API) limit: Max cameras (1–100, default 50) active_only: If true, only camera_class=open

Returns: JSON with type radius_search, count, radius_km, cameras[].

get_cameras_along_routeA

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.

get_nearest_camerasA

Get the nearest traffic cameras to a geographic point.

Nearest-neighbor search. Use when the user asks for the closest camera(s) to a location.

Parameters: lat, lon: Query point (WGS84) limit: Number of cameras (1–100, default 5) active_only: If true, only camera_class=open

Returns: JSON with type nearest_search and cameras[] ordered by distance_meters.

get_camera_imageA

Get the live frame for a camera by asset_id, embedded directly in the tool result.

api.vancam.ai requires an x-api-key header this server holds — an MCP client fetching the bare URL itself (e.g. Claude Desktop opening the link) has no way to attach that header and gets 403 Forbidden. This tool fetches the frame server-side instead and returns the image bytes.

Parameters: asset_id: Vancam camera asset ID (integer as string)

Returns: The live image, plus asset_id/url metadata for reference.

describe_camera_apiA

Describe the spatial camera API exposed by this MCP server.

Call this first when unsure which search tool to use. Documents the same capabilities as the VanCam map web app (bounds pan, radius, route, nearest).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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