Skip to main content
Glama

update_phone_number

Idempotent

Configure AI voice agent settings for phone numbers including models, voices, system prompts, webhooks, tools, and call handling parameters.

Instructions

Update phone number configuration. Use this to set up or modify the AI agent — change the model, system prompt, voice, tools, webhook, and other settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phone_number_idYesThe phone number ID to update
labelNoFriendly label
webhook_urlNoWebhook URL for call events (use empty string to clear)
modeNoCall mode
modelNoAI model slug (e.g. gemini-3.1-flash-live-preview)
model_key_idNoYour own model API key ID (BYOK)
system_promptNoSystem prompt for the AI agent (max 10000 chars)
voiceNoVoice ID
languageNoLanguage code (e.g. en, es)
toolsNoTool definitions for the AI agent
tool_webhook_urlNoWebhook URL for tool calls
max_call_durationNoMax call duration in seconds (60-3600)
silence_timeoutNoSilence timeout in seconds (10-120)
transfer_numberNoNumber for call transfers
auto_transfer_toolNoEnable automatic transfer tool for AI agent
realtime_transcriptNoEnable real-time transcription
recording_enabledNoEnable call recording
transcription_enabledNoEnable post-call transcription
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and readOnlyHint=false. The description adds valuable context that this configures an 'AI agent' (explaining the conceptual model), but does not disclose additional behavioral traits like rate limits, authentication requirements, or partial update semantics beyond what the schema and annotations imply.

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?

Two efficient sentences with no redundancy. The first states the core action, the second elaborates scope and use case. Every word earns its place; well front-loaded with the most critical information.

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

Completeness4/5

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

Given the rich schema (100% coverage, 18 params) and comprehensive annotations, the description provides sufficient context by framing this as an AI agent configuration tool. No output schema exists, so return values need not be explained. Could be improved by noting that only phone_number_id is required, enabling partial updates.

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

Parameters4/5

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

With 100% schema description coverage, the baseline is 3. The description adds semantic value by grouping parameters into conceptual categories ('model, system prompt, voice, tools, webhook, and other settings' as AI agent configuration), helping the agent understand the purpose of the 18 parameters beyond the schema's flat list.

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

Purpose5/5

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

The description explicitly states the tool 'Update[s] phone number configuration' and clarifies this is specifically to 'set up or modify the AI agent.' It clearly distinguishes from sibling tools like buy_phone_number (acquisition) and get_phone_number (retrieval) by focusing on configuration/modification of existing resources.

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

Usage Guidelines4/5

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

Provides clear positive guidance ('Use this to set up or modify the AI agent') indicating when to invoke the tool. However, it lacks explicit negative guidance or named alternatives (e.g., 'do not use for purchasing numbers, use buy_phone_number instead').

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/JobXDubai/mcp-server'

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