Skip to main content
Glama

drs__ListJobDdls

Retrieves incremental DDL records for a Huawei Cloud DRS job and filters them by alert status, so you can review schema changes and identify warnings.

Instructions

[DRS] 查询增量DDL列表,可根据status查询

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

Input Schema

NameRequiredDescriptionDefault
limitNo查询返回记录的数量限制.默认值为10。
job_idYes任务ID。
offsetNo偏移量,默认值为0,表示查询该偏移量后面的记录。
statusNoDDL状态,0为无告警,1为告警中。
end_seq_noNoDDL序列结束值。
project_idYes租户在某一Region下的Project ID。 获取方法请参见[获取项目ID。](https://support.huaweicloud.com/api-drs/drs_api_0106.html)
start_seq_noNoDDL序列起始值。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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. It implies a read-only list operation and nothing more: no statement about pagination behavior, ordering, permission requirements, or what a DDL entry contains, all of which an agent would need.

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 clause with no filler; it is efficient and immediately readable. It is arguably too terse rather than padded.

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?

For a 7-parameter tool with no annotations and no output schema, the description does far too little. It never explains the return shape of the DDL list, how start_seq_no/end_seq_no interact, or pagination semantics, leaving the agent to infer behavior entirely.

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 every parameter (including status enum, seq_no range, limit/offset) is already documented in the schema. The description's mention of status filtering merely restates the schema and adds no new meaning.

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 uses a clear verb+resource pair ('查询增量DDL列表'), which is specific enough that an agent can tell it apart from the many job/parameter/compare siblings. It does not, however, name any sibling or state its distinct scope explicitly.

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?

'可根据status查询' hints at one usable filter, so usage is implied rather than stated. There is no guidance on when to prefer this over ListJobParameters or other list siblings, and no prerequisites or 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