Skip to main content
Glama

Update a voice agent

update_agent

Update a voice agent

Changes one or more fields on a voice agent. Every field is optional and only the fields you send are written, so this is a partial update. The change is pushed to the voice engine first and then stored; if the engine rejects the push the request still succeeds and the new values are stored, so a caller that depends on live behaviour should verify the agent afterwards. The response carries the agent id and a confirmation message, not the updated agent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agentId": "<agentId>",
      "body": "<body>"
    },
    "name": "update_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe fields to change. Sending an empty object is accepted and touches only the updated timestamp.
agentIdYesIdentifier of the voice agent. Accepted either as the public form `agent_12` or as the bare number `12`; the prefix is stripped before the lookup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

With annotations only declaring the generic flag set (readOnly=false, destructive=false, idempotent=false, openWorld=false), the description supplies the non-obvious mechanics: values are pushed to the voice engine before storage, an engine rejection still returns success while the new values are persisted, and callers must re-check for live state. That is exactly the kind of silent-partial-failure behaviour an agent cannot infer from the annotation flags, and it is consistent with idempotentHint=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with the operation and immediately followed by the two facts a caller most needs (partial write, then the engine/store divergence caveat). The opening line only restates the tool name, and the failure-mode explanation could be tightened, but nothing is padding.

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?

For a nested-object mutation with 100% schema coverage and no output schema, the description pre-empts the two things the schema cannot tell an agent: that the call can succeed while live behaviour is stale, and that the response is only an id plus confirmation rather than the updated agent. It leaves out auth/permission requirements and how to unset a field, which matter for a tool with this many optional properties.

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?

Schema coverage is 100%, so the baseline is 3, and the description still adds meaning: it clarifies that every body field is optional (nothing in the top-level schema says the nested body's properties are all optional in practice) and that fields omitted are left untouched, i.e. a patch rather than a replace. It does not address how to clear an existing value (explicit null vs. omission), which is the one semantic gap for a 30+ field body.

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?

"Changes one or more fields on a voice agent" gives a specific verb (changes/partial update) and a specific resource (voice agent), which separates it from siblings operating on live chat agents or chatbots. It never names an alternative or states when a different update tool is the right choice, so differentiation comes only from the resource noun.

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

Usage Guidelines3/5

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

The description establishes the partial-update contract ("only the fields you send are written") and gives one conditional directive — verify the agent afterwards if you depend on live behaviour. It offers no when-to-use/when-not-to-use routing against siblings such as update_live_chat_agent or update_agent_integration_tools, and never mentions prerequisites or permissions, so usage is implied rather than guided.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.