Skip to main content
Glama

kafka__ShowBackgroundTask

Retrieves details for a specified Kafka background task record by instance, project, and task ID, helping you inspect task status and troubleshoot asynchronous operations.

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>",
      "task_id": "<task_id>"
    },
    "name": "kafka__ShowBackgroundTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes任务ID。
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.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description must carry the full burden of behavioral disclosure. It says only that it queries a record; it does not say whether the call is a pure read, whether it fails for missing/deleted tasks, what permissions are needed, or what the response contains.

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 front-loaded sentence with a [KAFKA] product tag and zero filler. It is efficient, though its brevity is partly the same under-specification penalized in other dimensions.

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 three-parameter read tool with full schema coverage and no output schema, the definition is minimally adequate: the schema carries the parameter detail, but with no annotations and no statement of return or failure behavior, an agent still lacks how the result will look.

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%, and all three path parameters (instance_id, project_id, task_id) are already documented in the schema, including a pointer to how to obtain the project ID. The description adds no meaning beyond that, 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?

The description states a specific verb (查询/query) and a specific resource (后台任务管理中的记录), and '指定记录' (the specified record) signals single-record retrieval, which distinguishes it from the kafka__ListBackgroundTasks sibling. It does not name that sibling explicitly, so it falls 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 Guidelines3/5

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

Usage is only implied: an agent can infer it should call this when it already has a task_id for one background task. No when-to-use/when-not conditions or prerequisites (e.g., prefer ListBackgroundTasks when the task_id is unknown) are stated.

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