Skip to main content
Glama

drs__ListJobs

Retrieve and filter Huawei Cloud DRS tasks by project, engine type, network, status, name, or ID to monitor migration, sync, and cloudDataGuard jobs.

Instructions

[DRS] 查询租户任务列表,可以根据企业项目,引擎类型,网络类型,任务状态,任务名称,任务ID进行查询。

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_type": "<job_type>",
      "project_id": "<project_id>"
    },
    "name": "drs__ListJobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo任务ID或名称。
limitNo查询返回记录的数量限制。
offsetNo偏移量,表示查询该偏移量后面的记录。
statusNo任务状态。取值:
job_typeYes任务场景。取值:
net_typeNo网络类型。取值:
sort_dirNo降序或升序(分别对应desc和asc,默认为“desc”)。
sort_keyNo返回结果按该关键字排序,默认为“create_time”。
project_idYes租户在某一Region下的Project ID。
engine_typeNo引擎类型。取值:
instance_ipNo数据库实例IP
instance_idsNo数据库实例ID列表,最多支持10个
enterprise_project_idNo企业项目ID。 缺省值:"",表示查询所有企业项目任务。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral load; it does establish that this is a read-only tenant-scoped query rather than a mutation. It says nothing about pagination behavior, default sort (create_time/desc, documented only in schema), result caps, or what happens when filters are omitted, leaving meaningful gaps for a 13-parameter tool.

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

Conciseness5/5

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

A single front-loaded sentence with the [DRS] prefix and the resource first, followed by the enumeration of filters. No redundant or filler wording.

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?

With 13 parameters, no annotations, and no output schema, the description should at least mention the required inputs and pagination/sorting behavior. It covers the filter surface adequately but leaves the agent to discover mandatory fields and result-shaping controls from the schema alone.

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 schema already documents every parameter including enums and defaults; baseline 3 applies. The description restates six of the filter fields but omits the two required parameters (job_type, project_id) and the sort/pagination controls, so it adds no meaning beyond structured data.

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 (查询租户任务列表 = list tenant jobs) and enumerates the filter axes, so an agent immediately knows this is a filtered list operation. It never names or contrasts with close siblings such as drs__ListAsyncJobs or drs__BatchListJobDetails, so the operation is clear but not differentiated.

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?

Listing the queryable dimensions (enterprise project, engine type, network type, status, name, job ID) implies when the tool is useful. However, it gives no exclusion rules, no guidance on when to prefer a sibling job-listing tool, and no statement that job_type and project_id are mandatory.

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