Skip to main content
Glama
@dialgem/mcp

@dialgem/mcp

Official
by DialgemAI

Update agent

update_agent

Change an existing voice agent's settings—such as name, voice, language, model, greeting, or system prompt—while editing the live draft and leaving unspecified fields unchanged.

Instructions

Change an agent. Only the fields you pass are modified. This edits the live draft.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "update_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
extraNoAny other agent fields, passed through as-is
agent_idYesAgent id
languageNoe.g. en-US
voice_idNoprovider_voice_id from list_voices
llm_modelNo
first_messageNoWhat the agent says when the call connects
system_promptNoWhat the agent is and how it should behave

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the write semantics are covered. The description adds genuine value with "Only the fields you pass are modified" (partial-update semantics) and "This edits the live draft" (scope of the change), but it never says whether the draft is served to live calls immediately or requires a publish step, nor what a failed or partial update does.

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?

Three short sentences, front-loaded with the action and followed by the two non-obvious constraints. No filler; the only weak spot is that the opening could name PATCH-style semantics directly rather than requiring the reader to infer them from sentence two.

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

Completeness3/5

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

For an 8-parameter mutation with a nested free-form `extra` object and no output schema, the description omits what is returned after the update and how invalid or unknown fields behave. It covers the core risk (accidental overwrite) but not the return shape or failure modes an agent needs to chain calls reliably.

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 coverage is 75%, so most fields (name, language, voice_id, llm_model, first_message, system_prompt, extra) are already documented in the schema. The description adds only the general rule that omitted fields are untouched; it explains nothing about the pass-through `extra` object, which is the least self-explanatory parameter.

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 resource and mutation verb ("Change an agent"), and "This edits the live draft" separates it from publish_agent_version and from create/delete/get siblings. The verb "Change" is slightly softer than "update" but the target is unambiguous.

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?

Usage is only implied: modify an existing agent by id. There is no explicit guidance on when to use this versus create_agent or publish_agent_version, and no mention of prerequisites such as ownership or the agent needing to exist.

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