get_application_stats
Retrieve aggregated job application statistics including status counts and auto-apply metrics to track progress without paginating through individual records.
Instructions
Get aggregated stats for your job applications — total counts by status and auto-apply metrics. Much faster than paginating through list_applications.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobHuntId | No | Filter stats to a specific job hunt | |
| dateOffset | No | Filter by time period (e.g., "24H", "7D", "1M", "3M", "1Y") |
Implementation Reference
- src/tools/applications.ts:13-16 (handler)The handler implementation for the 'get_application_stats' tool, which calls the client's getApplicationStats method.
async (args) => { const stats = await client.getApplicationStats(args.jobHuntId, args.dateOffset); return { content: [{ type: 'text' as const, text: JSON.stringify(stats, null, 2) }] }; } - src/tools/applications.ts:6-17 (registration)Registration of the 'get_application_stats' tool within the McpServer.
server.tool( 'get_application_stats', 'Get aggregated stats for your job applications — total counts by status and auto-apply metrics. Much faster than paginating through list_applications.', { jobHuntId: z.string().optional().describe('Filter stats to a specific job hunt'), dateOffset: z.enum(['24H', '1D', '2D', '7D', '14D', '1M', '3M', '6M', '9M', '1Y']).optional().describe('Filter by time period (e.g., "24H", "7D", "1M", "3M", "1Y")'), }, async (args) => { const stats = await client.getApplicationStats(args.jobHuntId, args.dateOffset); return { content: [{ type: 'text' as const, text: JSON.stringify(stats, null, 2) }] }; } );