Skip to main content
Glama
aliyun

AlibabaCloud DevOps MCP Server

Official
by aliyun

create_workitem_testcase_relation

Relate a test case to a work item for requirement tracing. Returns the created relation record ID.

Instructions

[Project Management] Relate a test case to a work item. Returns the created relation record id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
testcaseIdYes要关联的测试用例唯一标识
workItemIdYes工作项唯一标识
organizationIdYes企业ID,可在组织管理后台的基本信息页面获取
Behavior2/5

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

No annotations are provided, so the description must carry the disclosure burden. It mentions the return value (created relation record id) but fails to disclose side effects, idempotency, potential parameter validation, permission requirements, or error behavior. For a mutation tool, this is insufficient.

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 extremely concise, consisting of one sentence plus a return-value clause. It is front-loaded with the purpose and contains no filler, earning every word.

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 relation-create operation with well-documented parameters and a clear return value descriptor. However, the lack of usage guidelines and behavioral transparency leaves gaps; the description does not address what happens if the relation already exists or whether any special permissions are needed. For a basic tool this is borderline adequate.

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?

The input schema provides descriptions for all 3 parameters, achieving 100% coverage. The tool description itself adds no parameter-level detail beyond the schema. Per the rubric, baseline 3 applies when schema coverage is high.

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 uses the verb 'Relate' rather than 'Create', but immediately clarifies the action with 'Returns the created relation record id', making it clear the tool creates a relation. It clearly names the resources (test case, work item) and distinguishes from sibling tools 'list_workitem_testcase_relations' and 'delete_workitem_testcase_relation'.

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 usage guidance is provided. The description states what the tool does but not when to prefer it over alternatives, nor any prerequisites or conditions. Sibling tools exist for listing and deleting such relations, but no cross-references are made.

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/aliyun/alibabacloud-devops-mcp-server'

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