Skip to main content
Glama
GrowSurf MCP Server

GrowSurf MCP Server

Official

Update Campaign Group

growsurf_update_campaign_group
DestructiveIdempotent

Rename, reorder, or replace the rules of a GrowSurf campaign group; adding or removing participant rules moves participants immediately, while email and domain changes affect future placements.

Instructions

Rename, reorder, or change the rules of a group on your GrowSurf program. Sending rules replaces the whole list. An added PARTICIPANT rule moves that participant in now; a removed one moves them back to Default if they are still in this group. Email and domain rule changes move no one. To change the group's rewards, use growsurf_update_campaign_reward. Group names must be unique in the program (case is ignored), and "Default" is reserved. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.

Input Schema

NameRequiredDescriptionDefault
nameNoThe group name (internal only, never shown to participants).
orderNoThe group's position in the program's group list.
rulesNoReplaces the group's whole rule list. Up to 500.
groupIdYesThe group ID (`grp_…`).
campaignIdYesTarget program id for this call: the `id` returned by `growsurf_list_campaigns`, not the program name or a share URL. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server.

Output Schema

NameRequiredDescriptionDefault
idNoThe group ID (`grp_…`).
nameNoThe group name (internal only, never shown to participants).
orderNoThe group's position in the program's group list.
rulesNoThe rules that place participants in this group.
createdAtNoWhen the group was created, in Unix milliseconds.
updatedAtNoWhen the group was last changed, in Unix milliseconds.
signupCodeNoThe code for this group's signup link. The link alone does not reveal private rewards. A participant who signs up with the link and verifies their identity joins the group.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.19.34
    • changedOutput schema / properties / signupCode / description
      Previous value: -"The code for this group's signup link. A participant who signs up through the link joins this group."New value: +"The code for this group's signup link. The link alone does not reveal private rewards. A participant who signs up with the link and verifies their identity joins the group."
  2. Changed2 schema fields changedv0.19.33
    • addedInput schema / anyOf
      Added value: +[
      +  {
      +    "required": [
      +      "name"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "order"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "rules"
      +    ]
      +  }
      +]
    • changedInput schema / properties / campaignId / description
      Previous value: -"Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server."New value: +"Target program id for this call: the `id` returned by `growsurf_list_campaigns`, not the program name or a share URL. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server."
  3. Addedv0.19.32

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses the key side effect: sending `rules` replaces the entire list, and participant rules move people immediately while email/domain changes move no one. That is valuable, non-obvious context. It does not mention permissions or any nesting effects when a rule is removed, so it falls short of the highest score.

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 text is dense but well front-loaded, putting the action first, then the rules semantics, the sibling pointer, and the targeting note. Most sentences add value. A little more compression would help, but it avoids repetition overall.

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 destructive 5-parameter mutation with full schema coverage, a rich annotation set, and an output schema, this description is close to complete: it spells out rule-replacement behavior, uniqueness constraints, and program targeting. It misses authorization requirements and what the response contains, minor omissions because an output schema exists.

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 adds real semantics beyond the schema, especially for `rules`: a removed PARTICIPANT rule moves that person back to Default if they are still in the group, while email/domain changes move no one. It also reinforces how `campaignId` resolves, although the schema already documents that default.

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 opening sentence names specific verbs and the resource: "Rename, reorder, or change the rules of a group." It also identifies the target program, so an agent can distinguish this from create/delete campaign group siblings without checking either 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 clearly states what the tool changes and explicitly routes reward edits to `growsurf_update_campaign_reward`. It also gives preconditions (unique names, "Default" reserved) but does not say when this tool should not be used at all—for example, no guidance on using the list or create siblings first.

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

Deploy Server

Other Tools