Areye MCP by usefulapi

v1.2.0
io.usefulapi/areye-business Checked 1 day ago Published 1 hour ago

Estimate fares, book and cancel rides and deliveries, and list trips and batches in Areye.

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

areye_profile Get business profile

Show the business account this key belongs to: company name, billing contact, webhook URL and portal role. Areye API: GET /business/profile.

areye_dashboard Get account dashboard

Show aggregate account metrics: trips, spend and active employees. Areye API: GET /business/dashboard.

areye_list_billing_statements List billing statements

List the monthly billing statements for the account. Areye API: GET /business/billing/statements.

areye_list_zones List service zones

List the active Areye service zones (the cities and areas where bookings are possible). Pickup must fall inside a zone. Areye API: GET /business/zones.

areye_list_vehicle_types List vehicle types

List vehicle types with live pricing and availability. Prefer declaring parcel_size or parcel_weight_kg when booking. Areye API: GET /business/vehicle-types.

areye_list_parcel_sizes List parcel sizes

List the live parcel size tiers with weight ranges, eligible vehicle types and rates. Read this before choosing parcel_size. Areye API: GET /business/parcel-sizes.

areye_fare_estimate Estimate a fare

Price a trip before booking it. Uses the same calculator as areye_book_trip. This tool does not book anything. Areye API: GET /business/trip/fare-estimate.

ParameterTypeDescription
dest_lat *numberDrop-off latitude.
dest_lng *numberDrop-off longitude.
pickup_lat *numberPickup latitude.
pickup_lng *numberPickup longitude.
vehicle_type_idintegerVehicle type id from areye_list_vehicle_types.

areye_list_trips List trips

List trips, newest first. Filter by month, reference, or a search over reference, passenger, address and your external_reference. Use test=0 to hide sandbox trips from live results. Areye API: GET /business/trips.

ParameterTypeDescription
monthstringFilter by month, YYYY-MM.
per_pageintegerResults per page.
referencestringExact Areye reference (ARY-…).
searchstringFree-text search.
teststring0 = live trips only, 1 = test trips only.

areye_active_trips List active trips

List trips that are in progress now. Areye API: GET /business/trips/active.

areye_get_trip Get a trip

Get one trip with its receipt, route details and status. Areye API: GET /business/trips/{reference}.

ParameterTypeDescription
reference *stringAreye reference (ARY-…), trip id, or your own external_reference.

areye_list_batches List batches

List bulk delivery batches with the status of each stop. Areye API: GET /business/batches.

areye_get_batch Get a batch

Get one bulk delivery batch with all of its stops. Areye API: GET /business/batches/{id}.

ParameterTypeDescription
batch_id *stringBatch id from areye_list_batches.

areye_book_trip Book a ride or parcel delivery

Book a ride or a parcel delivery. This charges the account wallet or credit limit and dispatches a driver. Call areye_fare_estimate first. Every booking needs your own external_reference; a retry with the same reference and body returns the first booking, not a second one. Areye API: POST /business/book.

ParameterTypeDescription
drop_address *stringDrop-off address (ride) or delivery address (parcel).
drop_lat *number
drop_lng *number
external_reference *stringYour own order id, stable and unique per order (max 80 characters). Reuse the same value on a retry.
passenger_name *stringPassenger name (ride) or recipient name (parcel).
passenger_phone *stringPhone in international form, e.g. +267….
pickup_address *string
pickup_lat *number
pickup_lng *number
type *stringride = passenger trip; parcel = delivery to a recipient.
cargo_body_typestringParcel only. Vehicle body needed.
expense_codestringYour expense code for this trip.
parcel_sizestringParcel only. Size tier from areye_list_parcel_sizes.
parcel_weight_kgnumberParcel only. Weight in kilograms.
vehicle_type_idintegerOverride the vehicle type. Prefer parcel_size or parcel_weight_kg.

areye_cancel_trip Cancel a trip

Cancel a trip before pickup. The business pays no cancellation charge and the wallet charge is refunded. After pickup the API refuses with not_cancellable. Areye API: POST /business/trips/{reference}/cancel.

ParameterTypeDescription
reference *stringAreye reference (ARY-…), trip id, or your own external_reference.
reasonstringWhy the trip is cancelled. Stored on the trip.