Skip to main content
Glama

kafka__ModifyInstanceConfigs

Modify configuration values for a Kafka instance by specifying the project ID, instance ID, and a list of config names and new values.

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__ModifyInstanceConfigs"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。
instance_idYes实例ID。
kafka_configsNokafka待修改配置列表。

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 provided, so the description must fully explain the tool's behavior. It implies that the operation mutates configuration, but it does not say whether the modification is reversible, whether a partial failure rolls back earlier changes, whether the instance must be running, whether the caller needs a specific IAM permission, or what happens to configuration values that are not listed. For a mutation tool with no annotation coverage, that is a major 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 description is a single short sentence with no filler, so it does not waste words. However, it is concise by omission rather than by design, and it leaves out behavior that the reader needs. There is also little evidence of front-loading structure, because there is only one line.

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 tool performs a mutation and accepts a nested configuration array, yet it has no annotations, no output schema, and a description that is only four characters long in Chinese. Given that complexity, the description does not say enough for an agent to call the tool safely or predict the response.

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 input schema already documents project_id, instance_id, and the nested kafka_configs list with its name/value pairs. The description adds no extra meaning on top of the schema, such as format constraints, units, or examples of valid parameter names. When the schema carries the full parameter documentation, a baseline score of 3 is appropriate.

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 '修改实例配置' states a specific verb (modify) and resource (instance configurations), so an agent can understand what kind of operation it is. However, it does not specify what aspects it modifies or what its scope is: it does not say whether it changes Kafka engine parameters, and it does not distinguish the tool from sibling tools such as kafka__ShowInstanceConfigs (the read counterpart) or kafka__UpdateInstance. The purpose stays vague instead of differentiated from those siblings.

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?

The description provides no guidance on when to use this tool, when not to, or which alternatives exist. Specifically, it never makes clear that this tool is the write counterpart to kafka__ShowInstanceConfigs, and it does not say that an agent should first read the existing configuration. The only clue is the tool's 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