Skip to main content
Glama

kafka__UpgradeInstance

Upgrade the kernel version of a Kafka instance, optionally scheduling the execution for a specific future time using Unix timestamps.

Instructions

[KAFKA] 实例内核升级

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "kafka__UpgradeInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
execute_atNo定时时间,格式为Unix时间戳,单位为毫秒
project_idYes项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。
instance_idYes实例ID。
is_scheduleNo是否作为定时任务执行。若非定时执行,is_schedule和execute_at字段可为空。若为定时执行,is_schedule为true,execute_at字段非空。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 behavioral burden and it discloses almost nothing. The word 'upgrade' implies a mutation, but there is no mention of whether the instance restarts or becomes unavailable during a kernel upgrade, whether the change is reversible or rollback-capable, or what permissions are required. For a potentially service-disrupting operation this is a significant gap.

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 single bracketed phrase is waste-free and front-loaded, but here brevity reflects under-specification rather than discipline. There is no structure beyond a product tag plus an action noun, so it is concise but thin.

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?

With four parameters, no annotations, and no output schema, the description should carry most of the context and instead supplies one phrase. The rich schema mitigates some of this, but nothing tells the agent what happens on success, whether the upgrade is asynchronous, or how to interpret a scheduled execution result.

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%, and the schema itself explains instance_id, project_id, and the is_schedule/execute_at scheduling contract in detail. The description adds no parameter meaning of its own, so the baseline 3 applies: the schema does the work, the description stays neutral.

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

Purpose3/5

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

The description '[KAFKA] 实例内核升级' names a verb (upgrade) and a resource (instance kernel) and tags the product family, so the basic action is discernible. However, it does not distinguish this from siblings such as kafka__UpdateInstance, kafka__ResizeKafkaInstance, or kafka__ResizeEngineInstance, all of which operate on the same instance resource. It is a minimum-viable purpose statement rather than a differentiated one.

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 this tool should be chosen over UpdateInstance or ResizeKafkaInstance, nor any stated prerequisites (engine version compatibility, maintenance windows, instance state). The scheduling semantics live only in the schema, not in the description. An agent must infer usage entirely from the tool name.

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