Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Contract Testing: Admin Reset Roles

contract-testing_admin_reset_roles
DestructiveIdempotent

Reset all roles to factory defaults to restore original permissions and resolve misconfigurations in contract testing.

Instructions

Reset all roles to their factory defaults (admin).

Toolset: Admin

Parameters: None

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already mark this as destructive and non-read-only, and the description aligns by saying it resets all roles to factory defaults. It adds the global 'all roles' scope and the 'defaults' outcome, but it does not warn about the loss of custom role definitions or permissions beyond what the annotations imply. This is adequate but not rich.

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 purpose is captured in one clear sentence, and the layout is easy to scan. The Toolset and Parameters lines add mild redundancy, but there is no meaningful bloat.

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?

With zero parameters, the calling contract is simple, and the destructive hint is already present in annotations. Still, the description does not explain what 'factory defaults' means in practice, which roles/permissions are affected, or what the response looks like, leaving some ambiguity about side effects.

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?

There are zero parameters, so the schema fully covers the interface and leaves nothing to document. The description's 'Parameters: None' line is accurate and redundant, which is acceptable for a no-argument tool.

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 opens with a specific verb ('Reset'), a specific resource ('all roles'), and a precise outcome ('factory defaults'). The parenthetical 'admin' plus the toolset line distinguish this from granular role-admin operations like admin_set_user_roles or admin_create_role.

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 guidance is given for when to use this reset tool versus the many sibling role-management tools, nor are exclusions or prerequisites described. The 'Toolset: Admin' line only labels the family and does not help an agent decide when a full reset is appropriate.

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