Skip to main content
Glama

codeartsinspector__CreateTasks

Creates and starts a website vulnerability scan task for a specified project, with an option to upgrade the scan to the professional edition.

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

Input Schema

NameRequiredDescriptionDefault
upgradeNo是否将本次扫描升级为专业版规格(¥99.00/次)
project_idYes用户的project_id,获取方法请参见[获取项目ID](https://support.huaweicloud.com/api-vss/vss_api_04_019.html)。

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, the description carries the full behavioral burden, and it meets only part of it by stating that the scan is started immediately (并启动). It says nothing about permissions, whether the operation is billable when upgrade=true, whether the scan is asynchronous, or what identifier is returned for later ShowTasks/ListTaskHistories calls.

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 front-loaded clause with zero filler; the creation and immediate-start actions are stated together. Brevity is efficient but leaves the agent with no structure for preconditions or follow-up.

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 mutation tool with no annotations, no output schema, and a paid optional parameter, the definition is too thin. It does not explain prerequisites, cost implications, or how to track the created task's progress, all of which an agent needs before invoking it.

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 both parameters carry their own documentation, including the ¥99.00 professional-tier price for upgrade, so the baseline of 3 applies. The description adds nothing beyond the schema about project_id or the paid upgrade option.

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 gives a specific verb+resource: 创建网站漏洞扫描任务并启动 ('create a website vulnerability scan task and start it'), which is far more than a restatement of the name CreateTasks. The word 网站 (website) implicitly separates it from host-oriented siblings like BatchStartHostTasks and BatchCreateHosts, though no sibling is named explicitly.

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: nothing says a domain must first be authorized (an AuthorizeDomains sibling exists) or how this differs from starting existing tasks. An agent must infer preconditions and alternatives entirely on its own.

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