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

devops-mcp-server-extension

by hakunova

search_testcases

Search and filter test cases in a specified test repository using paging, sorting, and JSON conditions to locate relevant cases.

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

Input Schema

NameRequiredDescriptionDefault
pageNo分页参数,第几页
sortNo排序方式desc
orderByNo排序字段gmtCreate
perPageNo分页参数,每页大小
conditionsNo过滤条件,是一个json串
testRepoIdYes用例库唯一标识
directoryIdNo目录id
organizationIdYes组织ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description bears the full behavioral burden. It does not state that this is a read-only query, what permissions or scopes are needed, how results are paginated, or what the response contains — all significant gaps for an 8-parameter search tool.

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 description is extremely short and front-loaded, with no wasted wording. However, it is under-specified rather than concise — a single label plus a category tag does not earn its place as a complete tool definition.

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 an 8-parameter tool with no annotations and no output schema, the description leaves out the read-only safety profile, the JSON format expected by 'conditions', and the pagination defaults. The rich schema helps, but the definition remains incomplete for an agent to call it confidently.

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 every parameter, including the enum-constrained sort and orderBy and the JSON conditions string, is already documented in the schema. The description adds no meaning beyond that, so the baseline 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 ('搜索测试用例' / search test cases), which is clearly distinct from the creation sibling create_testcase. The bracketed '[test management]' tag adds domain context, but no differentiation from other search tools is offered.

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 search versus alternatives, no prerequisites, and no hint about which parameters to combine. The phrase is a label rather than usage instruction.

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