Skip to main content
Glama
rawtreedb

RawTree MCP Server

Official
by rawtreedb

Update Organization Member

update-organization-member
Destructive

Change an accepted organization member's role to admin or member. Requires admin credentials and confirmation of organization, member, and new role.

Instructions

Purpose: Change an accepted organization member's role to admin or member.

Returns: The member's updated role.

NOT for: Pending invitations. Use list-organization-members to identify an accepted member and obtain their user ID.

Auth: Requires a user credential with organization admin access. Authorization is enforced by the RawTree API. RawTree prevents demoting the last organization admin.

Safety: Changing a role can grant administrative privileges or revoke them. You MUST confirm the exact organization, member, and new role with the user before calling this tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleYesNew organization role: admin or member.
userIdYesMember user ID returned by list-organization-members.
organizationYesOrganization containing the member.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.2

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this as a non-read-only, destructive operation. The description adds meaningful behavioral context beyond annotations: admin auth is required, RawTree prevents demoting the last admin, and user confirmation is mandated before calling.

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?

The description is front-loaded and organized into Purpose, Returns, NOT for, Auth, and Safety sections. Every sentence carries useful information for correct invocation, with no filler.

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

Completeness5/5

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

Given the schema, annotations, and absence of an output schema, the description is complete: it covers the operation, exclusions, return value, authorization, last-admin guard, and safety confirmation requirement.

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%, so the input schema already documents user ID source, organization, and role enum. The description largely repeats that the role is admin or member and does not add syntax or format details beyond the structured fields.

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 an accepted organization member's role to admin or member.' It also distinguishes the target scope from pending invitations, so an agent can tell it apart from invite-handling siblings.

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

Usage Guidelines5/5

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

Explicitly says NOT for pending invitations and directs to list-organization-members to identify an accepted member. This gives both when-not guidance and the correct alternative tool, leaving little ambiguity.

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