TOOL Authentication
Users Directory
anamaya_users
Look up OMS users, optionally filtered by email query.
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. |
queryEmail | string | ada@ | Optional email substring filter. |
page | integer ≥ 0 | 0 | Zero-based page index. |
size | integer 1–100 | 20 | Page size. |
Notes
- Map each traveler to an OMS account for multi-employee bots.