Skip to main content
Glama

drs__ShowJobDetail

Retrieve detailed status and diagnostics for a Huawei Cloud DRS migration or synchronization task, including progress, prechecks, logs, comparisons, and repair information.

Instructions

[DRS] 查询任务详情。

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": {
      "job_id": "<job_id>",
      "project_id": "<project_id>",
      "type": "<type>"
    },
    "name": "drs__ShowJobDetail"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes任务详情类型。取值:
limitNo查询返回记录的数量限制。
job_idYes任务ID。
offsetNo偏移量,表示查询该偏移量后面的记录。
query_idNo通过指定Query ID查询任务详情。
project_idYes租户在某一Region下的Project ID。
query_typeNo查询对比内容。取值:
object_typeNo查询对象对比详情类型。取值:
compare_typeNo对比任务类型
source_db_nameNo数据对比源库名称。
target_db_nameNo数据对比目标库名称。
compare_task_idNo对比任务ID。
compare_detail_typeNo对比结果类型。取值:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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, yet it only says the tool "queries." It does not state that the operation is read-only and side-effect free, what permissions are needed, how the many optional filters interact, or what happens when an incompatible combination of `type` and secondary params is passed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no filler and the service prefix front-loaded, so nothing is wasted. However, for a tool with 13 parameters and 15 mutually exclusive detail types, this is under-specification rather than genuine conciseness.

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

Completeness2/5

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

Given 13 parameters, 5 enums, no annotations, and no output schema, a one-line description is far too thin. The agent has no way to know what each `type` value returns or which optional parameters are relevant to which type, which is the central complexity of this tool.

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 the baseline is 3 even though the description says nothing about any of the 13 parameters. Notably, the schema's own `type` description is truncated ("取值:" with no values listed), and the description does not compensate by explaining which of the 15 detail types require query_id, compare_task_id, or the source/target db names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"查询任务详情" states a verb (query) and resource (job detail), but it is essentially a translation of the tool name ShowJobDetail and gives no hint of the 15 distinct detail kinds (network, precheck, log, compare, diagnosis, repair_progress...) the `type` parameter selects among. It also does nothing to separate this from siblings such as drs__ShowReplicationJob or drs__ListAsyncJobDetail.

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: no indication of which situations call for this tool versus the many sibling list/detail tools, and no prerequisites such as needing an existing job_id or project_id. The agent must infer everything from the schema 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