Skip to main content
Glama

codeartsinspector__DownloadTaskReport

Download the PDF report for a CodeArts Inspector website scan task using the required project ID and task ID.

Instructions

[CODEARTSINSPECTOR] 下载网站扫描任务PDF报告

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

Input Schema

NameRequiredDescriptionDefault
task_idYes任务ID
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?

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses almost nothing beyond the label. It does not say whether the report must be pre-generated, whether the call is read-only or has side effects, what format the response takes (binary PDF stream vs. a link), or any auth/quota constraints.

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?

The definition is a single front-loaded phrase with zero filler, which is efficient. However, the brevity is partly under-specification rather than disciplined concision, since essential call prerequisites are omitted.

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?

With no annotations, no output schema, and a download-style tool whose return value is a binary/file artifact, the description should at minimum state the prerequisite (generate/verify the report first) and the shape of the result. Instead it repeats only the tool's title-level purpose, leaving the agent to guess at ordering and output handling.

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 coverage is 100%: both task_id and project_id are documented in the schema, including a link for obtaining the project ID. The description adds no parameter meaning beyond identifying the tool's domain (a scan task's PDF report), so the baseline 3 applies.

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 (下载/download) and a specific resource (网站扫描任务PDF报告 / website scan task PDF report), so the agent knows exactly what the tool produces. It does not name or distinguish itself from siblings such as ExecuteGenerateReport or ShowReportStatus, which is why it stops short of a 5.

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 explicit guidance on when to call this versus generating a report (ExecuteGenerateReport) or checking status (ShowReportStatus). The only implied condition — that a scan task and presumably a generated report must already exist — is left entirely to inference.

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