Skip to main content
Glama

codeartsinspector__BatchStartHostTasks

Batch start or cancel vulnerability scan tasks for selected hosts by providing the project ID, host IDs, and desired action. Use it to manage host scanning status in CodeArts Inspector.

Instructions

[CODEARTSINSPECTOR] 批量启动或取消主机漏洞扫描任务

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>"
    },
    "name": "codeartsinspector__BatchStartHostTasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostsNo主机ID列表
actionNo对扫描任务的操作:
project_idYes用户的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?

No annotations are supplied, so the description carries the full behavioral burden, yet it only says the tool batch-starts or cancels scans. It does not state whether cancelling is reversible, what happens to in-progress scans, what permissions are needed, or what a partial failure across up to 100 hosts looks like.

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 no filler, and the operation is front-loaded after the product tag. It could have used its brevity budget to add one sentence of guidance rather than none at all.

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?

For a three-parameter mutation tool with no annotations and no output schema, the definition is minimally adequate: the schema covers the parameters well, but the description leaves the effect of start versus cancel on existing tasks, and the result of the batch operation, 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 the host ID list, the start/cancel enum, and project_id. The description reinforces that hosts and a start-vs-cancel choice are involved but adds no format, ordering, or per-host error semantics beyond the schema.

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 pair (batch start or cancel) and resource (host vulnerability scan tasks), which is enough to identify the operation. It does not distinguish this from the sibling codeartsinspector__CancelTasks, which presumably handles task cancellation in a different shape or scope.

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?

No when-to-use or when-not-to-use guidance is given, and no alternative is named. The agent must infer whether this is preferable to codeartsinspector__CancelTasks or codeartsinspector__CreateTasks from the tool names alone.

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