Skip to main content
Glama

update_team_member_role

Idempotent

Change a member's role (owner / editor / viewer). Owner only, admin-scoped key. A workspace always keeps at least one owner, so demoting the last owner is refused.

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_email": "<user_email>",
      "role": "<role>"
    },
    "name": "update_team_member_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesNew role: owner (full control), editor (can change things) or viewer (read only).
user_emailYesEmail of the team member (see list_team_members).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), and the description adds information beyond them: the caller must be an owner using an admin-scoped key, and the server enforces a last-owner invariant. It stops short of describing the error shape when the guard fires or what a successful response contains, which is acceptable given there is no output schema.

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 compact sentences with zero filler; the operation and its valid values come first, followed by the authorization and invariant constraints. Every clause carries actionable content.

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 two-parameter, fully documented mutation with annotations supplying the safety profile, the description covers purpose, authorization, and the one business rule that can cause a refusal. The only gap is the mild ambiguity in 'Owner only' (caller role vs. target role) and no note on failure output, which is minor for this complexity.

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 description coverage is 100%, and each parameter already carries its own description, including per-role explanations in the enum. The description restates the role values but adds no format or argument-level detail beyond the schema, so baseline 3 applies. 'Owner only' concerns authorization rather than parameter meaning and is slightly ambiguous about whether it constrains the caller or the target member.

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 member's role') and enumerates the three legal values inline (owner / editor / viewer). An agent can distinguish this from invite_team_member, remove_team_member, or update_workspace 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 a real prerequisite ('Owner only, admin-scoped key') and a hard constraint that governs whether the call will succeed ('demoting the last owner is refused'). It does not explicitly route to siblings for adjacent tasks such as inviting or removing a member, but the operation itself is unambiguous.

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