Skip to main content
Glama

Update agent

update_agent
Idempotent

Update an AI agent's name, description, enabled flag or status.

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
statusNo
enabledNo
agent_idYes
descriptionNo

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 state readOnly=false, idempotent=true, destructive=false, and openWorld=false, covering the safety profile. The description adds nothing beyond restating the field list: it does not explain partial-update behavior for omitted fields, whether changing status triggers provisioning or deprovisioning side effects, or what permissions are required.

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?

It is a single, front-loaded sentence with no filler or redundancy. Brevity is achieved, though at the cost of the substantive detail flagged in other dimensions.

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 five-parameter mutation tool with no output schema and no field documentation in the schema, the description is too thin. An agent cannot tell whether this is a partial or full-replacement update, how enabled and status relate, or what happens to the agent when status is set to 'disabled'.

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 largely does not. It omits the required agent_id entirely and gives no semantics for the status enum values (draft, provisioned, disabled) or for how enabled interacts with status, leaving two potentially redundant controls unexplained.

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?

The description gives a specific verb and resource ('Update an AI agent') and enumerates the mutable fields (name, description, enabled flag, status), which is more than the title alone provides. It does not differentiate itself from overlapping siblings such as set_agent_profile or set_agent_autonomy, so it falls short of a 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 tool versus set_agent_profile, set_agent_autonomy, provision_agent, or create_agent, all of which plausibly touch the same agent record. Usage is only implied by the word 'Update', with no exclusions or prerequisites.

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