Skip to main content
Glama
NeshanMaps

Neshan MCP Server

Official
by NeshanMaps

neshan_direction

Calculate a route between two points with selectable traffic modeling: live, historical, typical, or no traffic. Supports waypoints, vehicle type, and zone avoidance for accurate navigation.

Instructions

Calculate a route between two points, choosing how traffic is modeled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bearingNoOptional heading (0-360) at the origin. Only usable with traffic_mode 'live' or 'typical'.
vehicleNo'car', 'motorcycle', or 'pedestrian'. Must stay 'car' (the default) when traffic_mode='historical' — that mode has no vehicle choice.car
dest_latYes
dest_lngYes
date_timeNoRequired when traffic_mode='historical'. Target date and time as 'YYYY-MM-DDThh:mm' (no timezone, UTC+0).
waypointsNoOptional ordered stops as [[lat, lng], ...]. Not usable with traffic_mode='historical'.
origin_latYes
origin_lngYes
alternativeNoAlso return alternative routes.
routing_typeNoRequired when traffic_mode='historical'. 'DepartAt' to specify departure time, 'ArriveAt' for arrival time.
traffic_modeNoHow to account for traffic when routing: - 'live' (default): current real-time traffic. Use for "how long would this take if I left right now". - 'no_traffic': static road speeds; traffic is ignored entirely. - 'typical': pattern-based traffic refreshed every 15 minutes. Use for a stable ETA when live traffic is flaky or unavailable. - 'historical': traffic-aware ETA for a *future* date/time, based on historical patterns for that time of day. Requires routing_type and date_time. Covers Tehran, Mashhad, and Karaj only, up to one week ahead.live
avoid_traffic_zoneNoAvoid the central traffic (طرح ترافیک) zone.
avoid_odd_even_zoneNoAvoid the odd/even (زوج و فرد) zone. Not usable with traffic_mode='historical'.
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does not disclose behavioral traits such as output format, API key requirements, or geographic limitations. However, detailed parameter descriptions in the schema provide some behavioral context (e.g., constraints for historical traffic mode).

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?

The description is a single sentence of 14 words, front-loaded with the core action, and contains no superfluous information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (13 parameters, no output schema), the description does not explain what the tool returns (e.g., duration, distance, polyline). The parameter details are well-documented, but the overall completeness for an agent to use the tool effectively is moderate.

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 69%, and the parameter descriptions in the schema are detailed (e.g., traffic_mode explains modes and constraints). The tool description adds minimal extra meaning beyond 'traffic modeling', so it meets the baseline without excelling.

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 clearly states the verb 'Calculate' and the resource 'route between two points', and specifies the distinguishing feature 'choosing how traffic is modeled'.

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 implies usage for route calculation but does not explicitly mention when to use this tool versus siblings like 'neshan_distance_matrix' or 'neshan_map_matching'. No when-not-to-use guidance is provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NeshanMaps/Neshan-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server