Skip to main content
Glama

kafka__ListMessageDiagnosisReports

Lists message backlog diagnosis reports for a Kafka instance so you can review accumulated-message issues and track diagnosis results.

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

Input Schema

NameRequiredDescriptionDefault
limitNo查询返回记录的数量限制
offsetNo偏移量,表示查询该偏移量后面的记录
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

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, and it discloses almost nothing: no statement that it is a read-only, non-destructive listing, no pagination semantics beyond the schema defaults, no permission or error behavior. The only behavioral hint is the word 'list' in the title text.

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 phrase with zero padding, front-loaded with the [KAFKA] domain tag and the core action. It is efficient, though the brevity borders on under-specification rather than tight writing.

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?

The tool is simple (4 flat params, no nested objects, no output schema) and the schema fully documents inputs, so the description is minimally adequate. However, with no output schema and no annotation, an agent still cannot tell what a report entry contains or how to use the result to fetch a specific report.

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%, with limit, offset, project_id and instance_id all documented in the schema itself, so the baseline of 3 applies. The description adds no extra meaning about how instance_id scopes results or how limit/offset interact with report volume.

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 gives a concrete verb+resource: querying the list of message-backlog diagnosis reports, scoped to Kafka via the [KAFKA] tag. It reads as a listing operation, implicitly distinct from the singular ShowMessageDiagnosisReport sibling, but it never states that distinction explicitly.

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 at all: nothing says to call this before ShowMessageDiagnosisReport to obtain a report ID, nor how it relates to CreateMessageDiagnosisTask or BatchDeleteMessageDiagnosisReports. The agent must infer the list-then-detail workflow from sibling names alone.

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