Skip to main content
Glama

Province traffic map

rd_traffic_map
Read-onlyIdempotent

Retrieve the image URL for a province’s live 141 traffic congestion map by province ID or Persian name, or omit the province for the whole country.

Instructions

Get the URL of the province's traffic status map image (updated by 141; the image shows live congestion).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "province": "<province>"
    },
    "name": "rd_traffic_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
provinceYesProvince id or Persian name (e.g. 8 or 'تهران'); see rd_provinces. Omit for the whole country

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety bar is low. The description still adds real context: the return value is a URL (not image bytes), the data comes from a third source ('updated by 141'), and it reflects live rather than historical congestion. It does not discuss freshness lag, availability, or failures, which keeps it short of a 5.

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?

One sentence, front-loaded with the action and resource, with the parenthetical only carrying genuinely useful provenance and liveness info. Nothing is wasted or buried.

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?

For a one-parameter read tool with no output schema, the description covers what is returned (a URL) and how current it is, which is what an agent needs to decide to call it. It stops short of describing behavior on invalid province ids or whether the image is a snapshot versus a tile endpoint.

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

Parameters3/5

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

Schema description coverage is 100% and the single 'province' parameter is fully documented in-schema (id or Persian name, see rd_provinces). The description adds no format, default, or edge-case meaning for the parameter, so the baseline 3 applies. Note the schema declares 'province' required while its own description says it can be omitted for nationwide results — a schema-internal inconsistency the tool description does not resolve.

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 verb and resource: 'Get the URL of the province's traffic status map image', and scopes it (per-province, live congestion). It is unmistakably distinct from the sibling tools' resources (bulletins, closures, weather, workshops) without needing to name them.

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 by the resource itself — reach for this when the agent needs a visual/congestion snapshot for a province — but the description never states when to prefer it over a sibling such as rd_main_routes or rd_closures, and gives no preconditions (other than the province lookup, which lives in the schema).

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