Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Contract Testing: Get BDCT Provider by Consumer Version

contract-testing_get_bdct_provider_by_consumer_version
Read-onlyIdempotent

Retrieve the provider OpenAPI contract for a specified consumer and provider version pair to verify compatibility in bi-directional contract testing.

Instructions

Fetch the provider OpenAPI contract for a specific consumer-provider version pair in Bi-Directional Contract Testing.

Toolset: Bi-Directional Contract Testing

Parameters:

  • providerName (string) required: Name of the provider

  • providerVersionNumber (string) required: Provider version number

  • consumerName (string) required: Name of the consumer

  • consumerVersionNumber (string) required: Consumer version number

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

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageSizeNoResults per page
pageNumberNoPage number
consumerNameYesName of the consumer
providerNameYesName of the provider
consumerVersionNumberYesConsumer version number
providerVersionNumberYesProvider version number
Install Server

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already establish that this is read-only, idempotent, and non-destructive, so the description only needs to add artifact-level behavior. It does say the result is a provider OpenAPI contract scoped to a version pair, which is useful. However, it does not mention pagination behavior or response shape despite pageNumber/pageSize parameters, so it only moderately supplements the 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 opening sentence is sharp and front-loaded. But the following Parameters section duplicates the input schema nearly word-for-word, adding length without new information; this redundancy depresses the score.

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?

The four required parameters are fully captured and the core purpose is clear enough for a basic call. With no output schema, though, the description should say more about the return structure and pagination behavior; right now the singular 'provider OpenAPI contract' conflicts with pagination parameters, and the many sibling tools are not disambiguated.

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 input schema already documents every parameter. The description's parameter bullets repeat the schema verbatim without adding semantics such as value formats, source, or interactions. Baseline 3 is appropriate.

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 opens with a concrete verb and resource: 'Fetch the provider OpenAPI contract for a specific consumer-provider version pair in Bi-Directional Contract Testing.' This tells an agent what the tool returns and at what scope, and aligns with the tool name. It does not explicitly compare with the similar sibling get_bdct_provider_contract, so it stops short of a 5.

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 description contains no guidance about when to choose this tool over alternatives; there is no 'use this when...' or 'prefer X instead' statement. Only the toolset label and name signal its niche, which is not enough to route an agent among the many BDCT 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