get_my_passes
List what the viewer holds and can spend.
Endpoint
https://go.sessions.website/api/mcpWhen to use it
When the person asks how many classes they have left, or whether their membership is live.
Before booking, to tell the person whether a pass or membership covers the session.
Parameters
includeInactivebooleanoptionalAlso include spent, expired and cancelled ones (default false).
Returns
Passes with credits left, live memberships and gift-card balances, each with its business, status and expiry or renewal date. Gift-card codes are never returned. Pass includeInactive to include spent, expired and cancelled ones. Requires the auth cookie or a Bearer token.
Example
POST this to the endpoint above.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_my_passes",
"arguments": {}
}
}2 held:
- Pass: 10-class pass (Riverside Yoga, @riverside)
· active · 4 credit(s) left · expires 2027-01-31
- Gift card: Gift card · active · $25.00 leftWhat the agent is told
The description the model reads when deciding whether to call this. It is the only thing that decides whether the tool fires at the right moment, so it is worth knowing what it says.