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

devops-mcp-server-extension

by hakunova

update_test_result

Update a test case's status and executor within a test plan in Yunxiao DevOps to record test execution outcomes such as pass, failure, postpone, or pending.

Instructions

[test management] 更新测试结果

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>",
      "testplanId": "<testplanId>",
      "testcaseId": "<testcaseId>"
    },
    "name": "update_test_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNo状态
executorNo执行人userId
testcaseIdYes测试用例唯一标识
testplanIdYes测试计划唯一标识
organizationIdYes组织ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/5.0
Behavior1/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 mutation semantics: whether the status change is reversible, whether transitioning to PASS/FAILURE has side effects, what permissions the executor requires, or which fields are overwritten. It is a bare mutation tool with zero behavioral disclosure.

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

Conciseness3/5

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

It is extremely short and front-loaded with a domain tag, so nothing is wasted, but the brevity is the result of under-specification rather than economy. The single phrase carries almost no explanatory content.

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?

For a five-parameter mutation tool with no annotations and no output schema, the description is far too thin: it omits required-identifier semantics, status transition rules, and the effect of the update. The rich schema partially compensates, but the behavioral gap remains significant.

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 all five parameters including the status enum and executor userId are already documented in the schema; the description adds no meaning beyond that. Per the baseline rule for high-coverage schemas, a 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is essentially the tool name restated: the verb 更新 (update) and the resource 测试结果 (test result) are already in the name, with only a bracketed domain tag '[test management]' as new information. It gives no indication of what a 'test result' update entails or how it differs from siblings such as get_test_result_list or the many other update_* tools.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives — nothing tells the agent under what circumstances to call this rather than the read-side sibling get_test_result_list. The domain tag at best implies it belongs to test management.

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