Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Contract Testing: Admin Set Team Users

contract-testing_admin_set_team_users
Idempotent

Replace all members of a team with specified users. Provide the team ID and an array of user UUIDs to update the team's member list.

Instructions

Replace all members of a team (admin).

Toolset: Admin

Parameters:

  • teamId (string) required: UUID of the team

  • uuids (array) required: UUIDs of users to set as team members (replaces existing)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidsYesUUIDs of users to set as team members (replaces existing)
teamIdYesUUID of the team
Behavior3/5

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

The description adds 'replaces existing' which is important behavioral context. However, annotations already provide idempotentHint=true; the description does not disclose additional traits like return value, side effects on other resources, or permission requirements. Also, there is a potential contradiction: 'Replace all members' implies destructive action (removing existing members), but annotations set destructiveHint=false.

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 with a front-loaded main sentence, followed by toolset and parameter list. It avoids unnecessary fluff. However, the parameter listing could be integrated into the description more fluidly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool lacks an output schema, and the description does not explain the return value or what happens on success (e.g., success message, updated team object). No information about required permissions, error conditions, or rate limits is provided. For a mutation tool replacing all team members, this is insufficient for complete agent understanding.

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 coverage is 100%, so the schema already documents both parameters. The description merely repeats the parameter names and types (e.g., 'UUID of the team') without adding any new meaning or usage nuance beyond what the schema provides.

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 verb 'Replace' and the resource 'all members of a team'. It effectively distinguishes from sibling tools like admin_patch_team_users (partial update) and admin_remove_user_from_team (single removal) through the word 'all' and the replacement semantics.

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 description implies admin-only use via 'Toolset: Admin' but does not explicitly state when to use this tool over alternatives like admin_patch_team_users or admin_remove_user_from_team. It provides no when-not-to-use scenarios, leaving the agent to infer from the sibling tool names.

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