Skip to main content
Glama

Live road traffic

traffic_live
Read-only

Query live road speed and congestion for national freeways, provincial highways, or city roads, returning most congested sections first with counts by congestion level.

Instructions

Live speed and congestion of road sections on the national freeways, provincial highways or a city’s roads, most congested first, with a count of sections per congestion level. Freeway sections are named after interchanges, so search them by keyword; city sections can also be searched by lat/lon. Example: network "freeway", keyword "林口"; or network "Taipei", lat 25.0478, lon 121.517.

Input Schema

NameRequiredDescriptionDefault
latNoLatitude, to search nearby.
lonNoLongitude, to search nearby.
limitNoMaximum number of sections to return (default 20).
keywordNoOnly results whose road or place contains this, e.g. "國道1號", "林口", "建國高架".
networkYesRoad network: "freeway" (國道, national freeways), "highway" (省道, provincial highways) or a city (Taipei, Taoyuan, Taichung, 臺北市, ...).
directionNoOnly sections heading this way (S also matches SE and SW).
radiusMetersNoSearch radius in metres (default 1000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds behavior beyond that: results are sorted most-congested-first, include a count of sections per congestion level, and freeway sections follow an interchange naming convention that affects how queries must be built.

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?

Three sentences, front-loaded with what the tool returns, then search approach, then a concrete example. Dense with useful content and no filler, though the example sentence is somewhat long.

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?

There is no output schema, and the description compensates by describing the return shape (speed/congestion values, ordering, per-level counts). It stops short of naming the exact fields, but an agent has enough to call it correctly.

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 baseline is 3; the description goes further by explaining the cross-parameter relationship between network and keyword/lat-lon, which the schema documents only in isolation. It also reinforces the accepted network values with an example.

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?

States a specific resource (live speed and congestion of road sections) plus scope (national freeways, provincial highways, or a city's roads) and the ordering rule (most congested first). It is clearly distinguishable from siblings like traffic_events, traffic_cameras, and traffic_travel_time.

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?

Gives concrete usage context: freeway sections are named after interchanges so search by keyword, while city sections can be searched by lat/lon, with a worked example. It does not explicitly say when to prefer this over traffic_travel_time or traffic_events, but the guidance is actionable.

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