Skip to main content
Glama

kafka__UpdateInstanceCrossVpcIp

Updates the internal IP addresses used for cross-VPC access on a Kafka instance by applying custom advertised IP mappings for the specified project and instance.

Instructions

[KAFKA] 修改实例跨VPC访问的内网IP。

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。
instance_idYes实例ID。
advertised_ip_contentsYes用户自定义的advertised_ip_contents键值对。

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 behavioral burden. It is a mutation of network addressing, yet it says nothing about required permissions, whether the change disrupts existing connections, whether it is reversible, or whether the instance must be restarted; for a connectivity-affecting write this is a substantial omission.

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?

One short, front-loaded sentence with a bracketed product tag and no filler. It is efficient, though its brevity is close to under-specification rather than disciplined conciseness.

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 a three-parameter mutation with a nested object, no annotations, and no output schema, the definition is too thin. An agent cannot determine side effects, expected return, or failure modes from this sentence, which is the minimum needed to call it safely.

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 three parameters are documented in the schema, including the advertised_ip_contents map and the project/instance IDs. The description's mention of 内网IP loosely maps to that map but adds no format, size, or key/value semantics beyond what the schema already states; 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?

A concrete verb+resource statement: modify the instance's intranet IP used for cross-VPC access. It tells an agent what changes, but does not differentiate itself from near-neighbours such as kafka__UpdateInstance or aad__UpdateInstanceIpRule, so the agent cannot rule out a wrong pick from the description alone.

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?

No when-to-use context, no prerequisites, no alternatives named. The only implied guidance is that the operation concerns cross-VPC access, leaving the agent to guess whether this is for adding, replacing, or repairing an advertised IP.

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