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

devops-mcp-server-extension

by hakunova

create_testcase

Creates test cases in a Yunxiao DevOps test repository, including steps, preconditions, labels, and assignee details for organized test management.

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>",
      "testRepoId": "<testRepoId>"
    },
    "name": "create_testcase"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelsNo标签ids
subjectNo标题
testStepsNo测试步骤
assignedToNo负责人userId
testRepoIdYes用例库唯一标识
directoryIdNo目录id
preConditionNo前置条件
organizationIdYes组织ID
customFieldValuesNo自定义字段值

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.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 permissions, side effects, defaults, or whether the created case is immediately visible. It only signals that this is a create/mutation operation, which the name already conveys.

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 a single short phrase with no wasted words and is front-loaded with the domain tag, but brevity here reflects under-specification rather than disciplined concision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 9 parameters, a nested conditional testSteps object, no annotations, and no output schema, an agent needs substantially more than a six-character title paraphrase. Nothing about required fields, repo/directory placement, or return behavior is conveyed.

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% and nested structures (testSteps with TABLE/TEXT conditional fields) are documented in the schema itself, so the baseline is 3. The description adds zero parameter meaning beyond that baseline.

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 a translation of the tool name: "创建测试用例" restates create_testcase, with only a bracketed "[test management]" domain tag as added context. It does not differentiate from siblings like create_testcase_directory or delete_testcase, nor state the scope (e.g., a case must belong to a repo/directory).

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 guidance on when to use this versus alternatives, no mention of prerequisites such as needing an existing testRepoId or directoryId, and no exclusion conditions. Only the domain tag hints at the broad context.

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