Skip to main content
Glama

Add PingCode Work Item Comment

pingcode_add_work_item_comment

Add comments to PingCode defects and requirements by work item ID or identifier. Use dryRun to preview before actually posting.

Instructions

按编号或工作项 ID 给 PingCode 缺陷/需求追加评论。默认 dryRun=true。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo工作项类型,默认 bug。bug
dryRunNo默认 true,仅返回计划;传 false 才真正写评论。
contentYes评论内容,支持 PingCode 评论富文本/文本内容。
projectIdNo
identifierNo工作项编号,如 PROJ-505。
workItemIdNoPingCode 工作项内部 ID。
projectIdentifierNo
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must convey behavioral traits. It discloses the dryRun default and its effect (return plan vs. actual write). It does not mention authentication requirements, idempotency, error behavior, or rate limits. The description adds minimal value beyond the schema, which already describes dryRun in detail.

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

Conciseness5/5

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

The description is a single sentence that conveys the core purpose and a key behavioral note (dryRun default). It is extremely concise with no extraneous content.

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?

Given 7 parameters, no output schema, and no annotations, the description is somewhat thin. It covers the main action and the important dryRun behavior but lacks information about return values, prerequisites (e.g., authentication), and error handling. It is adequate but not comprehensive.

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 71% (5 of 7 parameters have descriptions). The description adds that the tool works 'by number or work item ID', which summarizes the identifier and workItemId parameters but does not provide new information beyond the schema. The missing parameter descriptions (projectId, projectIdentifier) are not addressed. Thus, marginal added value.

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

Purpose5/5

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

The description clearly states that the tool adds comments to PingCode bugs or requirements using either a number or work item ID. It differentiates from sibling tools like pingcode_get_work_item or pingcode_create_work_item by specifying the exact action (adding a comment) and the target types (bugs/requirements).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly mentions the default dryRun=true, indicating that by default no comment is actually added, guiding the agent to set dryRun=false for actual writes. However, it does not explicitly state when not to use this tool or mention alternatives like pingcode_list_work_item_comments for reading.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/frontendRicky/pingcode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server