Skip to main content
Glama

kafka__UpdateInstanceUser

Updates the description or password of an existing Kafka instance user, using the project ID, instance ID, and user name to target the correct account.

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

Input Schema

NameRequiredDescriptionDefault
engineYes消息引擎的类型。
user_descNo用户描述。
user_nameYes用户名。
project_idYes项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。
instance_idYes实例ID。
new_passwordNo用户新密码。

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 must carry the full behavioral burden, and it discloses almost nothing. "修改" implies mutation, but it does not state whether changes are reversible, what permissions are required, whether a password change forces re-authentication for connected clients, or what happens to unspecified fields. For a write operation with zero annotation coverage this is a serious 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?

It is a single short phrase with no wasted wording and the tag and verb are front-loaded. However, extreme terseness here is under-specification rather than conciseness; the one sentence conveys only the name in slightly different words.

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 six-parameter, four-required mutation tool with no annotations and no output schema, which raises the bar for description content. The description does not say which fields are updatable, that partial updates may be possible, or what the caller gets back. It is not sufficient for an agent to invoke the tool confidently.

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 all six parameters, including user_desc and new_password with their length bounds, are already documented in the schema. The description adds no meaning beyond that — notably it never mentions that a password can be changed here, which is the most consequential parameter. Baseline 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.

Purpose3/5

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

"修改用户参数" names a verb (modify) and a resource (user parameters), but "参数" is vague about what is actually being changed — the schema reveals user_desc and new_password are the editable fields, not general parameters. It also does not differentiate from siblings such as kafka__ResetUserPasswrod or kafka__UpdateKafkaUserClientQuotaTask, which an agent could easily confuse with this tool.

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 prerequisites, and no mention of alternatives anywhere in the description. An agent must infer from the name alone that this edits an existing user rather than creating one (kafka__CreateInstanceUser) or resetting a password (kafka__ResetUserPasswrod).

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