Skip to main content
Glama

独行录 / opcmenu

改成员角色

set_organization_member_role
Idempotent

【需要登录·OWNER/ADMIN】把一位在册成员设为 ADMIN(管理员)/ EVENT_MANAGER(活动负责人)/ MATCHMAKER(撮合员)/ MEMBER。 【组合链】list_organization_members 拿 membershipId → 念给用户确认 → 本工具。 【口径/坑】① 任免 ADMIN、动现任 ADMIN 只有负责人能做。② 负责人本身不能被改(换负责人去 App/网页转让)。③ membershipId 不是 userId。④ 官方分录在任主理人、联盟盟主的身份跟任期走,改不了。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleYes新角色
membershipIdYes成员关系 id(list_organization_members 的 membershipId,不是 userId)
organizationIdYes组织 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare non-destructive, idempotent, open-world behavior. The description adds substantial operational context: login requirement, OWNER/ADMIN permission gating, special immutability rules for owners and platform-designated roles, and the critical distinction that membershipId is not userId.

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?

Uses bracketed labels to front-load authentication, roles, the call chain, and pitfalls. Every line carries an actionable constraint; despite being dense, there is no redundant 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?

For a mutation tool with no output schema, the description covers the permission model, prerequisite lookup, confirmation step, and invalid cases. An agent has everything needed to invoke it correctly.

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 coverage is 100%, so the baseline is 3. The description maps role enum values to Chinese labels and warns that membershipId differs from userId, but most of this repeats the schema's own descriptions rather than adding new format or constraint detail.

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: setting an enrolled member's role to one of four named roles. It also names the login/permission gate (OWNER/ADMIN) up front, so an agent can immediately distinguish it from sibling tools like remove_organization_member or update_my_organization_membership.

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?

Gives an explicit invocation chain: call list_organization_members to obtain membershipId, read it back to the user for confirmation, then call this tool. It also lists when-not conditions, such as owner roles being immutable and only the owner being able to change ADMINs.

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