Skip to main content
Glama

Change a contact group

flow_update_group

Renames a contact group and adds or removes contacts (ids from flow_list_contacts, up to 1000 each way). Removing a contact from a group keeps the contact; adding one already in it changes nothing. The answer gives the group's contact count after the change and its link.

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": {
      "id": "<id>"
    },
    "name": "flow_update_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesGroup id, from flow_list_groups
nameNo
brandIdNoThe id of the brand this change is for: the active brand (flow_whoami). Required when the connection covers several brands; the change is refused when another brand is active.
addContactIdsNo
removeContactIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the two most important semantic rules: removing from a group does not delete the contact, and adding an existing member is a no-op. This usefully reconciles the destructiveHint=false and idempotentHint=false flags. It also describes the response (contact count plus link) despite there being no output schema.

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 tight sentences, front-loaded with the mutation and followed by semantics and return value. Minor redundancy: 'up to 1000 each way' restates the schema's maxItems constraint.

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

Completeness5/5

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

For a five-parameter mutation with no output schema, the definition covers purpose, side-effect semantics, id source, and response shape, with brandId and bounds fully documented in the schema. An agent has enough to call this correctly without further context.

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 40%, and the description compensates only partially: it explains where contact ids come from and the 1000-per-side limit (already stated as maxItems). The 'name' parameter is never described (length constraints, whether empty means no rename) and brandId behavior is left entirely to 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?

States a specific verb set and resource: 'Renames a contact group and adds or removes contacts'. The scope is narrow and unambiguous, and it clearly differs from siblings such as flow_create_group, flow_delete_group, and flow_update_contact without those names being needed.

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?

Gives the practical precondition for the contact-id parameters by naming flow_list_contacts as the source, and implies the tool is for modifying an existing group. It stops short of explicit when-not guidance (e.g., use flow_create_group to make a new group, or flow_delete_group to remove one entirely).

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