Skip to main content
Glama

Update an AI agent

update_agent
DestructiveIdempotent

Change what an AI agent says and how it sounds: its name, first line (greeting), instructions, voice, language, or whether it is on. The next call uses the change. Send only what should change, and show the user new greeting or instruction text before saving it. Ask the user to confirm before calling this tool.

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
nameNoName shown in RevDesk
enabledNoTurn the agent on or off
agent_idYesAgent id from list_agents
greetingNoFirst thing the agent says; null resets it
languageNoLanguage code, for example "en" or "es"
voice_idNoVoice id
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.
system_promptNoThe agent's instructions; null resets them

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, and openWorld=true; the description adds value beyond them by disclosing that changes take effect on the next call and that the call is a partial patch rather than a full replace. It does not restate that the operation is destructive or explain what a wrong voice/language change affects, but the confirmation workflow implicitly covers the risk.

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?

Four short sentences, front-loaded with the purpose, followed by effect timing and the two pre-call safety steps. Nothing is padding, and the ordering matches how an agent should act on it.

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 an eight-parameter mutation with no output schema, the description covers purpose, patch semantics, effect timing, and confirmation requirements. It could still say what a successful response looks like or how validation failures surface, but nothing essential to calling it correctly is absent.

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 would be 3; the description earns above that by mapping its 'what changes' list onto the parameters (greeting, system_prompt/instructions, voice_id, language, enabled) and by stating that only changed fields should be sent, which clarifies the optionality of the seven non-required params. Reset semantics via null are left to the schema.

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 names a specific verb ('Change') and resource (an AI agent) and then enumerates the exact editable facets: name, greeting, instructions, voice, language, and on/off state. That field list distinguishes it cleanly from create_agent, get_agent, and remove_agent without needing to name them.

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?

It gives concrete operating context: send only fields that should change (partial update), show the user new greeting/instruction text before saving, and ask the user to confirm before calling. What is missing is any explicit when-not guidance or a named alternative (for example, which sibling to use to delete or disable an agent).

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.

Resources