Skip to main content
Glama

retell_create_phone_number

Register a new phone number for Retell AI agents to handle inbound and outbound calls using specified area codes.

Instructions

Register/purchase a new phone number for use with Retell AI agents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
area_codeYesThe area code for the phone number (e.g., '415' for San Francisco)
inbound_agent_idNoOptional: Agent ID to handle inbound calls to this number
outbound_agent_idNoOptional: Agent ID to use for outbound calls from this number
nicknameNoOptional: A friendly name for the phone number

Implementation Reference

  • The handler logic for the retell_create_phone_number tool, which proxies the request to the Retell API endpoint /create-phone-number via retellRequest.
    case "retell_create_phone_number": return retellRequest("/create-phone-number", "POST", args);
  • The tool definition including name, description, and input schema, used for both registration in the tools list and validation.
    { name: "retell_create_phone_number", description: "Register/purchase a new phone number for use with Retell AI agents.", inputSchema: { type: "object", properties: { area_code: { type: "string", description: "The area code for the phone number (e.g., '415' for San Francisco)" }, inbound_agent_id: { type: "string", description: "Optional: Agent ID to handle inbound calls to this number" }, outbound_agent_id: { type: "string", description: "Optional: Agent ID to use for outbound calls from this number" }, nickname: { type: "string", description: "Optional: A friendly name for the phone number" } }, required: ["area_code"] } },

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