Skip to main content
Glama

get_twilio_usage

Retrieve Twilio usage statistics by specifying start and end dates and a result limit. Access detailed usage data for analysis and optimization.

Instructions

Get Twilio usage statistics

Input Schema

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

Implementation Reference

  • The handler case for 'get_twilio_usage' tool. It constructs query parameters from input arguments (start_date, end_date, limit) and sets the API endpoint URL to fetch Twilio usage data from the backend.
    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 the list of available tools, 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 defining parameters for start_date, end_date, and limit for the get_twilio_usage tool.
    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