Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Contract Testing: Get Latest Pacticipant Version

contract-testing_get_latest_pacticipant_version
Read-onlyIdempotent

Get the version of a pacticipant, optionally filtered by tag. Use this to find the contract version for a given component.

Instructions

Retrieve the latest version of a pacticipant, optionally filtered by tag.

Toolset: Branches and Versions

Parameters:

  • pacticipantName (string) required: Name of the pacticipant

  • tag (string): Tag to filter by. If omitted, returns the overall latest version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoTag to filter by. If omitted, returns the overall latest version.
pacticipantNameYesName of the pacticipant
Install Server

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds the useful behavioral detail that omitting the tag returns the overall latest version, but it does not clarify return shape, ordering definition of 'latest', or not-found behavior.

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 opening sentence is concise and front-loaded. However, the 'Parameters' section duplicates what the input schema already states exactly, and the 'Toolset' label adds only marginal context. Some content does not earn its place given the schema coverage.

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 simple read-only tool with complete schema descriptions and strong annotations, the description is adequate. Still, with no output schema, it could more clearly describe what a 'version' response contains and what 'latest' means operationally, and it does not help disambiguate between the many contract-testing version-related siblings.

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 both parameters. The description repeats the schema's parameter descriptions without adding extra constraints, formats, or examples, meeting the baseline but adding no additional semantic value.

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 uses a specific verb ('Retrieve') and a clear resource ('latest version of a pacticipant'), and notes the optional tag filter. It does not explicitly name sibling tools like contract-testing_get_pacticipant_version or contract-testing_list_pacticipant_versions, but 'latest version' makes the focus reasonably distinct.

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 the tool is for fetching the newest version of a pacticipant, optionally filtered by tag, but it does not state when to prefer this over the many sibling get/list/version tools. No explicit alternatives or when-not-to-use guidance is provided.

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