Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Zephyr: Get Test Cycles

zephyr_get_test_cycles
Read-onlyIdempotent

Retrieve Zephyr test cycle details filtered by project, folder, or Jira version. Use maxResults and startAt to control pagination and manage large result sets.

Instructions

Get details of Test Cycles in Zephyr

Toolset: Test Cycles

Parameters:

  • projectKey (string): Jira project key filter

  • folderId (number): Folder ID filter

  • jiraProjectVersionId (number): Jira Project Version ID. Relates to 'Version' or 'Releases' in Jira projects.

  • maxResults (number): Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.

Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned. (default: 10)

  • startAt (number): Zero-indexed starting position. Should be a multiple of maxResults. (default: 0)

Examples:

  1. Get the first 10 Test Cycles

{
  "maxResults": 10,
  "startAt": 0
}

Expected Output: The first 10 Test Cycles with their details

  1. Get any Test Cycle

{
  "maxResults": 1
}

Expected Output: One Test Cycle with its details

  1. Get five Test Cycles starting from the 7th Test Cycles of the list

{
  "maxResults": 5,
  "startAt": 6
}

Expected Output: The 7th to the 11th Test Cycles with their details

  1. Get one Test Cycle from the project PROJ

{
  "projectKey": "PROJ",
  "maxResults": 1
}

Expected Output: One Test Cycle from project PROJ with its details

  1. Get one Test Cycle from the folder with ID 123

{
  "folderId": 123,
  "maxResults": 1
}

Expected Output: One Test Cycle from folder with ID 123 with its details

  1. Get one Test Cycle from the version 456

{
  "jiraProjectVersionId": 456,
  "maxResults": 1
}

Expected Output: One Test Cycle from version 456 with its details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startAtNoZero-indexed starting position. Should be a multiple of maxResults.
folderIdNoFolder ID filter
maxResultsNoSpecifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.
projectKeyNoJira project key filter
jiraProjectVersionIdNoJira Project Version ID. Relates to 'Version' or 'Releases' in Jira projects.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nextNoURL to the next page of results, or null if there are no more results.
totalNoIndicates the total number of items available across all pages.
isLastNoIndicates if this is the last page of results.
valuesNo
startAtYesIndicates the index of the first item returned in the page of results.
maxResultsYesIndicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints.
Install Server

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds valuable behavioral context beyond that: default/max pagination limits, server-side limit enforcement, potential result truncation, and the instruction to check maxResults in the response. No contradiction with annotations.

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 well-structured with clear sections and helpful examples, but it duplicates the schema's parameter descriptions almost verbatim and includes several repetitive 'Expected Output' lines. It earns some value from examples, but is longer than necessary.

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?

With an output schema present and annotations covering safety, the description covers the remaining practical needs: all filters, pagination behavior, truncation warning, and six usage examples. It is complete enough for an agent to invoke the tool correctly, though it does not explicitly discuss combining multiple filters.

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 all five parameters thoroughly. The description mostly repeats that text and adds examples, but it does not provide much new semantic meaning beyond what the parameter descriptions already cover. Baseline 3 applies here.

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, resource, and scope: 'Get details of Test Cycles in Zephyr.' The plural 'Test Cycles' signals this is a listing operation and distinguishes it from the singular sibling zephyr_get_test_cycle, though it does not explicitly name or contrast the sibling relationship.

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 examples show practical scenarios for using the tool with different filters, which implies when it is appropriate to call it. However, there is no explicit guidance on when not to use it or when to prefer a sibling tool such as zephyr_get_test_cycle for a single cycle or zephyr_get_test_cycle_links for links.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SmartBear/smartbear-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server