Skip to main content
Glama

alopeyk_get_price

Calculates delivery price between stops for various transport types, including motorbike, car, or cargo. Returns price, distance, duration, and credit without placing an order.

Instructions

Calculate the price for a delivery between stops (read-only).

Persian purpose: محاسبه قیمت یک سفارش. On-Demand, requires an access_token. This does NOT create an order. Maps to POST /api/v2/orders/price/calc. The response includes status, price, credit, distance, duration, user_credit, and price_with_return.

Args: transport_type: Vehicle class (e.g. motorbike, motor_taxi, cargo, cargo_s, car). See alopeyk_transport_types. addresses: Ordered stops, each {type, lat, lng} — one type="origin" followed by one or more type="destination". has_return: Whether the courier returns to the origin (default false). cashed: Whether the delivery is cash-on-delivery (default false). optimize: Whether to optimize the multi-stop route (default false). instance: Configured instance to use (default when omitted).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
transport_typeYes
addressesYes
has_returnNo
cashedNo
optimizeNo
instanceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description declares it as read-only, mentions the endpoint, and lists response fields. It does not discuss rate limits or detailed auth, but adequately conveys safety for a price calculator.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a lead sentence, clarification, endpoint, response, and parameter args. While slightly long, every part adds value.

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 the presence of an output schema (response fields listed), the description covers return values and refers to a sibling tool for transport types. It lacks some address format detail but is largely complete.

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

Parameters5/5

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

Schema coverage is 0%, so the description compensates excellently by explaining each parameter: transport_type with examples, addresses with structure, and defaults for others.

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 'Calculate the price for a delivery between stops (read-only)' and explicitly states it does NOT create an order, distinguishing it from alopeyk_create_order.

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

Usage Guidelines4/5

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

It explicitly notes that it does not create an order and requires an access_token, but does not directly compare to alternatives like alopeyk_get_batch_price. The sibling context helps infer usage.

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/dwin-gharibi/alopeyk-mcp'

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