Skip to main content
Glama

Change a member's role

change_member_role
DestructiveIdempotent

Change a workspace member's role (owner and admin run the workspace and see everything; member works leads; sales sees only the customers assigned to them). Only an owner can make someone an owner or change an owner, and the last owner can't be changed. The user id comes from list_members. Admins only. Ask the user to confirm before calling this tool.

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": {
      "user_id": "<user_id>",
      "role": "<role>"
    },
    "name": "change_member_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesTheir new role
user_idYesUser id from list_members
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructive=true and readOnlyHint=false, and the description builds on that with genuinely non-obvious behavior: ownership gating, the invariant that the last owner cannot be changed, the admin-only requirement, and a mandatory user confirmation step before a destructive call. These are the constraints an agent cannot infer from structured fields and are exactly what prevents a bad invocation.

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?

Front-loaded with the verb and resource, then permissions and confirmation, with dense but purposeful sentences and little filler. The parenthetical role glossary is information-rich but slightly syntactic-heavy inside an otherwise terse definition.

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

Completeness4/5

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

For a destructive three-parameter mutation with full schema coverage and no output schema, the description covers who may call it, what constraints apply, and that confirmation is required. It omits post-call effects (whether the demoted member is notified or loses access immediately), which is the one thing an agent might still want.

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?

Schema coverage is 100%, so user_id and workspace_id sourcing is already documented; the description's added value is the meaning of each role value (owner/admin run the workspace, member works leads, sales sees only assigned customers), which the schema reduces to "Their new role". It does not explain edge cases such as what a demotion immediately revokes, so it falls short of a 5.

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?

States a specific verb and resource ("Change a workspace member's role") and immediately scopes it with the role model, which separates it cleanly from invite_member/remove_member/list_members siblings. An agent knows exactly what operation this performs without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear preconditions: "Admins only", "Only an owner can make someone an owner or change an owner", and "Ask the user to confirm before calling this tool", plus the pointer that the user id "comes from list_members". It stops short of naming explicit alternatives (e.g. use invite_member for non-members or remove_member instead of demoting), so it is clear context rather than a full when/when-not routing.

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.

Resources