import { MCPTool } from './index.js';
import { ChangerawrClient } from '../client/changerawr-client.js';
export const getDashboardStatsTool: MCPTool = {
name: 'get_dashboard_stats',
description: 'Get dashboard analytics and statistics including project information',
inputSchema: {
type: 'object',
properties: {},
required: [],
},
async execute(args: {}, client: ChangerawrClient) {
const stats = await client.getProjectStats(''); // projectId not needed for dashboard stats
return {
success: true,
data: stats,
message: `Retrieved dashboard statistics`,
};
},
};