Skip to main content
Glama

Change member role

org_member_set_role
DestructiveIdempotent

Changes a member's role in the organization to owner, admin or member.

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": {
      "orgId": "<orgId>",
      "userId": "<userId>",
      "role": "<role>"
    },
    "name": "org_member_set_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesThe member's new role.
orgIdYesOrganization ID from org_list.
userIdYesUser ID of the member, from org_member_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / role / description
      Added value: +"The member's new role."
    • addedInput schema / properties / userId / description
      Added value: +"User ID of the member, from org_member_list."
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=true, so the safety profile is known. The description adds nothing beyond that: it does not state that the existing role is overwritten, that promoting to owner grants full control, or what authorization is required, which are the meaningful behavioral facts for a destructive role change.

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?

A single front-loaded sentence with no filler or redundancy. It is appropriately sized, though it spends its limited words restating the enum rather than adding the guidance that is actually missing.

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?

For a destructive, privilege-granting mutation with no output schema, the definition omits the things an agent most needs: required permissions, irreversibility of the change, and what happens to the member's prior role. The schema and annotations cover parameters and safety flags, but the description leaves the high-stakes operational context unaddressed.

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 carries its own description, including the enum for role and provenance hints (orgId from org_list, userId from org_member_list). The description only repeats the enum values already present in the schema, adding no new semantic detail, so the baseline 3 applies.

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 names a specific verb ('Changes') and resource ('a member's role in the organization') and enumerates the three valid targets (owner, admin, member). It is clearly distinguishable from siblings such as org_member_list and org_member_remove, though it does not explicitly contrast itself with them.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives, no prerequisites (such as requiring owner-level authorization to promote someone), and no mention of constraints like protecting the last owner. Usage is only implied by the tool name and purpose sentence.

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.