Skip to main content
Glama

drs__BatchSetSpeed

Sets speed limits for multiple DRS migration or disaster recovery tasks in a batch, using per-task time windows and MB/s caps to control bandwidth after task creation.

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": {
      "project_id": "<project_id>",
      "speed_limits": "<speed_limits>"
    },
    "name": "drs__BatchSetSpeed"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一region下的project ID。
speed_limitsYes灾备限速设置信息

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 disclosure burden. It reveals only that limits default to unlimited after task creation; it does not say whether a call replaces all previously configured speed windows, whether it requires admin or tenant-level permission, whether the change takes effect immediately on in-flight tasks, or what is returned. For a mutation tool with zero annotation coverage this is a significant gap.

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?

Two short sentences, front-loaded with the operation and followed by the relevant default-state note. Nothing is wasted, though the brevity leaves the behavioral gaps noted above.

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?

The nested request body is thoroughly documented in the schema, so an agent can construct a valid call. However, with no annotations and no output schema, the description should say more about mutation side effects (overwrite vs. append semantics, effective timing) than a single default-state note.

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 project_id, job_id, the begin/end UTC window format, and the 1~9999 MB/s range in detail. The description adds no meaning beyond that, so the baseline of 3 applies when the schema does all the work.

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 and resource in the Chinese text: batch-setting ('批量设置') the speed limit of tasks ('任务限速'), scoped to the DRS service by the tag. It does not name or distinguish itself from similar batch-setting siblings such as drs__BatchSetPolicy or drs__BatchSetDefiner, but the operation itself is unambiguous.

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?

The clause '任务创建成功后默认不限速' implies the tool is only needed when a user wants to impose a restriction, since unlimited is the default state. There is no explicit when-to-use/when-not-to-use guidance, no prerequisites (e.g. task must exist and be in a given state), and no routing to alternatives.

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