Skip to main content
Glama

kafka__ShowKafkaTopicQuota

Retrieve topic-level flow control quotas for a Kafka instance by project and instance ID. Use pagination and keyword filters to review throttling limits.

Instructions

[KAFKA] 该接口用于查询topic级别的流控任务。

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

Input Schema

NameRequiredDescriptionDefault
typeNo查询类型,默认为topic。topic
limitNo每一页显示的流控数量。
offsetNo页数。
keywordNo查询关键字。
project_idYes项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。
instance_idYes实例ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/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. It implies a read ('查询') but says nothing about permissions/authentication needed, whether results are paginated by default, what happens with an empty or nonexistent topic keyword, or whether it returns an empty set versus an error.

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?

A single short sentence with the service tag front-loaded and zero filler. It is efficient, though it is terse to the point of leaving out anything an agent could act on beyond the schema.

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

Completeness4/5

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

This is a read-only list query with 100% schema coverage. Even so, it never states that the result is a collection of quota entries subject to limit/offset paging, nor any error behavior — small but real gaps for an agent deciding how to page through results.

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 (type, limit, offset, keyword, project_id, instance_id) are already documented in the schema. The description adds no extra semantics such as default page size, keyword matching rules, or offset/limit interaction, so the baseline of 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?

States a specific verb (查询/query) and a specific resource (topic-level flow-control tasks/quotas), plus the [KAFKA] service tag. The 'topic级别' qualifier implicitly separates it from the sibling ShowKafkaUserClientQuota, though no sibling is named and the object returned (quotas vs. tasks) is slightly ambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the resource scope: an agent can infer this is the read path for inspecting topic-level quotas, complementing CreateKafkaTopicQuota / ModifyKafkaTopicQuota / DeleteKafkaTopicQuota. There is no explicit when-to-use, no prerequisites (e.g. that instance_id/project_id must reference an existing Kafka instance), and no stated exclusions.

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