get_assistant_usage
Retrieve detailed usage statistics for a specific assistant by providing its unique ID, enabling analysis of performance and user interactions within VoiceAI-MCP-VAVicky.
Instructions
Get usage statistics for an assistant
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assistant_id | Yes | Assistant ID |
Implementation Reference
- index.js:583-585 (handler)Handler implementation for the 'get_assistant_usage' tool. Sets the API endpoint to fetch usage statistics for the given assistant ID and executes an HTTP GET request via the shared fetch logic.case 'get_assistant_usage': url = `${this.baseUrl}/assistants/${args.assistant_id}/usage`; break;
- index.js:271-277 (schema)Input schema for the 'get_assistant_usage' tool, requiring a string 'assistant_id'.inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' } }, required: ['assistant_id'] }
- index.js:268-278 (registration)Registration of the 'get_assistant_usage' tool in the MCP server's list of available tools, including name, description, and input schema.{ name: 'get_assistant_usage', description: 'Get usage statistics for an assistant', inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' } }, required: ['assistant_id'] } },