Skip to main content
Glama
aqeelshamz

wixzel-phone-mcp

by aqeelshamz

Update an agent

update_agent

Modify an existing voice agent by sending only the fields to change; omitted settings remain untouched. Send a new voice object to replace the entire voice configuration.

Instructions

Change an agent. Only the fields you send are changed; omit the rest. Sending voice replaces the whole voice object.

Requires scope agents:write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe record id, e.g. "6a96a3ead6e886d42462dd3e".
nameNoA label for your own reference, e.g. "Support line".
voiceNoEither a COMPOSED pipeline {stt, llm, tts} (all three required together) or a single REALTIME model {realtime}. Never both. Use list_engines to pick models that are available right now.
languageNoBCP-47 tag for the conversation, e.g. "en-US" or "hi-IN".
system_promptNoThe agent's instructions. This is a spoken conversation, so keep it short, concrete, and free of markdown.
opening_messageNoSpoken as soon as the call connects. Supports {{name}} style merge fields from the lead. Required: an agent without one answers in silence.
knowledge_base_idNoA knowledge base the agent can draw on. See list_knowledge_bases.
outbound_phone_number_idNoDefault caller id for outbound calls placed with this agent. See list_phone_numbers.
appointment_booking_enabledNoLet the agent book appointments during a call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag non-read-only, non-idempotent, non-destructive, and the description adds meaningful nuance: unchanged fields are preserved and sending voice replaces the entire voice object. It also states the required authorization scope. No contradiction with annotations.

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?

Three short sentences, each carrying important information: operation, partial-update semantics, voice-replacement behavior, and required scope. No filler or restatement of schema details.

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 input schema and annotations, the description captures the essential non-obvious behaviors needed to invoke the tool correctly: patch semantics, voice object replacement, and authorization. It does not describe the success response, but the absence of an output schema makes that a minor gap rather than a correctness blocker.

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?

The input schema documents every parameter at 100% coverage, so the baseline is 3. The description adds cross-cutting semantics beyond the schema: omitted fields are left unchanged, and voice is replaced as a whole object rather than merged. This clarifies how the top-level and nested parameters behave.

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?

States a specific operation ('Change an agent') and immediately clarifies the partial-update contract ('Only the fields you send are changed; omit the rest'), which distinguishes it from create_agent and delete_agent. This is more than a tautology of the title.

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?

The description gives clear context for use: modify an existing agent, send only the fields to change, and the required agents:write scope. It does not explicitly name alternatives such as create_agent/get_agent, but the id requirement and change semantics make the intended use unambiguous.

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