Skip to main content
Glama

get_assistants_token_usage

Retrieve token usage metrics for all assistants to monitor resource consumption and optimize VoiceAI integrations.

Instructions

Get token usage across all assistants

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler logic for the 'get_assistants_token_usage' tool: sets the backend API URL to '/assistants/all/token/usage' and performs a GET request via the shared fetch logic.
    case 'get_assistants_token_usage': url = `${this.baseUrl}/assistants/all/token/usage`; break;
  • index.js:279-287 (registration)
    Registration of the 'get_assistants_token_usage' tool in the list of available tools, including name, description, and input schema.
    { name: 'get_assistants_token_usage', description: 'Get token usage across all assistants', inputSchema: { type: 'object', properties: {}, required: [] } },
  • Input schema for the tool: an empty object with no required properties.
    inputSchema: { type: 'object', properties: {}, required: [] }

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