Skip to main content
Glama

remove_space_member

Destructive

Removes a user or group from a Docmost space using the space ID plus the member's user or group ID, helping you revoke access and clean up membership.

Instructions

Remove a user or group from a space.

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>"
    },
    "name": "remove_space_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

C2.9/5.0
Behavior2/5

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

Annotations already flag this as destructive, so the safety profile is partly covered. The description adds nothing about permissions required, whether removal is idempotent, whether the removed user's pages become orphaned, or what happens when removing the last admin — all critical for a destructive membership operation.

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 front-loaded sentence with zero filler, but the brevity comes at the cost of under-specification rather than being efficiently complete.

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

Completeness2/5

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

For a destructive, three-parameter mutation with no output schema and low schema coverage, this one-liner is insufficient. It should at minimum clarify the user_id/group_id exclusivity and the permission requirements.

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 only 33% (only space_id is described), so the description must compensate. The phrase 'user or group' does imply that user_id and group_id are alternative targets, which the schema does not express via oneOf or at least one-of requirement, but it never states exclusivity or which is mandatory, leaving real ambiguity.

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?

States a specific verb and resource ('Remove a user or group from a space'), which is unambiguous on its own. However, it does not differentiate itself from siblings such as update_space_member_role or add_space_members, so an agent must infer the boundary.

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

Usage Guidelines2/5

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

The description gives no when-to-use or when-not-to-use guidance. It doesn't say to prefer update_space_member_role when only revoking a role, nor does it mention prerequisites such as admin rights or space ownership.

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