Skip to main content
Glama
AgentPhone-AI

AgentPhone MCP Server

Official

update_agent

Idempotent

Modify an agent's configuration fields such as name, voice, instructions, or voicemail. Only provided fields are updated; hosted mode requires a system prompt.

Instructions

Update an agent's configuration — name, description, voice settings, instructions, greeting, call transfer, or voicemail. Only provided fields are updated. Switching voice_mode to 'hosted' requires a system_prompt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew name for the agent
voiceNoVoice ID for the agent.
agent_idYesThe agent ID to update
languageNoBCP-47 locale for speech recognition and synthesis, e.g. 'en-US', 'es-ES', 'ja-JP'.
stt_modeNoSpeech-to-text mode: 'fast' lowest latency, 'accurate' for exact names/numbers (~200ms slower).
model_tierNoModel quality/speed tier for hosted-mode agents. 'turbo' = fastest/cheapest, 'balanced' = general use, 'max' = highest quality.
voice_modeNo'webhook' forwards transcripts to your webhook. 'hosted' uses built-in AI with system_prompt.
descriptionNoNew description
voice_speedNoSpeech speed multiplier. 1.0 = normal, 0.5 = half speed, 2.0 = double.
ambient_soundNoOptional background ambience for call audio. Not a substitute for the AI self-identification, which is always disclosed.
begin_messageNoWhat the AI says when a call connects (hosted mode only).
system_promptNoThe AI's personality and instructions. Required when voice_mode is 'hosted'.
denoising_modeNoAudio denoising. The aggressive mode helps callers in cars/cafes (small surcharge).
max_silence_msNoHang up after this many ms of caller silence. Default 600000 (10 min).
transfer_numberNoPhone number to transfer calls to (E.164 format), or empty string to remove.
enable_messagingNoWhether a hosted agent can send and read texts during a call. Default true.
voicemail_messageNoVoicemail greeting text, or empty string to disable voicemail.
enable_backchannelNoWhether the agent interjects 'uh-huh'/'mhmm' while the caller speaks. Default true.
interruption_sensitivityNoHow easily callers can interrupt (barge in). 0 = never, 1 = at first sound. Default 0.8.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations only declare idempotentHint, so the description carries the remaining burden. The partial-update disclosure is genuinely useful behavior beyond the annotation. However, the voice_mode/system_prompt dependency largely restates the schema's own 'Required when voice_mode is hosted' note, and nothing is said about permissions or side effects.

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 sentences, front-loaded with the verb+resource, and the second sentence carries the highest-value constraint. Nothing is padded or repeated.

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?

With no output schema and a rich 19-parameter input schema, the description supplies the two things the schema can't: patch semantics and a cross-field precondition. Complete enough for correct invocation, though it omits any note on what the response returns after an update.

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?

Schema description coverage is 100% and the schema already documents ranges, enums, defaults, and formats for all 19 fields. The description names field groups but adds no syntax or format detail beyond the schema, so it sits at the baseline 3.

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?

States a specific verb (update) and resource (agent configuration), then enumerates the configurable surface: name, description, voice, instructions, greeting, transfer, voicemail. An agent can immediately tell this is the mutation counterpart to create_agent/get_agent. It stops short of explicitly naming a sibling, so it lands at 4 rather than 5.

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?

'Only provided fields are updated' gives the caller clear patch-semantics guidance and the co-requirement for hosted mode is a concrete precondition. There is no explicit when-to-use-this-vs-sibling routing (e.g., when to prefer update_agent over create_agent), which keeps it out of the 5 band.

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