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

devops-mcp-server-extension

by hakunova

get_testcase

Retrieves details for a specific test case from a repository using organization, repository, and test case IDs, so AI assistants can inspect test management data.

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

Input Schema

NameRequiredDescriptionDefault
testRepoIdYes用例库唯一标识
testcaseIdYes用例唯一标识
organizationIdYes组织ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/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 "获取" only weakly implies a read. It says nothing about required access scope (organization/repo membership), what happens when an ID is invalid or the case is deleted, or whether a complete record is returned.

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?

The single bracketed-domain phrase is compact, front-loaded, and free of filler, which is good. But the brevity stems from under-specification rather than disciplined editing, so it does not earn a top mark.

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 tool with three required identifiers, no annotations, and no output schema, the description says nothing about what is returned or what the caller needs to know before invoking it. The schema covers the inputs, but the description leaves the result and error surface entirely unexplained.

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%, with organizationId, testRepoId, and testcaseId each documented, so the schema already does the semantic work. The description adds no extra meaning about identifier format or the relationship between repo and case IDs, which is acceptable at baseline.

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

Purpose3/5

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

The description gives a verb+resource ("获取测试用例信息") and a domain tag "[test management]", so an agent can tell it retrieves a test case rather than creating or deleting one. However, it never says what a test case record contains or that retrieval is by ID, leaving the purpose at the vaguest viable level.

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 prerequisite mention, and no pointer to alternatives such as list-style or directory tools. The agent must infer all routing decisions from the tool name alone.

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