Skip to main content
Glama

drs__BatchExecuteJobActions

Execute batch actions on specified Data Replication Service jobs, such as start, stop, restart, reset, or terminate, for tenant-managed migration and synchronization tasks.

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

Input Schema

NameRequiredDescriptionDefault
jobsYes批量操作任务请求体。
project_idYes租户在某一Region下的Project ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden, yet it discloses nothing behavioral. It does not mention that this is a mutating batch operation, that the action set includes destructive/irreversible ones (terminate, reset, restart, stop), that per-action parameters must be supplied via action_params, or anything about permissions and side effects.

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?

It is a single short sentence with no padding, but that brevity reflects under-specification rather than editing discipline. Nothing is front-loaded beyond a gloss of the tool name, so concision is not buying the agent any information.

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

Completeness1/5

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

The tool takes a deeply nested request body with ~20 action types and action-specific parameter shapes, has no annotations and no output schema. One generic sentence cannot make an agent confident about invoking a batch mutation tool of this complexity; the description omits nearly everything an agent needs beyond the raw schema.

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% and the nested schema already documents jobs/job_id/action_name/action_params in detail, so baseline 3 applies. The description adds no interpretation of its own — it does not explain the multi-task master_job_id convention or that action_params must be shaped according to the chosen action_name, both of which are only hinted at inside the schema.

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

Purpose2/5

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

"批量操作租户指定ID任务" restates the tool name (BatchExecuteJobActions) in generic terms: it says batch operations on tenant-owned jobs but never names what an 'operation' is (start/stop/restart/terminate/compare/etc., which only appear in the schema enum). It also makes no attempt to distinguish itself from the sibling drs__ExecuteJobAction, which is presumably the single-job variant.

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?

The word "批量" weakly implies 'use when you have multiple jobs', but there is no explicit guidance on when to prefer this over drs__ExecuteJobAction, no prerequisites (e.g. precheck, job state requirements), and no exclusions. An agent must infer the single-vs-batch split entirely from the names.

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