Skip to main content
Glama

design_contract_tests

Designs consumer-driven contract tests (Pact) by defining interactions, provider states, matchers, versioning, and CI/CD can-i-deploy checks for reliable consumer-provider integration.

Instructions

Projeta testes de contrato Consumer-Driven (Pact) entre consumer e provider. Retorna estrutura de interações, provider states, matchers recomendados, versionamento e integração CI/CD com can-i-deploy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
consumerYesNome do serviço consumidor.
providerYesNome do serviço provedor.
tech_stackNoStack do consumer e provider.
interactionsYesDescrição das interações: endpoints, métodos, payload esperado.
pact_broker_urlNoURL do Pact Broker.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It indicates the tool returns a design output (non-destructive implied) but does not disclose potential side effects (e.g., interactions with Pact Broker), required permissions, or limitations. The optional pact_broker_url parameter hints at external calls, but this is not explained.

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?

The description is concise (two sentences) and front-loaded with the core purpose. The output list is provided in the second sentence. However, the Portuguese language may reduce readability for English-only agents, and the structure could be improved with bullet points for quick scanning.

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?

Given the complexity of contract testing, the description provides a high-level overview of outputs but lacks details on how the tool processes inputs, assumptions about the environment, or what the returned structure looks like. No output schema exists, so the description should be more explicit about the format and usage of the output.

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% with concise parameter descriptions. However, the tool description adds no additional meaning beyond the schema. It does not explain relationships between parameters, expected formats, or how to structure the 'interactions' input effectively.

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 description clearly states the tool's purpose: designing Consumer-Driven (Pact) contract tests between consumer and provider. It uses a specific verb ('Projeta') and lists concrete outputs (interaction structure, provider states, matchers, versioning, CI/CD integration), making it distinct from siblings like design_integration_tests.

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?

No explicit guidance on when to use this tool versus alternatives. Sibling tools exist (e.g., design_integration_tests) but the description does not differentiate them or provide context for appropriate use cases, exclusions, or prerequisites.

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

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/qamichaelmaia/qa-testing-mcp'

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