Skip to main content
Glama

update_space_member_role

Change a user's or group's role in a Docmost space by setting it to admin, writer, or reader. Use it to adjust permissions without removing the member.

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. First observedv0.1.0

TDQS

C2.6/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 burden, yet it discloses nothing about permission requirements, whether the previous role is retrievable, or what happens when a role is downgraded. It also does not clarify whether the change applies to a user, a group, or both, which matters for a permission-mutating operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is efficient and front-loaded, with no wasted words, but its brevity reflects under-specification rather than tightness. It is appropriately sized only because it omits necessary detail.

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 four-parameter permission-mutation tool with 25% schema coverage and no output schema, the description leaves key gaps: the user/group target selection rule, permission prerequisites, and any effect on existing access. What remains is barely sufficient for an agent to call it correctly.

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%, so the description should compensate, but it adds no meaning beyond the schema. It does not mention that exactly one of user_id or group_id is expected, nor does it explain the admin/writer/reader role semantics or the UUID-or-slug flexibility of space_id.

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 a specific verb ('Change') and resource ('a space member or group's role'), which is clearly distinguishable from siblings like remove_space_member (removal) and add_space_members (addition). It stops short of explicitly naming or contrasting a sibling, so a 4 rather than a 5.

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?

There is no guidance on when to use this versus remove_space_member or add_space_members, and no stated prerequisites such as the caller needing admin rights on the space. The agent must infer the usage context entirely from the tool name.

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