Skip to main content
Glama

Traffic restrictions

rd_restrictions
Read-onlyIdempotent

Lists traffic restrictions announced by Iran's traffic police, including limited vehicle types or hours while roads remain open; filter by province and page through results.

Instructions

List traffic restrictions announced by the traffic police (limited vehicle types or hours, road still open).

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1 = newest
limitNoItems per page
provinceNoProvince 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

A3.8/5.0
Behavior3/5

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

Annotations define the operation as readOnly and non-destructive. The description adds valuable behavioral context regarding the authority of the data source ('announced by the traffic police'), which informs the agent about the data reliability.

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?

It uses a single, direct sentence to fully communicate the tool's function. The wording is precise and contains no filler.

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?

Given that all input parameters are fully documented in the schema and the safety profile is covered by annotations, the description provides sufficient context for an agent to understand its function and reliable use.

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 coverage is 100%, meaning all parameters are defined. The description doesn't add critical syntax or operational meaning beyond what the schema already provides. It meets the baseline for high-coverage tools.

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 provides a highly specific purpose: to list traffic restrictions announced by the traffic police, detailing that the roads are still open but specific types/hours are limited.

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?

The description defines the scope of the data provided (restrictions with limited types/hours), which implies usage. However, it lacks explicit 'when to use' guidance or mentions siblings that might cover more general 'road closures' vs. specific 'restrictions.'

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