Skip to main content
Glama
AiAgency-Now

VoiceAI-MCP-VAVicky

Official
by AiAgency-Now

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: []
    }
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure but only states what the tool does at a high level. It doesn't mention whether this is a read-only operation, what format the statistics come in, whether there are rate limits, authentication requirements, or any other behavioral characteristics beyond the basic purpose.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that communicates the core purpose without any wasted words. It's appropriately sized for a tool with clear parameters documented in the schema and gets straight to the point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations and no output schema, the description is insufficiently complete. It doesn't explain what 'usage statistics' actually includes, what format the results come in, or any behavioral characteristics. The agent would need to guess about the return format and operational details despite having three parameters to work with.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds no parameter information beyond what's already in the schema, which has 100% coverage with clear descriptions for all three parameters. The baseline score of 3 reflects that the schema adequately documents parameters, but the description doesn't add any additional context about how these parameters affect the usage statistics retrieval.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Get') and resource ('Twilio usage statistics'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'get_assistant_usage' or 'get_assistants_token_usage' that also retrieve usage data, so it doesn't reach the highest clarity level.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. With sibling tools like 'get_assistant_usage' and 'get_assistants_token_usage' that also retrieve usage statistics, there's no indication of what distinguishes this Twilio-specific usage tool from those other usage tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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