Skip to main content
Glama

wariwari

Edit a group

update_group
Destructive

Use this to rename a group, change its icon or currency, or change who can open it by link (visibility: public_editable, public_view_only, or private_registered for members only). A new currency converts existing expenses in the background, so read an expense again before editing it. expectedRevision is the group's lockVersion from get_group, whose viewerAccess says what the user may change.

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

Input Schema

NameRequiredDescriptionDefault
iconNoA new emoji for the group's icon.
nameNoThe group's new name.
currencyNoNew base currency. Existing transactions are rebased onto it in the background, which bumps their `lockVersion`: re-read a transaction before updating or deleting it after a currency change. Needs `viewerAccess.canManageSettings`.
groupTokenYesThe group's token, from `listGroups` or `listSearchResults`.
visibilityNoWho can open the group by link. Needs `viewerAccess.canManageAccess`. A restricted group needs a linked admin; the caller becomes one when the group has none.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / icon / description
      Added value: +"A new emoji for the group's icon."
    • addedInput schema / properties / name / description
      Added value: +"The group's new name."
  2. Changed8 schema fields changed
    • addedInput schema / $defs / Visibility
      Added value: +{
      +  "description": "Who can open and edit the group by link. `public_editable` lets anyone\nwith the link edit, `public_view_only` lets them view, and\n`private_registered` limits access to linked members.\n",
      +  "enum": [
      +    "public_editable",
      +    "public_view_only",
      +    "private_registered"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / currency / description
      Previous value: -"New base currency. Existing transactions are rebased onto it in the\nbackground.\n"New value: +"New base currency. Existing transactions are rebased onto it in the\nbackground, which bumps their `lockVersion`: re-read a transaction\nbefore updating or deleting it after a currency change. Needs\n`viewerAccess.canManageSettings`.\n"
    • 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`."
    • changedInput schema / properties / icon / maxLength
      Previous value: -8New value: +32
    • removedInput schema / properties / lockVersion
      Removed value: -{
      -  "description": "Latest lock version from the group being updated.",
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • addedInput schema / properties / visibility
      Added value: +{
      +  "allOf": [
      +    {
      +      "$ref": "#/$defs/Visibility"
      +    }
      +  ],
      +  "description": "Who can open the group by link. Needs `viewerAccess.canManageAccess`.\nA restricted group needs a linked admin; the caller becomes one when\nthe group has none.\n"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "groupToken",
      -  "lockVersion"
      -]New value: +[
      +  "groupToken",
      +  "expectedRevision"
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations declare only that this mutates and is destructive; the description supplies the missing behavior: currency changes rebase existing expenses in the background, bumping their lockVersion and forcing a re-read before further edits. It also states per-field authorization (canManageSettings for currency, canManageAccess for visibility), the restricted-group admin rule, and the 409 CONFLICT semantics of expectedRevision.

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?

Three dense sentences, front-loaded with the capability list before the riskier consequences. There is mild duplication — the currency rebase is also documented in the schema's currency description — but no filler.

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?

For a six-parameter mutation with no output schema, the description covers side effects, permissions, and concurrency conflicts well. It leaves unstated whether omitted fields are left untouched (partial update semantics) and what the call returns, which are the remaining gaps.

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 100%, so the baseline is 3; the description nonetheless adds meaning by tying expectedRevision to lockVersion from get_group and pairing viewerAccess with what may be edited. The visibility enum values are restated rather than newly explained, and groupToken's origin is only documented in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific action framing — "Use this to rename a group, change its icon or currency, or change who can open it by link" — enumerating exactly the mutations this tool performs. The resource (group) is distinct from sibling targets like update_expense or update_category, so an agent can route without opening the schema.

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 clear operational context: expectedRevision must come from get_group, and viewerAccess on that record determines what the user may change. It does not name when-not-to-use or point to alternatives for adjacent operations (archive_group, update_member), so it stops short of full routing guidance.

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