Skip to main content
Glama

get_twilio_usage

Retrieve Twilio usage statistics for specified date ranges to monitor call, message, or service consumption within the VoiceAI platform.

Instructions

Get Twilio usage statistics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_dateNoStart date (ISO format)
end_dateNoEnd date (ISO format)
limitNoMax number of results

Implementation Reference

  • Handler logic for 'get_twilio_usage' tool: constructs query parameters for start_date, end_date, and limit, then sets the API endpoint URL to fetch Twilio usage statistics.
    case 'get_twilio_usage': const usageParams = new URLSearchParams(); if (args.start_date) usageParams.append('start', args.start_date); if (args.end_date) usageParams.append('end', args.end_date); if (args.limit) usageParams.append('limit', args.limit.toString()); url = `${this.baseUrl}/twilio/usage?${usageParams.toString()}`; break;
  • index.js:382-394 (registration)
    Tool registration in listTools response, including name, description, and input schema definition.
    { name: 'get_twilio_usage', description: 'Get Twilio usage statistics', inputSchema: { type: 'object', properties: { start_date: { type: 'string', description: 'Start date (ISO format)' }, end_date: { type: 'string', description: 'End date (ISO format)' }, limit: { type: 'number', description: 'Max number of results', default: 50 } }, required: [] } },
  • Input schema definition for the 'get_twilio_usage' tool, specifying optional parameters for date range and result limit.
    inputSchema: { type: 'object', properties: { start_date: { type: 'string', description: 'Start date (ISO format)' }, end_date: { type: 'string', description: 'End date (ISO format)' }, limit: { type: 'number', description: 'Max number of results', default: 50 } }, 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