Skip to main content
Glama
AiAgency-Now

VoiceAI-MCP-VAVicky

Official
by AiAgency-Now

get_assistant_usage

Retrieve usage statistics for a specific assistant to monitor performance and track activity within the VoiceAI platform.

Instructions

Get usage statistics for an assistant

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assistant_idYesAssistant ID

Implementation Reference

  • Handler case in executeTool method that constructs the API URL for fetching assistant usage statistics.
    case 'get_assistant_usage':
      url = `${this.baseUrl}/assistants/${args.assistant_id}/usage`;
      break;
  • Input schema definition for the get_assistant_usage tool, requiring assistant_id.
    inputSchema: {
      type: 'object',
      properties: {
        assistant_id: { type: 'string', description: 'Assistant ID' }
      },
      required: ['assistant_id']
    }
  • index.js:268-278 (registration)
    Tool registration in the listTools response, 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/AiAgency-Now/MCP-VoiceAI-WhiteLabel'

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