get_dashboard
View comprehensive account analytics including products, agents, and lead counts to monitor outreach performance across multiple platforms.
Instructions
Get an overview of all products, agents, and lead counts across the entire Swarmix account
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/analytics.ts:53-64 (handler)The MCP tool handler for 'get_dashboard', which invokes the client's dashboard and agent list methods.
name: 'get_dashboard', description: 'Get an overview of all products, agents, and lead counts across the entire Swarmix account', inputSchema: { type: 'object' as const, properties: {} }, handler: async () => { const [summary, agents] = await Promise.all([ client.getDashboard(), client.listAgents(), ]); return JSON.stringify({ summary, agents }, null, 2); }, }, - src/api-client.ts:103-105 (helper)The underlying API client method that fetches data for the dashboard.
async getDashboard() { return this.request('GET', '/api/leads/summary'); }