get_status
Check The Blue Alliance API status: current season, max season, datafeed health, down event keys, team page index, and mobile app versions. Useful for verifying API health and season bounds before other queries.
Instructions
Retrieve TBA API status: current FRC season, max season available, datafeed health flag, list of currently down event keys, max team page index, and minimum/latest mobile app versions for iOS and Android. Useful for sanity-checking the API, discovering season bounds, and detecting outages before issuing other queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/handlers.ts:319-330 (handler)Handler that executes the get_status tool logic: calls TBA /status API, parses response with StatusSchema, and returns formatted JSON text.
case 'get_status': { const data = await makeApiRequest('/status'); const status = StatusSchema.parse(data); return { content: [ { type: 'text', text: JSON.stringify(status, null, 2), }, ], }; } - src/schemas.ts:292-306 (schema)Zod schema for the API status response, defining the shape including season data, datafeed flags, mobile app versions, and max team page.
export const StatusSchema = z.object({ current_season: z.number(), max_season: z.number(), is_datafeed_down: z.boolean(), down_events: z.array(z.string()), ios: z.object({ latest_app_version: z.number(), min_app_version: z.number(), }), android: z.object({ latest_app_version: z.number(), min_app_version: z.number(), }), max_team_page: z.number(), }); - src/schemas.ts:587-587 (schema)Input schema for get_status - takes no parameters (empty object).
export const GetStatusInputSchema = z.object({}); - src/tools.ts:207-213 (registration)Registration of the get_status tool in the tools array with metadata, description, and input schema binding.
{ name: 'get_status', description: 'Retrieve TBA API status: current FRC season, max season available, datafeed health flag, list of currently down event keys, max team page index, and minimum/latest mobile app versions for iOS and Android. Useful for sanity-checking the API, discovering season bounds, and detecting outages before issuing other queries.', inputSchema: toMCPSchema(GetStatusInputSchema), annotations: { ...READ_ONLY_API, title: 'Get TBA API Status' }, },