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

devops-mcp-server-extension

by hakunova

list_testcase_directories

Retrieve test case directories from a specified test repository and organization to organize, browse, or select test cases for testing workflows.

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": "list_testcase_directories"
  }
}

Input Schema

NameRequiredDescriptionDefault
testRepoIdYes用例库唯一标识
organizationIdYes组织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 disclosure burden, and it discloses almost nothing. '获取' implies a read, but there is no statement about permissions, whether the listing is flat or a tree, pagination, or result size limits.

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?

A single short phrase with the domain tag front-loaded and no filler. It is efficient, though its terseness is under-specification rather than disciplined concision.

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?

The tool has no annotations and no output schema, so the description is the only place to learn what a 'directory list' contains — flat paths, nested tree, IDs for use with sibling tools — and it says none of that. For a list endpoint feeding directory-related operations, this is a significant gap.

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% — both organizationId and testRepoId are documented in the schema — so the baseline of 3 applies. The description adds no further meaning about how these parameters scope the listing.

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: '获取测试用例目录列表' (get the list of test case directories), with a '[test management]' domain tag. That is enough to distinguish it from write siblings like create_testcase_directory by verb alone, though it adds no scope detail (per-repo? hierarchical? filtered?).

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives such as get_testcase or create_testcase_directory. The agent must infer the context from the 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