Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Contract Testing: Get Branch Versions

contract-testing_get_branch_versions
Read-onlyIdempotent

Get every version published from a given branch of a pacticipant. Specify the pacticipant name and branch to list versions, with pagination options.

Instructions

Retrieve all versions published from a specific branch of a pacticipant.

Toolset: Branches and Versions

Parameters:

  • pacticipantName (string) required: Name of the pacticipant

  • branchName (string) required: Name of the branch

  • pageNumber (number): Page number (default: 1)

  • pageSize (number): Results per page (default: 5)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageSizeNoResults per page
branchNameYesName of the branch
pageNumberNoPage number
pacticipantNameYesName of the pacticipant
Install Server

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description only adds the branch scope and restates pagination parameters; it does not disclose iteration behavior, response format, or limits beyond what the schema already provides.

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 purpose sentence is front-loaded and clear, but the toolset label and the parameter block are redundant with the input schema. The definition is compact yet contains repeated information that does not earn its place.

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?

Required parameters and defaults are fully covered, and the annotations carry the safety information. However, because there is no output schema and the description says 'all versions' while pageSize defaults to 5, an agent is not explicitly told that multiple pages may need to be requested.

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 fully documents all four parameters. The description's parameter list duplicates the schema without adding semantic detail such as accepted formats, constraints, or richer meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence uses a specific verb ('Retrieve') and resource ('all versions published from a specific branch of a pacticipant'), making the operation distinct from sibling tools such as contract-testing_get_branch or contract-testing_list_pacticipant_versions. The branch scope is precise and immediately understandable.

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 when to use the tool (when branch-filtered versions are needed) but gives no explicit when-to-use/when-not-to-use guidance or named alternatives. The 'Toolset: Branches and Versions' label provides context but does not help an agent choose between closely related sibling tools.

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