Skip to main content
Glama

Link PingCode Work Items

pingcode_link_work_items

Link two work items with a specified relationship type like blocking, duplication, or dependency. Use dry run to preview changes before applying.

Instructions

在两个工作项间建立关系(阻塞/被阻塞/重复/关联/依赖等)。relationType 支持系统枚举或自定义关系类型名/ID。默认 dryRun=true,仅返回计划。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo源工作项类型,默认 bug。bug
dryRunNo默认 true,仅返回建立关系计划;传 false 才真正创建。
projectIdNoPingCode 项目 ID,提供后跳过项目标识查询。
identifierNo工作项编号,如 PROJ-455。
workItemIdNoPingCode 工作项内部 ID,提供后优先于 identifier。
relationTypeYes关系类型。系统枚举:block/blocked_by/relate/duplicate/cause/caused_by/clone/cloned_by/dependency/mention(block=源阻塞目标、blocked_by=源被目标阻塞);也可传自定义关系类型名/ID。
targetIdentifierNo目标工作项编号,如 PROJ-456。
targetWorkItemIdNo目标工作项内部 ID,提供后优先于 targetIdentifier。
projectIdentifierNoPingCode 项目标识,默认读取 PINGCODE_PROJECT_IDENTIFIER。
Behavior3/5

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

Given no annotations, description carries full burden. It discloses the dryRun default behavior and that relationType can be custom. However, it omits side effects, error handling, permission requirements, or what happens if the relationship already exists.

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?

Extremely concise: two sentences front-load the core action. Every sentence adds meaningful information with no redundancy or fluff.

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?

Does not explain the overall flow (how to identify source/target), the meaning of 'plan' in dryRun, expected response fields, or error cases. For a tool with 9 parameters, this is insufficient without output schema or more details.

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%, so baseline is 3. Description adds minimal value beyond what schema already provides (e.g., dryRun default, relationType options). It restates existing parameter descriptions without new insight.

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?

Description clearly states the action: linking two work items with a relationship types such as block, blocked_by, duplicate, etc. It specifies the core function, but does not differentiate from sibling tools like pingcode_unlink_work_items or pingcode_list_work_item_relations.

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?

No explicit guidance on when to use this tool versus alternatives. The description mentions dryRun default and relationType support, but does not address prerequisites, typical use cases, or when to prefer other linking tools.

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