Skip to main content
Glama

teams_set_member_role

Destructive

Changes a team member's role to owner or member, including private or shared channel contexts where role changes are restricted to owners.

Instructions

Make a team member an owner or a plain member; with channel_id, in a private/shared channel (work/school, Graph, owners only).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "team": "<team>",
      "user": "<user>",
      "owner": "<owner>"
    },
    "name": "teams_set_member_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamYes
userYesEmail/UPN or object id
ownerYes
accountNoAccount alias (see teams_accounts). Defaults to the default account.
channel_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-structured context: the caller must be an owner, and the operation requires a work/school (Graph) account. It stops short of saying what the target loses if demoted, or whether the change is reversible.

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?

It is a single sentence with the action front-loaded and no filler. The compression is aggressive enough that the clause 'work/school, Graph, owners only' reads as a fragment rather than a sentence, slightly hurting parseability.

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?

For a destructive 5-parameter mutation with no output schema, the description covers the permission and tenant requirements but omits what the call returns, whether a non-owner call fails loudly or silently, and what happens to channel-level membership when only team-level is supplied.

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 only 40% (team and owner are undocumented in the schema), so the description must compensate. It does explain owner ('owner or a plain member') and channel_id ('in a private/shared channel'), but 'team' is never described and the account parameter's relationship to teams_accounts is only handled in the schema.

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?

The description states a specific verb and resource ('Make a team member an owner or a plain member'), which distinguishes it from membership add/remove siblings like teams_add_team_member. The trailing parenthetical adds scope (channel-level vs team-level) but in compressed, telegraphic form that takes a second read to parse.

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?

It gives one conditional usage rule: supplying channel_id scopes the change to a private/shared channel. It does not say when to prefer this over teams_add_team_member or teams_remove_team_member, nor does it state prerequisites for the team-level case.

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

Deploy Server

Other Tools