Skip to main content
Glama

update_space_member_role

Change a space member or group's role to admin, writer, or reader by providing the space ID and target user or group ID.

Instructions

Change a space member or group's role.

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": {
      "space_id": "<space_id>",
      "role": "<role>"
    },
    "name": "update_space_member_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYes
user_idNo
group_idNo
space_idYesUUID or slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.2.1
    • addedInput schema / properties / group_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / user_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. Changed1 schema field changedv1.1.0
    • changedInput schema / properties / space_id / description
      Previous value: -"Space UUID or slug"New value: +"UUID or slug"
  3. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

The only annotation is destructiveHint=false, so the description carries most of the behavioral burden for a mutation. It does not say whether the previous role is overwritten irreversibly, what permission level is required, or what happens when both user_id and group_id are omitted or supplied together.

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?

A single short sentence with no filler, front-loaded on the verb and resource. Its brevity edges into under-specification rather than verbosity, but there is no wasted wording to trim.

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

Completeness3/5

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

For a four-parameter mutation with 25% schema coverage, minimal annotations, and no output schema, the description is too thin to be fully complete. An agent can guess the intent but must infer target-selection rules and permission requirements on its own.

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

Parameters2/5

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

Schema description coverage is only 25% (only space_id is documented, as UUID or slug), so the description must compensate and largely fails to. The phrase "member or group's" gestures at the user_id/group_id split but never clarifies that one of the two identifies the target, nor what the role enum values mean.

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 gives a specific verb ("Change") and a specific resource ("a space member or group's role"), which is more precise than the bare tool name. It implicitly separates the tool from add/remove sibling operations, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: the phrase "member or group's role" hints that the caller supplies either a user or a group, but the description never states when to use this instead of removing and re-adding a member, nor any prerequisites such as needing admin rights.

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