Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Contract Testing: Get Secret

contract-testing_get_secret
Read-onlyIdempotent

Fetch metadata for a secret by UUID. Use this to inspect secret attributes and manage contract testing configuration.

Instructions

Retrieve metadata for a specific secret by UUID.

Toolset: Secrets

Parameters:

  • secretId (string) required: UUID of the secret

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
secretIdYesUUID of the secret
Install Server

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, idempotentHint=true, destructiveHint=false). The description adds meaningful value by clarifying that this returns 'metadata' for the secret rather than the secret value itself, which is an important behavioral nuance for a tool named get_secret. No contradictions with annotations.

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 core description is concise and front-loaded, but the explicit 'Parameters' section duplicates the input schema. The 'Toolset: Secrets' heading and the parameter block are somewhat redundant, though they do not make the description bloated.

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 one-parameter read-only tool with no output schema and rich annotations, the description is sufficiently complete. It states the operation, the identifier type, and the return scope (metadata). Slightly more detail about what metadata fields are returned would be useful, but it is not essential for correct invocation.

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%, and the description's parameter text merely repeats the schema's 'UUID of the secret' without adding format, source, or usage nuance. This meets the baseline but adds no additional semantic value beyond the schema.

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 states a precise verb ('Retrieve'), a specific resource ('metadata for a specific secret'), and the required identifier ('by UUID'). This clearly distinguishes it from siblings like list_secrets (retrieving multiple secrets) and create/update/delete_secret (mutating secrets).

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 intended usage is implied by the description: use this when you have a secret's UUID and need its metadata. However, it does not explicitly mention when to prefer this over alternatives like list_secrets, nor any exclusion conditions, so the guidance is only implicit.

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