Skip to main content
Glama

retell_list_phone_numbers

Retrieve all phone numbers associated with your Retell AI account to manage voice and chat agents.

Instructions

List all phone numbers registered with your Retell account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The switch case handler for the retell_list_phone_numbers tool within the executeTool function. It performs a GET request to the Retell API endpoint /list-phone-numbers with no arguments, as the tool requires none.
    case "retell_list_phone_numbers": return retellRequest("/list-phone-numbers", "GET");
  • The tool schema definition, including name, description, and input schema (empty properties since no parameters are required). This object is part of the tools array registered with the MCP server for tool discovery.
    name: "retell_list_phone_numbers", description: "List all phone numbers registered with your Retell account.", inputSchema: { type: "object", properties: {} } },
  • src/index.ts:1283-1284 (registration)
    Registration of the tools list handler with the MCP server, which returns the tools array containing the retell_list_phone_numbers tool definition for client discovery.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { 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/itsanamune/retellsimp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server