Skip to main content
Glama

Change member role

update_member_role
Destructive

Change a member's role on a shared project you own: write (edit and claim actions) or read_only (view and comment). The owner's own role cannot change. To remove the member use remove_project_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": {
      "id": "<id>",
      "user_id": "<user_id>",
      "role": "<role>"
    },
    "name": "update_member_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProject id from `list_items` list=projects.
roleYeswrite: edit and claim actions; read_only: view and comment.
user_idYesThe member's `user_id` from `list_project_members`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"Project id from `list_items` list=projects."
    • addedInput schema / properties / role / description
      Added value: +"write: edit and claim actions; read_only: view and comment."
    • addedInput schema / properties / user_id / description
      Added value: +"The member's `user_id` from `list_project_members`."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is covered; the description adds value by disclosing an authorization constraint (must own the project) and an invariant the annotations cannot express (the owner's own role cannot be changed). It does not explain whether the member is notified or whether the change takes effect immediately, which is the remaining gap for a permission-mutating 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 sentences, front-loaded with the action and its legal values, followed by the constraint and the alternative. Every clause carries information an agent needs; nothing is repeated or padded.

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 three-parameter mutation with full schema coverage and annotations, the definition covers purpose, valid values, the ownership precondition, the owner-role invariant, and the removal alternative, with no output schema needed. Only side effects of the change (notification, immediacy) are unaddressed, which is minor at 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%, with every parameter documented including the enum meanings and the sourcing hints (id from list_items list=projects, user_id from list_project_members). The description restates the same write/read_only meanings rather than adding new semantics, so the schema does the heavy lifting and baseline 3 applies.

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?

The description states a specific verb and resource (change a member's role) and immediately enumerates the only two legal values, write and read_only. It also scopes the operation to 'a shared project you own' and names the sibling remove_project_member as the different operation, so an agent can distinguish it without opening any 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?

It gives clear usage context ('on a shared project you own') and an explicit redirect to `remove_project_member` for the adjacent intent of removing someone. It does not spell out when to prefer this over `add_project_member`, but that distinction is unambiguous from the verb. The ownership precondition is stated, which is the main gating condition.

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