Skip to main content
Glama

Roads & traffic

get_traffic
Read-onlyIdempotent

Live traffic incidents and scheduled lane closures on the roads Crosby, TX drives — US-90, FM-2100, FM-1942, and the Crosby stretch of IH-10 East — from Houston TranStar, plus links to the corridor traffic cameras. High-water road reports appear here during floods. Empty lists mean quiet roads.

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_traffic"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
areaYes
sourceYes
camerasNoCorridor cameras — pageUrl links TranStar's own camera pages (images are not embedded).
updatedNoISO 8601 timestamp of the last data refresh.
incidentsNoEmpty = no monitored incidents (the normal state); null = the incidents feed was unreachable at the last refresh.
liveMapUrlNo
laneClosuresNoScheduled closures; empty = none, null = feed unreachable at the last refresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedOutput schema / properties / incidents / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "properties": {
      +        "lanesAffected": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "location": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "description": "e.g. \"Verified at 4:24 PM\" (Central time).",
      +          "type": "string"
      +        },
      +        "type": {
      +          "description": "e.g. \"Accident\", \"Stall\", \"High Water\".",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / incidents / items
      Removed value: -{
      -  "properties": {
      -    "lanesAffected": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "location": {
      -      "type": "string"
      -    },
      -    "status": {
      -      "description": "e.g. \"Verified at 4:24 PM\" (Central time).",
      -      "type": "string"
      -    },
      -    "type": {
      -      "description": "e.g. \"Accident\", \"Stall\", \"High Water\".",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / incidents / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • addedOutput schema / properties / laneClosures / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "properties": {
      +        "lanesAffected": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "location": {
      +          "type": "string"
      +        },
      +        "schedule": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / laneClosures / items
      Removed value: -{
      -  "properties": {
      -    "lanesAffected": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "location": {
      -      "type": "string"
      -    },
      -    "schedule": {
      -      "type": "string"
      -    },
      -    "status": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / laneClosures / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • addedOutput schema / properties / updated / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / updated / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish that this is a safe, idempotent read operation, and the description adds meaningful context: the data source, live versus scheduled distinction, camera links, and the important meaning of empty lists. It does not need to discuss mutation or permissions, but it could mention refresh or coverage limitations more explicitly.

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?

The description is front-loaded with the core purpose, then adds flood and empty-list semantics in short, high-value sentences. The road list is specific but earns its place by defining coverage.

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?

With no parameters, rich annotations, and an output schema, the description supplies exactly the missing context: geographic scope, source, and interpretation of empty results. Nothing essential for correct invocation appears to be 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?

The tool has zero parameters, so parameter semantics are not a concern and the baseline is 4. The description correctly does not invent parameter behavior.

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 states a specific resource and scope: live traffic incidents and scheduled lane closures on named Crosby roads from Houston TranStar. It clearly distinguishes this from general weather or alert tools by naming road corridors and camera links.

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 through the scope of live incidents, scheduled closures, and flood-time high-water reports, but it does not explicitly say when to use this versus siblings like get_alerts or get_radar. The empty-list behavior adds useful context but not full when-to-use guidance.

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.