Skip to main content
Glama

drs__BatchStopJobsAction

Stops multiple specified DRS jobs by job ID in a tenant project, optionally forcing termination when jobs cannot stop normally.

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__BatchStopJobsAction"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure, and it says nothing about irreversibility, required permissions, partial-failure behavior across the batch, or what happens to a job already stopped. The one behavioral nuance that exists (force stop) is disclosed only in the schema, not the description.

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 short sentence with the bracketed service prefix, verb, and scope front-loaded; there is no filler. Its brevity is efficient even though it leaves gaps better captured under completeness.

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 destructive batch mutation with no annotations and no output schema, the definition is too thin: it does not say what is returned, whether stopping is reversible, or how failures on individual job IDs are handled. The full schema coverage on parameters helps, but the behavioral side is largely unaddressed.

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 job_id, is_force_stop, and project_id are already documented, and the baseline of 3 applies. The description adds nothing about batch size limits, duplicate IDs, or how project_id scopes the operation beyond what the schema states.

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 (batch terminate jobs) and narrows scope to the tenant's specified job IDs, which is clear enough to distinguish it from a single-job variant implied by the 'batch' qualifier. It stops short of naming any sibling such as drs__StopJobAction, so the differentiation is inferred rather than stated.

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 guidance on when to use this tool versus drs__StopJobAction or the other batch job tools (delete, start, check). No preconditions, no mention of what state a job must be in before it can be stopped, and no exclusions are given.

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