Skip to main content
Glama

kafka__EnableDns

Enables domain-name access for a Kafka instance so clients can connect using a domain name instead of IP addresses. Use it to set up DNS-based connectivity for an instance.

Instructions

[KAFKA] 开启Kafka实例域名访问后,客户端可以通过域名连接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__EnableDns"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。
instance_idYes实例ID,从[查询所有实例列表](ListInstancesDetails.xml)获取实例ID。

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 provided, so the description carries the full burden. It discloses the benefit, that clients can connect via the domain name, but does not say whether enabling is reversible, whether it can be disabled again, whether a restart or downtime is involved, whether any permissions are required, or whether the operation has costs. For a configuration-mutating tool, that is a substantial gap.

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?

It consists of one compact sentence with no filler, and it front-loads the action and its effect. It could have been slightly tighter, but nothing is wasted.

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

Completeness3/5

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

For a simple two-parameter toggle with full schema documentation and no output schema, the description covers the purpose adequately. It is nonetheless thin on the behavioral side, because it says nothing about how the enable works or whether it can be undone, leaving the agent to infer everything beyond the basic effect.

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?

Both required parameters, instance_id and project_id, are fully documented in the schema, with links to the endpoints that return them, so the description does not need to duplicate that. The description adds no parameter-level meaning, which is acceptable at 100% schema description coverage.

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?

The description names a specific verb and resource: enabling domain-name access (域名访问) for a Kafka instance, and explains the resulting capability, that clients can connect via domain name. The [KAFKA] prefix and the mention of Kafka instance distinguish it from similarly named EnableDns siblings, though it does not explicitly distinguish them in prose.

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?

It states what the tool does but not when to use it instead of alternatives, nor any prerequisites, such as whether the instance must be running, whether it needs a public or private network, or whether the operation must be undone. The only implied usage is the outcome of enabling domain access.

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