Skip to main content
Glama

hss__UpdateAgentDaemonset

Update the HSS agent DaemonSet configuration for a cluster to control agent version, auto-upgrade, runtime settings, and scheduling.

Instructions

[HSS] 更新集群daemonset

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": {
      "cluster_id": "<cluster_id>",
      "project_id": "<project_id>"
    },
    "name": "hss__UpdateAgentDaemonset"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes集群id
project_idYes**参数解释**:
auto_upgradeNo开启agent自动升级
cluster_nameNo集群名称
runtime_infoNo容器运行时配置
agent_versionNoagent版本
charging_modeNo付费模式,cce集成防护调用场景使用:
schedule_infoNo节点调度信息
invoked_serviceNo调用服务,默认hss,cce集成防护调用场景使用:
cce_protection_typeNocce防护类型,cce集成防护调用场景使用:
prefer_packet_cycleNo优先使用包周期配额,cce集成防护调用场景使用,默认false
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden for a mutation tool, and it discloses nothing: not whether this is a partial patch or a full replace, not what permissions or preconditions are required, not whether existing daemonset settings are preserved, and not what the response contains. The single word "更新" is the only behavioral signal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single short fragment with no padding, so nothing is wasted. However, this is under-specification rather than deliberate conciseness, and there is no structure to front-load beyond the bare verb and resource.

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

Completeness1/5

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

For a 12-parameter mutation tool with nested objects, enums, and no annotations or output schema, a four-word fragment is wholly inadequate. The agent has no way to know what the call changes or how to interpret success.

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 the 12 parameters, including the nested runtime_info and schedule_info objects and the two enum fields, are documented in the schema itself. The description adds no meaning beyond that, but the baseline of 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "[HSS] 更新集群daemonset" essentially restates the tool name UpdateAgentDaemonset, adding only the word "cluster." It gives no indication of what aspect of the daemonset is updated (agent version, runtime config, scheduling) or how this differs from siblings like BatchUpgradeAgentDaemonset or CreateAgentDaemonset.

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 when-to-use guidance, no when-not-to-use guidance, and no named alternative. An agent cannot tell from this text whether to reach for this tool or BatchUpgradeAgentDaemonset when changing agent configuration across a cluster.

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