Skip to main content
Glama

drs__ShowJobList

Queries paginated DRS tenant job lists by engine type, network type, status, name, or ID to locate and inspect migration, sync, or disaster recovery 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": {
      "cur_page": "<cur_page>",
      "db_use_type": "<db_use_type>",
      "per_page": "<per_page>",
      "project_id": "<project_id>"
    },
    "name": "drs__ShowJobList"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName或ID。支持传入多个任务ID,逗号分隔,最多100个。
tagsNo标签
statusNo任务状态。
cur_pageYes第几页
net_typeNo网络类型
per_pageYes每页记录数
project_idYes租户在某一region下的project ID。
db_use_typeYes迁移场景,migration:实时迁移,sync:实时同步,cloudDataGuard:实时灾备
engine_typeNo引擎类型,mysql:迁移,同步使用。mongodb:迁移使用。cloudDataGuard-mysql:灾备使用。
instance_ipNoDRS绑定数据库实例IP
instance_idsNo数据库实例ID列表,最多支持10个
service_nameNo开启EPS时使用,值为eps
enterprise_project_idNo企业项目

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/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 behavioral disclosure alone. It does establish that this is a read/list operation with multi-field filtering, but says nothing about pagination defaults, ordering, whether DELETED or already-released jobs appear, or permission requirements for the tenant/project scope. That leaves meaningful gaps for a read API with 13 parameters.

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 compact sentence, front-loaded with the verb and resource followed by the filterable dimensions. The '[DRS]' prefix and the trailing clause are slightly redundant with the schema, but nothing else is wasted.

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 13-parameter, 4-required-parameter list tool with no output schema and no annotations, the description is minimal. It is enough to identify the operation, but it does not cover pagination requirements, tenant/project scoping, or result set behavior that an agent would need to call it correctly on the first attempt.

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 enum meanings, so a baseline 3 is warranted. The description only restates five filter dimensions and adds no format, combinability, or pagination semantics beyond what the schema provides.

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 resource (租户任务列表 — tenant job list), and the paged-list framing distinguishes it conceptually from detail-oriented siblings like drs__ShowJobDetail. It stops short of explicitly naming a sibling for disambiguation, so it lands at a clear 4 rather than 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?

It enumerates the five filter dimensions the caller can use (engine type, network type, status, name, job ID), which implies when this tool applies. However, it gives no explicit when-not guidance, no mention of when to prefer ShowJobDetail vs. this list tool, and no prerequisites such as the required project_id scope.

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