Skip to main content
Glama

elaichi__team__set_member_admin

Appoint or remove a TEAM administrator — the per-team counterpart of the org-wide team:manage permission. is_admin: true gives this person add/remove-member, rename and describe rights over THIS team only; is_admin: false demotes them back to an ordinary member with no such rights. The person must already be on the team (team.add_member first) — this does not add them, and it 404s if they are not already a member. Refuses if you try to appoint YOURSELF (self-promotion) — the same self-escalation guard team.add_member enforces; demoting yourself is allowed. Appointing a team admin does not widen what they can see or use — it only lets them manage who else is on this one team — and it never reaches team.delete, which stays org-wide-team:manage-only regardless of who administers the team. This operation itself needs org-wide team:manage to call, the same narrower gate its REST route enforces: unlike team.add_member/team.remove_member, an existing team administrator with no org-wide team:manage cannot use this op to promote or demote anyone on their own team. Returns the TEAM record, the same shape team.get returns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
team_idYesTeam id (`team_…`) from team.list.
user_idYesThe person’s USER id (`usr_…`) from member.list — not a membership id, and not an email address.
is_adminYestrue appoints this person a team administrator of THIS team — they gain add/remove-member, rename and describe rights over it, scoped to this one team. false demotes them back to an ordinary member.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only indicate readOnly=false and similar flags; the description adds critical behavioral context: self-escalation guard, no membership addition, no visibility widening, no team.delete access, and required auth level. It goes well beyond structured annotations and does not contradict them.

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?

Dense but mostly front-loaded: first sentence states purpose and contrasts the org-wide scope. Each subsequent sentence earns its place by listing a prerequisite, guard, scope, auth requirement, or return shape; minor redundancy around 'same narrower gate' prevents a 5.

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?

Complete for a rights-mutation tool: prerequisites, failure modes, permission gate, scope limitations, and return shape (same as team.get) are all stated. No output schema exists, so naming the return shape is important and handled.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema covers all params at 100%, so the baseline is 3; the description adds meaning by explaining exactly what is_admin true/false grants (add/remove-member, rename, describe rights) and that user_id must be an existing member. It doesn't add new format details for team_id/user_id, hence 4 rather than 5.

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 explicit verb 'Appoint or remove' and resource 'TEAM administrator,' then scopes it as 'per-team counterpart' to org-wide team:manage. It distinguishes itself from team.add_member/remove_member and team.delete, so an agent can infer what this operation is and isn't.

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 explicit prerequisites: target must already be a member via team.add_member, otherwise the tool 404s. It also states when the operation will refuse (self-promotion) and names the required permission (org-wide team:manage), contrasting with sibling team.add_member/team.remove_member.

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