get_capacities
Check available seat counts and maximum capacity for every mess before registering for a meal. Use this to verify a mess is not full and choose an open option.
Instructions
Return available seat counts and maximum capacity for every mess for a meal.
Call this before registering to verify a mess is not full.
Args: meal: One of 'breakfast', 'lunch', 'snacks', 'dinner'. date: Target date (YYYY-MM-DD). Defaults to today. api_key: API key. Falls back to MESS_API_KEY environment variable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"meal": "<meal>"
},
"name": "get_capacities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| meal | Yes | ||
| api_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |