Skip to main content
Glama

projectman__UploadAttachments

Uploads attachments to a specified work item in a Huawei Cloud ProjectMan project, linking files to the issue for tracking and retrieval.

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

Input Schema

NameRequiredDescriptionDefault
issue_idYes工作项id
project_idYes项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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. It states only that an upload happens, saying nothing about the file payload source, size or type limits, required permissions, overwrite behavior, or what is returned — all of which matter for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded phrase with zero waste, but it is under-specified rather than appropriately concise for a mutation tool with no annotations. Brevity here costs more than it saves.

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 write tool with no annotations, no output schema, and an input schema that exposes only path identifiers, the description leaves the agent without enough to call it correctly — particularly how the file content is transmitted and what a successful upload returns.

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 are documented in-schema, so the baseline is 3. The description adds no meaning beyond the schema, notably omitting how the actual attachment content is supplied when only issue_id and project_id appear as parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase '上传工作项附件' (upload work item attachment) names a specific verb and resource, so the basic action is identifiable. However, it gives no differentiation from the sibling projectman__UploadIssueImg, which is another upload tool in the same namespace, so an agent cannot tell which upload path applies to which payload.

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, no prerequisites, and no mention of the closest alternative (UploadIssueImg). The agent must infer entirely from the name and schema whether this is the right tool for a given attachment upload.

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