Skip to main content
Glama

Set team member role

team_set_member_role
DestructiveIdempotent

Assign the team-scoped member or admin role. Only the current team owner may assign roles.

Input Schema

NameRequiredDescriptionDefault
whyNoOptional, accepted and not recorded: this write keeps no workspace history. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters.
roleYes
teamYesThe team: its id or slug.
memberYesThe member: an account id or alias.

Output Schema

NameRequiredDescriptionDefault
roleYes
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=true, idempotent=true, so the safety profile is covered; the description adds the authorization requirement (owner-only), which the annotations do not carry. It stops short of saying what happens to the member's previous role or whether an owner can be demoted, which matters for a destructive-flagged tool.

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?

Two short sentences, zero filler, with the action stated first and the constraint second. Nothing is wasted.

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?

The output schema exists so return values need not be described, and parameters are largely covered by the schema. The remaining gap is consequence disclosure: for a mutation flagged destructive and idempotent, the description says nothing about overwriting an existing role or what admin grants.

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 75% and the schema itself documents team, member, the role enum, and even the unusual 'why' parameter, so the schema does most of the work. The description only restates that the role is member or admin, adding nothing beyond the enum.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb (assign) plus resource (team-scoped member/admin role), with the allowed role values named. The word 'team-scoped' implicitly separates it from the workspace_member_set_role sibling, but it never names that alternative explicitly.

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?

States a hard prerequisite ('Only the current team owner may assign roles'), which is genuinely usage-relevant. However, it offers no when-to-use vs. when-not guidance and does not route the agent to team_add_member, team_remove_member, or workspace_member_set_role.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.