Skip to main content
Glama

projectman__DownloadAttachment

Downloads a work item attachment from Huawei Cloud ProjectMan using the attachment ID, issue ID, and project ID so you can retrieve files linked to a specific project issue.

Instructions

[PROJECTMAN] 下载工作项附件

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": {
      "attachment_id": "<attachment_id>",
      "issue_id": "<issue_id>",
      "project_id": "<project_id>"
    },
    "name": "projectman__DownloadAttachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
issue_idYes工作项id
project_idYesdevcloud项目的32位id
attachment_idYes附件id

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?

With no annotations, the description carries the full behavioral burden and discloses almost nothing: it does not say whether the call returns binary content, a temporary URL, or a redirect, nor whether read permissions on the project are required. Only the bare fact that it is a download is conveyed.

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 phrase with no filler, and the verb is front-loaded. It is as concise as possible, though the extreme brevity is partly why behavioral detail is absent.

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 tool is a simple three-parameter read with fully documented parameters, so little narrative is needed. Still, with no annotations and no output schema, the caller is left unsure what the response payload looks like or how the file is delivered.

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%; all three path parameters (attachment_id, issue_id, project_id) are documented in the schema itself, including the 32-character project id pattern. The description adds no meaning beyond that, so the baseline of 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 gives a specific verb+resource ("下载工作项附件" / download work-item attachment) that clearly identifies the operation. It does not, however, distinguish this tool from nearby download siblings such as projectman__DownloadImageFile.

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 description implies the use case—retrieving an attachment belonging to a work item—but never states when to choose this over DownloadImageFile or DeleteAttachment, nor any preconditions. Usage must be inferred from the tool name and parameters 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