Skip to main content
Glama

Promote / demote a workspace admin

set_workspace_member_role

admin=true makes the member an admin (full access, can manage team and pipelines); false demotes to member. Owner only. Only call after the user approved preview_set_workspace_member_role.

Input Schema

NameRequiredDescriptionDefault
adminYes
user_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the privilege requirement, the privilege-escalation/de-escalation effect, and the approval-gated workflow. It does not describe the response or failure modes (e.g., what happens if the caller is not the owner), which keeps it short of a 5.

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?

Three short sentences, front-loaded with the parameter effect, then the permission constraint, then the workflow gate. No filler and nothing repeated from structured fields.

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?

No output schema and no annotations, so the description must stand alone; it covers effect, authorization, and sequencing. Missing only return-value expectations and error behavior, which an agent managing a privileged mutation would plausibly want.

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?

Schema coverage is 0%, so the description must compensate; it fully explains the non-obvious parameter by giving meaning to both the true and false branches of 'admin'. 'user_id' is left entirely undocumented, though its meaning is self-evident from the name.

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 states the concrete effect of the call: admin=true promotes a member to admin with full access (team and pipeline management), false demotes to member. The resource ('workspace member role') is carried mostly by the tool name rather than the prose, but the two-state effect is unambiguous and clearly distinct from the preview sibling.

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 prerequisite ('Owner only') and a hard usage gate ('Only call after the user approved preview_set_workspace_member_role'), naming the alternative tool that must precede it. An agent knows both who may call it and in what order.

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