Skip to main content
Glama
aliyun

AlibabaCloud DevOps MCP Server

Official
by aliyun

create_workitem_relation_record

Relate two work items within a DevOps project by establishing parent-child, dependency, or associated links to clarify relationships and project structure.

Instructions

[Project Management] Relate one work item to another. Use ASSOCIATED for a normal related item without a parent-child hierarchy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operatorIdNo操作者用户ID;使用个人访问令牌时该参数无效
workItemIdYes源工作项唯一标识
relationTypeYes关联类型:PARENT 父项、SUB 子项、ASSOCIATED 关联项、DEPEND_ON 依赖项、DEPENDED_BY 支撑项
organizationIdYes企业ID
relatedWorkItemIdYes要关联的目标工作项唯一标识

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.63

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It conveys that the tool creates a relation but does not mention side effects, required permissions, whether the relation is bidirectional, how duplicates are handled, or what the result of the operation is. For a mutating tool, this is a significant gap.

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 short, front-loaded with the core purpose, and every sentence earns its place. The domain tag is useful, the action is clear, and the ASSOCIATED note is targeted rather than verbose.

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?

For a simple relation-creation tool with rich parameter descriptions, the description plus schema provides enough to make a correct call. However, with no output schema and no annotations, it does not clarify the return value, potential errors, or relation constraints, leaving the behavioral context incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already covers 100% of parameters, so the baseline is 3. The description adds genuine value by explaining that ASSOCIATED means 'a normal related item without a parent-child hierarchy,' which clarifies the relationType enum beyond the schema's brief label '关联项.' This helps the agent pick the correct enum 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 states a specific action ('Relate one work item to another') on a clear resource (work item relation records). The added clarification about ASSOCIATED being for normal, non-hierarchical relations helps distinguish this tool from other relation-related siblings like create_workitem_testcase_relation and delete_workitem_relation_record.

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 gives one useful usage hint: 'Use ASSOCIATED for a normal related item without a parent-child hierarchy.' However, it does not explicitly state when to use this tool versus alternative tools such as listing or deleting relation records, nor does it provide any exclusions or preconditions.

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