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

devops-mcp-server-extension

by hakunova

delete_workitem_relation_record

Removes a specified relationship between two work items, such as parent, child, associated, dependent, or supporting links, to correct or clean up inaccurate associations.

Instructions

[Project Management] Delete a relation between work items. Removes the specified relationship (parent, child, associated, dependent, or supporting) 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": "delete_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

C2.9/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 burden of behavioral disclosure. It says a relation is removed but never states whether the deletion is irreversible, what permissions are required, what happens to the underlying work items, or what is returned on success or failure.

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?

It is short and front-loaded with the action. The second sentence largely repeats the first, restating that a relationship between work items is removed, but the redundancy is minor and does not obscure the purpose.

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?

All four required parameters are fully covered by the schema, so an agent can call the tool, but a destructive operation with no annotations and no output schema should say more about irreversibility and error behavior. The definition is minimally viable rather than complete for a delete tool.

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%, so the schema already documents all four required parameters, including the relationType enum with per-value mapping. The description's parent/child/associated/dependent/supporting list merely restates the enum in English without adding format or behavior detail, so the baseline of 3 applies.

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 states a specific verb and resource: delete a relation between work items. The verb itself distinguishes it from sibling operations like create_workitem_relation_record and list_workitem_relation_records, though it never names those alternatives explicitly.

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?

It gives no when-to-use guidance, no prerequisites, and no mention of an alternative such as updating a relation type instead of deleting the record entirely. The intended context is only implied by the word 'Delete'.

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