Skip to main content
Glama

Closed roads

rd_closures
Read-onlyIdempotent

List current road closures and blockades with cause, direction, alternative route text, and coordinates; filter by province to check affected routes.

Instructions

List current road closures (blockades) with cause, direction, alternative route text and coordinates.

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

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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered. The description adds useful output-content detail (cause, direction, alternative route text, coordinates), but says nothing about freshness, coverage windows, or result ordering beyond what 'current' implies.

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?

A single front-loaded sentence enumerating the returned fields. Every clause earns its place and there is no boilerplate.

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, so the enumeration of returned fields (cause, direction, alternative route, coordinates) is valuable and largely fills that gap. Pagination and province filtering are handled in the schema. Minor gap: 'current' is not clarified as to refresh cadence or time window.

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%, with page, limit, and province all documented including the cross-reference to rd_provinces for province ids. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource, 'List current road closures (blockades)', so an agent knows exactly what it returns. It does not distinguish itself from siblings such as rd_restrictions or rd_bulletin, which likely also surface road-affecting events, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no explicit when-to-use or when-not-to-use guidance and names no alternative tool. The word 'current' hints at a live snapshot, but the agent must infer on its own whether to prefer this over rd_restrictions or rd_bulletin.

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