Skip to main content
Glama

Update agent

update_agent
Idempotent

Partially update an agent's name/description/color/active/status/trigger_mode.

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
colorNo
activeNo
statusNo
agent_idYes
descriptionNo
trigger_modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare non-readonly, idempotent, non-destructive, closed-world behavior, so the description's only contribution is the implication that omitted fields are left unchanged. It says nothing about what 'status' and 'trigger_mode' accept, whether invalid values are rejected, or how the mutation interacts with an active agent — real gaps for a write tool.

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?

A single front-loaded sentence with zero filler and the field list placed immediately after the verb. It is efficient, though the terseness contributes to the semantic gaps noted elsewhere.

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

Completeness2/5

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

For a mutation tool with seven parameters, zero schema descriptions, no enums, and no output schema, a one-line field list is not enough. An agent cannot determine valid values, required identity handling, or mutation side effects from this definition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it does not: it merely echoes six property names. The required 'agent_id' identifier is not mentioned at all, and the enum-less 'status' and 'trigger_mode' fields have no documented value sets or format.

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 verb ('partially update') plus the resource ('agent') and enumerates the mutable fields, so the agent can tell it apart from create_agent and delete_agent without opening the schema. It stops short of naming siblings explicitly, keeping it at 4 rather than 5.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus create_agent, delete_agent, or a read tool, and no stated prerequisites such as required permissions or valid agent states. The word 'partially' hints at PATCH semantics but is never spelled out as a usage rule.

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