Skip to main content
Glama
AiAgency-Now

VoiceAI-MCP-VAVicky

Official
by AiAgency-Now

cancel_call

Terminate an ongoing phone call by providing the call ID. This tool allows users to end active calls within the VoiceAI platform.

Instructions

Cancel an active phone call

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
call_idYesCall ID

Implementation Reference

  • The handler logic for the 'cancel_call' tool. It sets the API endpoint URL to `/twilio/calls/{call_id}` and the HTTP method to 'DELETE' to cancel the specified call.
    case 'cancel_call':
      url = `${this.baseUrl}/twilio/calls/${args.call_id}`;
      method = 'DELETE';
      break;
  • index.js:430-440 (registration)
    Registration of the 'cancel_call' tool in the listTools response, including its name, description, and input schema requiring a 'call_id' string.
    {
      name: 'cancel_call',
      description: 'Cancel an active phone call',
      inputSchema: {
        type: 'object',
        properties: {
          call_id: { type: 'string', description: 'Call ID' }
        },
        required: ['call_id']
      }
    },
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. 'Cancel an active phone call' implies a destructive mutation, but it doesn't specify permissions required, side effects (e.g., whether participants are notified), error conditions (e.g., if call_id is invalid), or response format. For a mutation tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.

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 with zero wasted words. It is front-loaded with the core action and resource, making it immediately understandable. Every word earns its place by conveying essential information without redundancy.

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?

Given the tool's complexity as a destructive mutation with no annotations and no output schema, the description is incomplete. It lacks details on behavioral traits (e.g., idempotency, error handling), usage context, and expected outcomes. For a tool that modifies system state, this minimal description fails to provide sufficient context for safe and effective use.

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 input schema has 100% description coverage, with 'call_id' documented as 'Call ID'. The description adds no parameter-specific information beyond what the schema provides. According to scoring rules, with high schema coverage (>80%), the baseline is 3 even without param details in the description, which applies here.

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 'Cancel an active phone call' clearly states the action (cancel) and resource (active phone call) with a specific verb. It distinguishes from siblings like 'make_call' or 'get_calls_in_progress' by focusing on termination rather than initiation or querying. However, it doesn't explicitly differentiate from potential similar tools like 'end_call' or 'terminate_call' that might exist in other contexts.

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. It doesn't mention prerequisites (e.g., the call must be active), exclusions (e.g., cannot cancel completed calls), or direct alternatives among siblings like 'disconnect_twilio'. Usage is implied by the word 'active', but no explicit context or comparison is given.

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