MCP Reference
TOOL Hotel

Hotel Discovery

anamaya_hotel_discovery

Discover hotels for a geoId and stay dates. Resolve geoId via REST /api/hotel/geo/list when needed.

Authorization

Optional MCP gate: Authorization: Bearer <MAYA_ANAMAYA_MCP_API_TOKEN>. Required OMS identity: pass email and password on the tool call. MCP caches the OMS JWT server-side and never returns it to the LLM.

Parameters

Name Type Example Description
email Required string user@company.com OMS user email. Required on inventory and mutation tools (unless demo server env defaults are set).
password Required string •••••••• OMS user password. MCP exchanges this for a JWT and caches it server-side — the JWT is never returned to the LLM.
body Required object — OMS hotel discovery body including geoId, dates, rooms, filters.
body.geoId Required string 102813 Geo identifier from hotel/geo/list or client knowledge.
body.checkInDate Required string (YYYY-MM-DD) 2026-09-06 Check-in date (ISO date).
body.checkOutDate Required string (YYYY-MM-DD) 2026-09-07 Check-out date (ISO date).

Notes

  • geoId is required — use REST POST /api/hotel/geo/list if your host cannot resolve it.
  • Quote only live rates from the envelope.