Balad Maps

v0.2.2
io.github.sepehr071/balad-mcp Checked 2 days ago Published 15 days ago

Read-only Balad (balad.ir) Iran map: places nearby or on the way, details, reviews, driving routes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

bl_nearby Nearby places by category

List places of one kind (pharmacy, restaurant, gas station...) around a point, with address, phone and rating. Balad's own order, each with straight-line `distance_km`. Free text naming a category (پیتزا) lists that whole category (`category` says which). Get the point from bl_search. For driving time use bl_nearest_by_drive; for places on a trip bl_along_route; for hours and reviews bl_place with `id`. Empty: widen radius_km or drop filters.

ParameterTypeDescription
lat *numberLatitude, e.g. 35.7448.
lng *numberLongitude, e.g. 51.3753.
what *stringCategory slug from bl_categories (e.g. pharmacy, gas-station) or free text (e.g. پیتزا).
limitintegerMax places (1-40).
min_ratingOnly places rated above this.
open_nowbooleanOnly places open now.
priceRestaurants and cafes only.
radius_kmnumberBox half-width in km (0.2-20).
sortstringrating = best first, popular = most visited.
with_phonebooleanOnly places with a phone number.
with_photosbooleanOnly places with photos.

bl_place Place details

Get one place's full details from Balad: address, phones, hours, open now, rating, amenities, photos, reviews. `hours` maps each weekday (شنبه..جمعه) to its hours; `menu` is the menu link. More reviews: bl_reviews; directions: bl_route with its lat/lng.

ParameterTypeDescription
id *stringPlace id from bl_search or bl_nearby.
photosintegerPhoto URLs to include (0-20).
reviewsintegerRecent reviews to include (0-10).

bl_reviews Place reviews

Get one page of user reviews of a place on Balad, newest first, with stars and the rating breakdown. When `more` is true, call again with page+1. bl_place already includes the first few reviews.

ParameterTypeDescription
id *stringPlace id from bl_search or bl_nearby.
pageintegerPage (10 reviews each, 1-100).

bl_reverse_geocode Address of a point

Turn coordinates into a Persian street address with city, county and neighbourhood (reverse geocoding). For the opposite (name -> coordinates) use bl_search. Iran only; elsewhere it errors.

ParameterTypeDescription
lat *numberLatitude, e.g. 35.7448.
lng *numberLongitude, e.g. 51.3753.

bl_route Driving route with live traffic

Get driving routes in Iran with distance, travel time in current traffic, tolls, roads and traffic-zone warnings. Up to 3 routes, suggested first; `notes` are the site's labels (delay, toll in Toman); `traffic_plan` appears when a route enters a restricted zone (طرح ترافیک, زوج و فرد); `legs` with `stops`. Driving only. Get coordinates from bl_search. 'No route': a point is outside Iran or off the road network.

ParameterTypeDescription
from_lat *numberLatitude, e.g. 35.7448.
from_lng *numberLongitude, e.g. 51.3753.
to_lat *numberLatitude, e.g. 35.7448.
to_lng *numberLongitude, e.g. 51.3753.
stepsbooleanInclude turn-by-turn steps.
stopsarrayStops in order, each "lat,lng" (max 3).

bl_nearest_by_drive Closest places by driving time

Rank places of one kind around a point by driving time from it in current traffic, quickest first. Times a drive to Balad's top `candidates` places (as bl_nearby lists them), one route call each; unroutable places are left out. For more places without drive times use bl_nearby; details: bl_place.

ParameterTypeDescription
lat *numberLatitude, e.g. 35.7448.
lng *numberLongitude, e.g. 51.3753.
what *stringCategory slug from bl_categories (e.g. pharmacy, gas-station) or free text (e.g. پیتزا).
candidatesintegerHow many top places to time (2-8).
open_nowbooleanOnly places open now.
radius_kmnumberBox half-width in km (0.5-20).

bl_along_route Places along a driving route

Find places of one kind (gas station, restaurant, pharmacy...) along the suggested driving route between two points. Ordered by `km_from_start`, with `off_route_km`. Searches up to 12 boxes along the route, so on trips of hundreds of km places between boxes are missed; split the trip for full coverage.

ParameterTypeDescription
from_lat *numberLatitude, e.g. 35.7448.
from_lng *numberLongitude, e.g. 51.3753.
to_lat *numberLatitude, e.g. 35.7448.
to_lng *numberLongitude, e.g. 51.3753.
what *stringCategory slug from bl_categories (e.g. pharmacy, gas-station) or free text (e.g. پیتزا).
limitintegerMax places to return (1-30).
max_off_route_kmnumberMax distance from the road in km (0.2-3).
open_nowbooleanOnly places open now.

bl_categories Place categories

List Balad's place categories with the slug bl_nearby takes, grouped (food, health, shopping, services...). Use it for the exact slug for bl_nearby, bl_nearest_by_drive or bl_along_route.