Skip to main content
Glama

agent_update

Publish a patched revision, update an agent's description or connection, or roll back to an older revision when configuration changes need to be corrected.

Instructions

Publish a patched revision, change description/connection, or roll back from an older revision.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
patchNo
connectionNo
descriptionNo
expected_revNo
from_revisionNo
client_request_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure for a mutation. It mentions rollback and patching, but omits permissions, whether patch merges or replaces fields, rollback side effects, concurrency behavior, null connection handling, and error/response behavior.

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, listing the three operation modes directly. The compressed phrasing is efficient but leaves the relationship among modes somewhat ambiguous.

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?

This is a complex mutation tool with seven parameters, a nested patch object, no annotations, no output schema, and no schema descriptions. The one-sentence description is far too thin to cover patch semantics, concurrency via expected_rev, idempotency via client_request_id, rollback effects, disconnection via null connection, or failure behavior.

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?

Seven parameters are present with 0% schema description coverage. The description only indirectly maps to patch, description, connection, and from_revision; it leaves name, expected_rev, client_request_id, patch object semantics, and connection nullability 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 names three specific update modes: publishing a patched revision, changing description/connection, and rolling back from an older revision. It is clear what the tool does, but it never explicitly names the resource as an agent and does not distinguish agent_update from siblings such as agent_create, agent_duplicate, or station_update.

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?

The listed modes imply when agent_update is useful, especially for patching and rollback. However, it gives no explicit when-to-use guidance versus sibling tools, no exclusions, and no prerequisites for choosing one mode over another.

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