Skip to main content
Glama

aom__BatchUpdateAgent

Initiates a batch upgrade of UniAgent instances for a Huawei Cloud project by specifying the target version and the agent host list.

Instructions

[AOM] 该接口用于下发批量升级UniAgent任务。

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_list": "<agent_list>",
      "project_id": "<project_id>",
      "version": "<version>"
    },
    "name": "aom__BatchUpdateAgent"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionYesUniAgent升级的版本号。
agent_listYesUniAgent主机列表信息。
project_idYes租户从IAM申请到的projectid,一般为32位字符串。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it only says a task is issued. It does not state that this is a mutating, potentially disruptive operation on running agents, whether the call is asynchronous and returns a task/job handle, whether it requires elevated permissions, or what happens to agents already at the target version.

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 no filler, but it is so terse that concision comes at the cost of content. The [AOM] prefix usefully identifies the service.

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 an unannotated three-required-parameter mutation with no output schema, the description should explain execution model, return shape, and side effects. None of that is present, leaving the agent with only the bare intent.

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 description coverage is 100%, so version, project_id, and the nested agent_list (agent_id/inner_ip) are already documented in the schema. The description adds no extra meaning, such as version format rules or whether inner_ip supports IPv6, so the baseline 3 applies.

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 and resource: issuing (下发) a batch upgrade (批量升级) task for UniAgent. An agent can tell this is an upgrade operation rather than import or query, but the description never contrasts it with near-neighbors such as BatchImportAgent or the HSS daemonset upgrade tools.

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 alternatives, no prerequisites (the target agents must already be installed), and no caution about the effect of upgrading across a large agent_list. Usage has to be inferred entirely from the name and one sentence.

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

Deploy Server

Other Tools