Skip to main content
Glama

Find test cases

plune_cases_search
Read-only

Search and filter project test cases by free text, suite, state, tag, or priority; retrieve paginated results with total and matching counts.

Instructions

Find test cases of the project by filter — free text in q, suite, state, tag, priority and the other filters of the case list — one page at a time, with the total and how many match. Measured answer: ~7678 tokens (characters / 4) for a project of 48 cases.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plune_cases_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNonextCursor of the previous page
filtersNoQuery filters of GET /v1/test-cases: free text is the key q, and a key the list does not know is ignored, so all cases come back; a list is OR inside one key, keys are AND-ed (e.g. {"q": "card", "tag": ["smoke"]})

Output Schema

NameRequiredDescriptionDefault
totalNo
matchingNo
testCasesYes
nextCursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.39.8

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, non-destructive and closed-world, and the description goes further by disclosing pagination ('one page at a time'), that a total and match count come back, and a measured context cost of ~7678 tokens for 48 cases. That cost figure is genuinely useful behavioral context an agent cannot get from the schema. Auth or permission requirements are still unstated.

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

Conciseness5/5

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

Two sentences: the first front-loads the operation, filter keys and pagination; the second delivers a single cost data point. Nothing is repeated from the annotations or schema, and the phrasing, though terse, is efficient.

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

Completeness4/5

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

For a 3-parameter read tool with an output schema (so return values need no explanation), the definition covers filtering semantics, pagination via cursor, and cost. The only real gap is the absence of any guidance on narrowing filters versus fetching all pages, which is minor given the schema's OR/AND explanation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema coverage at 67%, the description compensates by naming concrete filter keys (q, suite, state, tag, priority) that the generic 'filters' object with additionalProperties does not enumerate. It also signals that q is the free-text key and that unspecified keys fall through to the whole list, adding meaning beyond the schema.

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?

States a specific verb and resource ('Find test cases of the project') plus the filtering axis and pagination model, so the operation is unmistakable. It does not contrast itself with siblings such as plune_cases_generate or plune_case_propose, but the read-only search intent is clear from the text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage ('by filter', 'one page at a time') but never states when to choose this over the generation/proposal siblings or when it should not be used. Guidance is inferable rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.