Skip to main content
Glama
devops-mcp-server-extension

devops-mcp-server-extension

by hakunova

create_workitem_relation_record

Create parent, child, associated, dependency, or support relationships between work items to organize project structure and track dependencies.

Instructions

[Project Management] Create a relation between work items. Allows setting parent, child, associated, dependent, or supporting relationships between work items.

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": {
      "organizationId": "<organizationId>",
      "workItemId": "<workItemId>",
      "relationType": "<relationType>",
      "relatedWorkitemId": "<relatedWorkitemId>"
    },
    "name": "create_workitem_relation_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
workItemIdYes工作项唯一标识
relationTypeYes关联类型,PARENT-父项,SUB-子项,ASSOCIATED-关联项,DEPEND_ON-依赖项,DEPENDED_BY-支撑项
organizationIdYes企业ID,可在组织管理后台的基本信息页面获取
relatedWorkitemIdYes关联的工作项ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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, yet it says nothing about whether duplicate relations error out, whether the call is idempotent, what permissions or org scope are required, or what happens to cycles (e.g. setting a self-parent). The relation-type enumeration adds some semantic value but not mutation-behavior disclosure.

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

Conciseness4/5

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

Two short sentences, with the operation front-loaded and the relation kinds following. No filler, though the second sentence largely restates the enum values already in the schema.

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 4-required-parameter mutation tool with no annotations and no output schema, the description covers the what but omits prerequisites, mutation side effects, and failure modes. It is minimally viable but leaves the agent guessing on behavior.

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%, including an enumerated relationType with per-value glosses, so the schema already carries parameter meaning. The description's mapping of parent/child/associated/dependent/supporting mirrors the enum rather than adding syntax, defaults, or format details beyond it.

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?

States a specific verb and resource ('Create a relation between work items') and enumerates the relation kinds it can produce, which distinguishes it from create_work_item and from the list/delete relation siblings by resource. It does not explicitly name a sibling to route away from, so it stops short of a 5.

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?

Usage is only implied by the resource: an agent can infer this is the tool for linking an existing work item to another. There is no statement of preconditions (both work items must exist), no mention that delete/list relation tools exist as counterparts, and no when-not guidance.

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