Skip to main content
Glama

drs__ExecuteJobAction

Execute lifecycle and maintenance actions on a specified Huawei Cloud replication job, including start, stop, restart, precheck, comparison, and repair operations.

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": "<job>",
      "job_id": "<job_id>",
      "project_id": "<project_id>"
    },
    "name": "drs__ExecuteJobAction"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYes操作单个任务。
job_idYes任务ID (对比任务相关操作,多任务场景传父任务详情返回的master_job_id)
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 behavioral burden, but it discloses nothing about permissions, destructive actions like terminate/reset, idempotency, asynchronous behavior, or what happens to a running task. For a mutation tool exposing actions such as stop, reset, and terminate, this is a serious gap.

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

Conciseness2/5

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

It is a single short sentence with no wasted words, but it is under-specified rather than appropriately concise for a tool with a large enum of actions and deeply nested parameters. The brevity leaves the agent without the context needed to use it correctly.

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 has a very complex nested schema and no annotations or output schema, so the description needs to carry substantial context. Instead it provides only a generic one-line statement, leaving action selection, destructive semantics, and usage conditions entirely unexplained.

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 job, job_id, project_id, action_name, and the large nested action_params structure. The description adds no extra meaning, but a baseline 3 is appropriate because the schema does the heavy lifting.

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?

The description says only '操作租户指定ID任务' ('operate the tenant's specified-ID task'), which largely restates the tool name ExecuteJobAction. It does not explain that this is a generic action executor whose concrete operation is selected by action_name, nor how it differs from siblings such as StopJobAction or BatchExecuteJobActions.

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?

There is no when-to-use guidance, no when-not-to-use guidance, and no routing to alternatives. The only implied usage is 'operate a task', which is too generic to help an agent choose this tool over the many sibling job-action tools.

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