Skip to main content
Glama

drs__BatchRestoreTask

Resubmits failed DRS migration tasks in batch to retry after uncertain failures; optionally starts jobs after re-editing, using a project ID.

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": {
      "jobs": "<jobs>",
      "project_id": "<project_id>"
    },
    "name": "drs__BatchRestoreTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobsYes批量续传任务请求列表
project_idYes租户在某一region下的project ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/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, and it discloses very little. It does not say whether the retry resumes from the failure point or restarts the job, what happens to jobs that were not failed, whether required permissions differ from creating a job, or whether the operation is idempotent/repeatable.

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 no filler; the precondition comes before the action. It is efficient, though the brevity comes at the cost of the behavioral detail noted above.

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 parameterized batch mutation with no annotations and no output schema, one sentence is thin. It omits batch cardinality (the jobs list), the re-edit/sync flag's meaning, effects on non-failed jobs, and any indication of what is returned, leaving the agent to infer behavior 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 both the jobs array, job_id, is_sync_re_edit and project_id are already documented in the schema. The description adds no meaning beyond that — notably it never explains that multiple failed jobs can be resubmitted in one call, nor what is_sync_re_edit implies for behavior.

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 names a concrete action (retry/resubmit a migration task) and its triggering situation (task failed during migration), which is more than a restatement of the name. It does not distinguish this from near-siblings such as drs__BatchStartJobs or drs__BatchExecuteJobActions, and the name 'BatchRestoreTask' implies a restore/rollback that the text never mentions, so the batch framing is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

There is an explicit trigger condition: use it when a migration task has failed due to unexpected factors. What is missing is the negative case and any routing to alternatives (e.g. when to create a fresh job instead of retrying, or when to use drs__BatchStartJobs).

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