Skip to main content
Glama

Update agent

update_agent
Destructive

Update specific fields of an existing agent. Only the fields you provide will be changed.

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

Input Schema

NameRequiredDescriptionDefault
fieldsYesFields to update (name, description, tools, system_prompt, model, memory, etc.; for a Team agent, delegate_agent_ids and team: how its members work, as create_agent takes it; for a Browser agent, browser: the settings to change, kept where not given)
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=false, so the risk profile is externally visible. The description adds one genuinely useful behavioral fact — merge semantics, that unspecified fields are preserved — but says nothing about the destructive overwrite risk implied by destructiveHint, reversibility, or permission requirements.

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?

Two short sentences with no filler; the patch semantics are front-loaded right after the purpose statement. The opening phrase slightly restates the title, but the second sentence earns its place by disambiguating replace-vs-merge behavior.

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 a destructive mutation tool with no output schema and only 50% parameter coverage, the description covers purpose and merge semantics but not what is returned, where agent_id comes from, or what data loss a destructive update can cause. It is adequate to invoke the tool, but thin on consequence.

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 50%: the nested `fields` object carries a detailed description (including Team and Browser agent special cases), while `agent_id` is undocumented in both schema and description. The description contributes the partial-update semantics, which is real added value, but does not compensate for the unexplained agent_id or clarify the shape of `fields` beyond what the schema states.

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?

"Update specific fields of an existing agent" gives a clear verb (update) and resource (agent), scoped to an existing agent rather than a new one, which separates it from create_agent. It stops short of naming that sibling or of specifying what "fields" can be touched, leaving that to the schema.

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: it is an update rather than create/delete, and the second sentence signals a patch-style operation. There is no explicit when-to-use guidance, no precondition (e.g. agent_id must come from get_agent/list), and no mention of alternatives such as create_agent or the more specific update_* siblings.

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.