Skip to main content
Glama

wariwari

Edit a member

update_member
Destructive

Use this to rename a guest or change their colour, or to change the role (admin, editor, read_only) of a member linked to an account. expectedRevision is the member's lockVersion from get_group.

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": {
      "groupToken": "<groupToken>",
      "participantToken": "<participantToken>",
      "expectedRevision": "<expectedRevision>"
    },
    "name": "update_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe member's new name.
colorNoAvatar colour, or `null` for the default.
groupTokenYesThe group's token, from `listGroups` or `listSearchResults`.
membershipRoleNoOnly for a participant linked to an account; a role for a guest is a 400. Needs `viewerAccess.canManageAccess`. A restricted group keeps at least one admin.
expectedRevisionYesThe `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it.
participantTokenYesThe member's token, from `showGroup`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / name / description
      Added value: +"The member's new name."
  2. Changed12 schema fields changed
    • addedInput schema / $defs / Color
      Added value: +{
      +  "description": "An avatar colour as an uppercase hex string. The server accepts only the\ncolours of its palette and answers 400 for any other; the palette can grow.\n",
      +  "example": "#D4A574",
      +  "pattern": "^#[0-9A-F]{6}$",
      +  "type": "string"
      +}
    • addedInput schema / $defs / MembershipRole
      Added value: +{
      +  "enum": [
      +    "read_only",
      +    "editor",
      +    "admin"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / $defs / ParticipantColor
      Removed value: -{
      -  "description": "Avatar colour from the fixed palette, or `null` for the default.",
      -  "enum": [
      -    "#D4A574",
      -    "#6E7A4F",
      -    "#A94E3B",
      -    "#1F3A5F",
      -    "#8A6A3F",
      -    "#7A5D86",
      -    "#4F7F78",
      -    "#AD5C65",
      -    "#C2A64B",
      -    "#C47A55",
      -    "#5C6F8F",
      -    "#8D6B5A",
      -    null
      -  ],
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedInput schema / properties / color / $ref
      Removed value: -"#/$defs/ParticipantColor"
    • addedInput schema / properties / color / description
      Added value: +"Avatar colour, or `null` for the default."
    • addedInput schema / properties / color / oneOf
      Added value: +[
      +  {
      +    "$ref": "#/$defs/Color"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / expectedRevision
      Added value: +{
      +  "description": "The `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / groupToken / description
      Added value: +"The group's token, from `listGroups` or `listSearchResults`."
    • removedInput schema / properties / lockVersion
      Removed value: -{
      -  "description": "Latest lock version from the participant being updated.",
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • addedInput schema / properties / membershipRole
      Added value: +{
      +  "allOf": [
      +    {
      +      "$ref": "#/$defs/MembershipRole"
      +    }
      +  ],
      +  "description": "Only for a participant linked to an account; a role for a guest is a\n400. Needs `viewerAccess.canManageAccess`. A restricted group keeps at\nleast one admin.\n"
      +}
    • addedInput schema / properties / participantToken / description
      Added value: +"The member's token, from `showGroup`."
    • changedInput schema / required
      Previous value: -[
      -  "groupToken",
      -  "participantToken",
      -  "lockVersion"
      -]New value: +[
      +  "groupToken",
      +  "participantToken",
      +  "expectedRevision"
      +]
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare the mutation (readOnlyHint=false) and destructiveHint=true, so the safety profile is known. The description adds the optimistic-concurrency prerequisite (expectedRevision as the lockVersion), but it does not explain the destructive consequence of a role change (demoting/overwriting access) or what happens on failure beyond what the schema already states.

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?

The primary sentence is front-loaded with the concrete operations, and the second sentence is short and targeted at the trickiest parameter. The second sentence duplicates information already in the schema, keeping it from a 5.

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?

With annotations, a fully documented six-parameter schema, and no output schema, the description covers enough for correct invocation. It is only slightly thin on the side-effects of role changes and on the guest-vs-account distinction for the name/colour parameters.

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 description coverage is 100%, so all six parameters are already documented in the schema, including the colour palette, the viewerAccess.canManageAccess requirement, and the 409 CONFLICT on revision mismatch. The description's only parameter note ('lockVersion from get_group') largely restates the schema, and it even uses a source name (get_group) that differs from the schema's showGroup/listGroups, adding slight noise rather than meaning.

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 names concrete operations (rename, change colour, change role) on a specific resource (a member), and even distinguishes guests from members linked to an account. It stops short of naming which sibling to use instead (e.g., move_member, remove_member), so it is clear but not fully differentiating.

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

Usage Guidelines4/5

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

It gives a clear context for use — renaming/colour on guests, role changes on account-linked members — and implies the role path is unavailable for guests. It does not explicitly state when not to use it or name an alternative tool, which keeps it below a 5.

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