Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Contract Testing: Get Secret

contract-testing_get_secret
Read-onlyIdempotent

Retrieve metadata for a secret by its UUID to access and manage stored credentials.

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
Behavior3/5

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

Annotations already provide readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds 'Retrieve metadata', which aligns but does not disclose additional behavior beyond what annotations cover (e.g., no mention of auth requirements or response format).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise (one sentence plus a parameter list), front-loads the purpose, and contains no superfluous content. Every sentence serves a clear role.

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 lack of an output schema, the description does not elaborate on what 'metadata' includes (e.g., name, creation date, value reference). This leaves ambiguity about the return value, making it less complete than it could be for a simple retrieval tool.

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?

Input schema has 100% coverage, with the description repeating 'UUID of the secret' for secretId. No additional meaning or context beyond the schema is provided, so this meets the baseline without adding value.

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 'Retrieve metadata for a specific secret by UUID', with a specific verb and resource, and it is well-differentiated from sibling tools like create_secret, delete_secret, update_secret, and list_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?

No explicit guidance on when to use this tool vs alternatives. While the context implies it is for fetching a single secret by UUID, the description does not clarify scenarios or mention exclusions, such as when list_secrets might be more appropriate.

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

Install Server

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