Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Contract Testing: Get Metrics

contract-testing_get_metrics
Read-onlyIdempotent

Fetch contract testing metrics across the entire workspace to analyze testing performance and identify potential issues.

Instructions

Fetch metrics across the entire workspace

Toolset: Metrics

Parameters: None

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, and the description adds the workspace-wide scope, which is useful context. However, it does not disclose return format, metric types, or any aggregation behavior; the annotation coverage keeps this acceptable.

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?

Description is short, front-loaded, and easy to scan. 'Toolset: Metrics' and 'Parameters: None' are somewhat redundant with the title and schema, but they are not verbose or harmful.

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?

For a parameterless, read-only metrics fetch, this description gives enough scope and operation context for an agent to invoke it safely. There is no output schema, so a bit more detail about what metrics are returned would improve completeness, but the simplicity of the tool keeps the gap small.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the baseline is 4 under the rubric. The empty input schema fully documents that no parameters are needed, and the description's 'Parameters: None' adds no further semantics but is accurate.

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?

Description states a specific verb ('Fetch'), a resource ('metrics'), and a clear scope ('across the entire workspace'). This scope directly distinguishes it from the sibling contract-testing_get_team_metrics, so an agent can identify which metrics tool is relevant.

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 phrase 'entire workspace' implies this is for workspace-wide metrics, but the description does not explicitly say when to use this instead of contract-testing_get_team_metrics or other metric-related tools. There is no mention of exclusions or alternatives.

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