MCP Reference
TOOL Booking confirm: true

Create Booking

anamaya_booking_create

Create an ESPPD booking shell in OMS. Requires confirm: true after explicit human approval.

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. This mutation requires confirm: true after human approval.

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.
confirm Required boolean true Must be true for mutating tools. Without it, MCP refuses and performs no OMS write.
body Required object — Contact and trip date fields for the booking shell.

Notes

  • Without confirm: true, MCP returns a refusal and performs no OMS write.
  • Typical saga: create → document upload/attach → add flights/hotels → approve.