Skip to main content
Glama

xray_list_test_sets

List Xray test sets with optional JQL filters and pagination, returning each set and its associated test counts.

Instructions

List test sets with optional JQL filter and pagination. Returns sets with associated test counts.

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

Input Schema

NameRequiredDescriptionDefault
jqlNoJQL query to filter results (e.g. 'project = PROJ AND status = TODO')
limitNoNumber of results per page (1-100, default 50)
startNoOffset for pagination (0-based)
formatNoResponse format: toon (compact, default), json (full), summary (one-line)toon

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose one useful behavior beyond the schema: results include associated test counts. However, it says nothing about ordering, maximum result caps, permission requirements, or whether an empty result is an error versus an empty list.

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?

Two compact sentences, front-loaded with the core action and followed by the output note. No filler, though it is arguably sparse enough that a third sentence of context would have earned its place.

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

Completeness3/5

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

For a four-parameter, read-only list tool with no output schema and no annotations, the description covers the essentials but stops short of describing the returned object shape (beyond mentioning counts) or pagination termination behavior, which the agent would need to page correctly.

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 the schema already documents jql, limit, start, and format including defaults and bounds. The description only restates that filtering and pagination exist, adding no syntax or behavioral nuance beyond the schema (e.g. how JQL interacts with the Xray data model).

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 ("List test sets") and adds two distinguishing capabilities: optional JQL filtering and pagination. It also hints at the return payload (sets with associated test counts). It does not explicitly contrast with siblings like xray_list_tests or xray_get_test_set, but the resource name is unambiguous.

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?

The word "optional" implies you can call it with no filter, but there is no stated when-to-use guidance, no prerequisite context (e.g. project scope, permissions), and no pointer to xray_get_test_set for single-item retrieval. The agent must infer the calling situation entirely.

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