Skip to main content
Glama

Search Highway Cameras

wsdot_search_cameras
Read-only

Returns WSDOT highway camera locations, descriptions, owners, and image URLs. Camera images belong to the owner each camera lists, and to WSDOT when none is listed — only metadata and image URLs are returned, not image bytes. Filter by state route ("I-90", "90", "SR 520", or "520" all work), WSDOT region, milepost range (matched against both the feed milepost and the milepost in the title), or words in the camera title ("Snoqualmie"). Results are ordered by cameraId and paged — pass offset/limit to page through the full set.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum cameras to return in this page. Defaults to 50; a larger value returns at most 500 and says so.
offsetNoZero-based index of the first camera to return, for paging. Defaults to 0.
regionNoWSDOT region code: NW (Northwest), SW (Southwest), OL (Olympic), ER (Eastern), SC (South Central), NC (North Central), OS (Oregon — the TripCheck cameras around Portland), or WA (airport cameras plus a few ferry-terminal cameras — most ferry-terminal cameras sit in NW and OL). Matching is case-insensitive; any other value is rejected. These are codes, not the region names wsdot_search_alerts takes.
stateRouteNoState route to filter by. Accepts natural forms — "I-90", "90", "090", "SR 520", "520" — matched case- and space-insensitively to the route number. Camera road names carry a route-type prefix, which is compared when the filter carries one too: "SR 26" excludes US 26, while a bare "26" returns both. A lettered suffix is part of the route, so "US 97" excludes US 97A. Omit to include all routes.
endMilepostNoEnd of the milepost range to filter cameras, matched like startMilepost against milePost and titleMilePost, which can differ. On the Airports road name, milePost is a list position (1 = Anacortes), not a milepost.
startMilepostNoStart of the milepost range to filter cameras. A camera matches when its feed milepost (milePost) or the milepost in its title (titleMilePost) lies in the range; the two can differ by miles. A camera reporting no milePost is always included. Either bound may be given alone; when both are given, startMilepost must not exceed endMilepost. On the Airports road name, milePost is the airport's position in WSDOT's airport list (1 = Anacortes, 4 = Bellingham), not a milepost.
titleContainsNoWords to find in the camera title, as WSDOT wrote it. Case-insensitive; every whitespace-separated word must appear, in any order — "Snoqualmie" returns "Snoqualmie Summit" and "East Snoqualmie Summit" but not a nearby camera titled "Hyak". Most titles lead with route and milepost ("I-90 at MP 52: …"), so filter a route with stateRoute rather than here. Combines with the other filters. Omit to include every title.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoInformational note about the page window, image ownership, or empty results. Ends with the applied limit when a larger one was clamped. Absent when not applicable.
camerasNoCamera metadata and image URLs. Images belong to the owner each camera lists, and to WSDOT when none is listed.
hasMoreNoTrue when more cameras remain beyond the current page.
nextOffsetNoOffset to pass to retrieve the next page, or null when this is the last page.
totalCountNoTotal cameras matching the filters across all pages (not just this page).
appliedFiltersNoActive filters applied to the camera search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • changedInput schema / properties / endMilepost / description
      Previous value: -"End of the milepost range to filter cameras."New value: +"End of the milepost range to filter cameras, matched like startMilepost against milePost and titleMilePost, which can differ. On the Airports road name, milePost is a list position (1 = Anacortes), not a milepost."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum cameras to return in this page (1–500). Defaults to 50. A large page ends sooner, at the 24,000-byte response budget."New value: +"Maximum cameras to return in this page. Defaults to 50; a larger value returns at most 500 and says so."
    • removedInput schema / properties / limit / maximum
      Removed value: -500
    • changedInput schema / properties / startMilepost / description
      Previous value: -"Start of the milepost range to filter cameras. Either bound may be given alone; when both are given, startMilepost must not exceed endMilepost. Cameras reporting no milepost are always included."New value: +"Start of the milepost range to filter cameras. A camera matches when its feed milepost (milePost) or the milepost in its title (titleMilePost) lies in the range; the two can differ by miles. A camera reporting no milePost is always included. Either bound may be given alone; when both are given, startMilepost must not exceed endMilepost. On the Airports road name, milePost is the airport's position in WSDOT's airport list (1 = Anacortes, 4 = Bellingham), not a milepost."
    • changedOutput schema / properties / cameras / description
      Previous value: -"Camera metadata and image URLs. Images are copyright WSDOT."New value: +"Camera metadata and image URLs. Images belong to the owner each camera lists, and to WSDOT when none is listed."
    • changedOutput schema / properties / cameras / items / properties / imageUrl / description
      Previous value: -"URL of the WSDOT-hosted camera image (JPEG). WSDOT copyright applies."New value: +"URL of the camera image. The image belongs to the owner the camera lists, and to WSDOT when none is listed."
    • changedOutput schema / properties / cameras / items / properties / milePost / description
      Previous value: -"Milepost location of the camera."New value: +"The feed's milepost for the camera, a whole number. It can differ from titleMilePost by more than a mile; the milepost bounds match either value. On the Airports road name it is the airport's position in WSDOT's airport list (1 = Anacortes, 4 = Bellingham), not a milepost."
    • addedOutput schema / properties / cameras / items / properties / owner
      Added value: +{
      +  "description": "Owner of the camera image as the feed lists it, e.g. \"City of Seattle\" or \"WSDOT Aviation\". Absent on most cameras: an image with no listed owner belongs to WSDOT.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / cameras / items / properties / ownerUrl
      Added value: +{
      +  "description": "Web page of the image owner as the feed lists it. Absent when none is listed.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / cameras / items / properties / titleMilePost
      Added value: +{
      +  "description": "Milepost written in the camera title (119.5 from \"US 97 at MP 119.5: …\"), usually the decimal posted milepost. It can differ from milePost, and on a concurrent or spur route it can be that route's own milepost; the milepost bounds match either value. Absent when the title carries none.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / notice / description
      Previous value: -"Informational note about the page window, copyright, or empty results. Absent when not applicable."New value: +"Informational note about the page window, image ownership, or empty results. Ends with the applied limit when a larger one was clamped. Absent when not applicable."
  2. Changed10 schema fields changed
    • changedInput schema / properties / endMilepost / description
      Previous value: -"End of milepost range to filter cameras."New value: +"End of the milepost range to filter cameras."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum cameras to return in this page (1–500). Defaults to 50."New value: +"Maximum cameras to return in this page (1–500). Defaults to 50. A large page ends sooner, at the 24,000-byte response budget."
    • changedInput schema / properties / region / description
      Previous value: -"WSDOT region code: NW (Northwest), SW (Southwest), OL (Olympic), ER (Eastern), SC (South Central), OS (Olympic South), NC (North Central), or WA (statewide). Matching is case-insensitive."New value: +"WSDOT region code: NW (Northwest), SW (Southwest), OL (Olympic), ER (Eastern), SC (South Central), NC (North Central), OS (Oregon — the TripCheck cameras around Portland), or WA (airport cameras plus a few ferry-terminal cameras — most ferry-terminal cameras sit in NW and OL). Matching is case-insensitive; any other value is rejected. These are codes, not the region names wsdot_search_alerts takes."
    • addedInput schema / properties / region / maxLength
      Added value: +200
    • changedInput schema / properties / startMilepost / description
      Previous value: -"Start of milepost range to filter cameras."New value: +"Start of the milepost range to filter cameras. Either bound may be given alone; when both are given, startMilepost must not exceed endMilepost. Cameras reporting no milepost are always included."
    • addedInput schema / properties / stateRoute / maxLength
      Added value: +200
    • addedInput schema / properties / titleContains
      Added value: +{
      +  "description": "Words to find in the camera title, as WSDOT wrote it. Case-insensitive; every whitespace-separated word must appear, in any order — \"Snoqualmie\" returns \"Snoqualmie Summit\" and \"East Snoqualmie Summit\" but not a nearby camera titled \"Hyak\". Most titles lead with route and milepost (\"I-90 at MP 52: …\"), so filter a route with stateRoute rather than here. Combines with the other filters. Omit to include every title.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • addedOutput schema / properties / appliedFilters / properties / titleContains
      Added value: +{
      +  "description": "Title words filter applied.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `api_unavailable`: WSDOT Traffic API is unreachable or returns a non-2xx response after retries. `invalid_access_code`: WSDOT rejected the request because WSDOT_ACCESS_CODE is missing, invalid, or not registered. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `api_unavailable`: WSDOT Traffic API is unreachable or returns a non-2xx response after retries. `invalid_access_code`: WSDOT rejected the request because WSDOT_ACCESS_CODE is missing, invalid, or not registered. `invalid_region`: The region is not one of the region codes the camera feed carries. `invalid_milepost_range`: startMilepost is greater than endMilepost. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "api_unavailable",
      -  "invalid_access_code"
      -]New value: +[
      +  "api_unavailable",
      +  "invalid_access_code",
      +  "invalid_region",
      +  "invalid_milepost_range"
      +]
  3. Changed2 schema fields changed
    • removedOutput schema / properties / nextOffset / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / nextOffset / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  4. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "cameras",
      +      "totalCount",
      +      "nextOffset",
      +      "hasMore",
      +      "appliedFilters"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `api_unavailable`: WSDOT Traffic API is unreachable or returns a non-2xx response after retries. `invalid_access_code`: WSDOT rejected the request because WSDOT_ACCESS_CODE is missing, invalid, or not registered. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "api_unavailable",
      +            "invalid_access_code"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "cameras",
      -  "totalCount",
      -  "nextOffset",
      -  "hasMore",
      -  "appliedFilters"
      -]
  5. Changed1 schema field changed
    • changedInput schema / properties / stateRoute / description
      Previous value: -"State route to filter by. Accepts natural forms — \"I-90\", \"90\", \"090\", \"SR 520\", \"520\" — matched case- and space-insensitively to the canonical WSDOT route number. Omit to include all routes."New value: +"State route to filter by. Accepts natural forms — \"I-90\", \"90\", \"090\", \"SR 520\", \"520\" — matched case- and space-insensitively to the route number. Camera road names carry a route-type prefix, which is compared when the filter carries one too: \"SR 26\" excludes US 26, while a bare \"26\" returns both. A lettered suffix is part of the route, so \"US 97\" excludes US 97A. Omit to include all routes."
  6. Changed8 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Maximum cameras to return in this page (1–500). Defaults to 50.",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Zero-based index of the first camera to return, for paging. Defaults to 0.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / properties / stateRoute / description
      Previous value: -"Zero-padded 3-digit state route number (e.g. \"005\" for I-5, \"090\" for I-90)."New value: +"State route to filter by. Accepts natural forms — \"I-90\", \"90\", \"090\", \"SR 520\", \"520\" — matched case- and space-insensitively to the canonical WSDOT route number. Omit to include all routes."
    • addedOutput schema / properties / hasMore
      Added value: +{
      +  "description": "True when more cameras remain beyond the current page.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / nextOffset
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Offset to pass to retrieve the next page, or null when this is the last page."
      +}
    • changedOutput schema / properties / notice / description
      Previous value: -"Informational note about result truncation, copyright, or empty results. Absent when not applicable."New value: +"Informational note about the page window, copyright, or empty results. Absent when not applicable."
    • changedOutput schema / properties / totalCount / description
      Previous value: -"Total number of cameras returned."New value: +"Total cameras matching the filters across all pages (not just this page)."
    • changedOutput schema / required
      Previous value: -[
      -  "cameras",
      -  "totalCount",
      -  "appliedFilters"
      -]New value: +[
      +  "cameras",
      +  "totalCount",
      +  "nextOffset",
      +  "hasMore",
      +  "appliedFilters"
      +]
  7. Changed1 schema field changed
    • changedOutput schema / properties / cameras / items / properties / direction / description
      Previous value: -"Traffic direction monitored."New value: +"Traffic-direction code monitored: N/S/E/W, B (both), NB/SB/EB/WB. Some sites use other location-specific markers."
  8. Changed1 schema field changed
    • changedInput schema / properties / region / description
      Previous value: -"WSDOT region name: Northwest, Olympic, Southwest, South Central, North Central, or Eastern."New value: +"WSDOT region code: NW (Northwest), SW (Southwest), OL (Olympic), ER (Eastern), SC (South Central), OS (Olympic South), NC (North Central), or WA (statewide). Matching is case-insensitive."
  9. Changed4 schema fields changed
    • addedOutput schema / properties / appliedFilters
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Active filters applied to the camera search.",
      +  "properties": {
      +    "endMilepost": {
      +      "description": "End milepost filter applied.",
      +      "type": "number"
      +    },
      +    "region": {
      +      "description": "Region filter applied.",
      +      "type": "string"
      +    },
      +    "startMilepost": {
      +      "description": "Start milepost filter applied.",
      +      "type": "number"
      +    },
      +    "stateRoute": {
      +      "description": "State route filter applied.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / properties / note
      Removed value: -{
      -  "description": "Informational note about result truncation or copyright.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "Informational note about result truncation, copyright, or empty results. Absent when not applicable.",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "cameras",
      -  "totalCount"
      -]New value: +[
      +  "cameras",
      +  "totalCount",
      +  "appliedFilters"
      +]
  10. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true; the description adds substantial behavior beyond that: only metadata and image URLs are returned, not image bytes; result ordering is by cameraId; results are paged via offset/limit over the full set; and licensing/ownership differs per camera. These are exactly the traits an agent needs before calling.

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?

Front-loaded with what is returned, then filtering, then paging — a sensible order with no filler. The paragraph is dense but each sentence carries information; the ownership sentence is the weakest, though it prevents misuse of image URLs.

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?

An output schema already documents the return shape and readOnlyHint covers safety, so the description's remaining burden is filtering semantics, paging, and the image-bytes caveat — all present. Nothing an agent needs to call this correctly is missing.

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 100%, so the baseline is 3. The description nevertheless contributes operational meaning the schema does not surface as a whole: that ordering is by cameraId and that offset/limit page through the complete set, plus the note that milepost filters match both the feed and title mileposts. Some route-syntax examples duplicate the schema, keeping it from a 5.

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?

"Returns WSDOT highway camera locations, descriptions, owners, and image URLs" names a specific verb and resource and enumerates the returned fields. It is unambiguous against siblings, none of which deal with cameras, and it immediately rules out what an agent might wrongly expect (image bytes).

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?

It tells the agent how to narrow results (route, region, milepost range, title words) and explicitly steers route filtering away from titleContains: "filter a route with stateRoute rather than here." It also warns that region codes differ from wsdot_search_alerts. It stops short of stating when not to call this tool at all, so it falls just short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.