Skip to main content
Glama

kafka__BatchDeleteMessageDiagnosisReports

Deletes multiple Kafka message backlog diagnosis reports in one request by specifying the instance, project, and report ID list, helping clean up outdated diagnostic records.

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>",
      "report_id_list": "<report_id_list>"
    },
    "name": "kafka__BatchDeleteMessageDiagnosisReports"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。
instance_idYes实例ID
report_id_listYes待删除report 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 behavioral burden for a destructive batch operation, yet it says nothing about irreversibility, permission requirements, batch-size limits, or partial-failure behavior when some report IDs are invalid. Only the word 'delete' signals mutation.

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 bracketed tag plus a short phrase, front-loaded with the service name and the action. Nothing is wasted, though the extreme brevity is more a symptom of under-specification than of tight editing.

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 3-parameter mutation tool with no annotations and no output schema, the definition is minimal but the schema itself is fully documented, so an agent can construct a call. It remains incomplete on safety and failure semantics that a delete tool should disclose.

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 project_id, instance_id, and report_id_list all documented in the schema, so the baseline is 3. The description adds no extra meaning such as caps on list length or accepted ID formats beyond what the schema already states.

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 specific verb and resource in Chinese — batch delete of message backlog diagnosis reports — which is clearly distinguishable from single-report operations like ShowMessageDiagnosisReport. It does not explicitly name a sibling to contrast with, so it stops short of a 5.

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 guidance on when to use this versus listing (ListMessageDiagnosisReports) or showing (ShowMessageDiagnosisReport) a report first, nor any prerequisite such as confirming reports are stale. Usage is only implied by the verb 'delete'.

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