Skip to main content
Glama

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
NameRequiredDescriptionDefault
assistant_idYesAssistant ID

Implementation Reference

  • 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;
  • 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'] } },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Business-On-Steroids/MCP-VoiceAI-WhiteLabel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server