Skip to main content
Glama
GrowSurf MCP Server

GrowSurf MCP Server

Official

List Campaign Groups

growsurf_list_campaign_groups
Read-onlyIdempotent

List a GrowSurf program's groups in display order to inspect reward-list assignments by participant segment; optionally target a campaign ID or use the configured default.

Instructions

List your GrowSurf program's groups in display order. Groups give some participants a different reward list. Each participant is in one group, and groupId: null is Default, which holds the program's standard rewards and is not in this list. A group's rewards replace Default's whole reward list for its members' new referrals. Leaderboard rewards stay program-wide. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.

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": {
      "campaignId": "<campaignId>"
    },
    "name": "growsurf_list_campaign_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
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
groupsNoThe program's groups in display order. Default is not listed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.19.34
    • changedOutput schema / properties / groups / items / 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. Changed1 schema field changedv0.19.33
    • 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

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine domain behavior beyond that — result ordering, the exclusion of the Default group, the reward-replacement semantics, and that leaderboard rewards remain program-wide — but says nothing about empty results, error cases, or authorization needs. Solid added context, not exhaustive.

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?

Four short sentences, front-loaded with the core action and ordering, followed by the domain model explanation. The final campaignId sentence duplicates what the schema already documents and is the one part that does not earn its place.

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 single-parameter read tool with a full output schema and rich annotations, the description covers the conceptual model an agent needs (what groups are, Default's exclusion, reward replacement scope). Only minor operational details, such as behavior on an empty list, are absent, and those are low-value here.

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 the schema already explains campaignId fully. The description's closing sentence ("Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID") restates the schema's default behavior rather than adding format or validation meaning. Baseline 3 applies.

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 and resource ("List your GrowSurf program's groups") plus an ordering guarantee ("in display order"). It also immediately explains the domain object ("Groups give some participants a different reward list"), so an agent understands what a group is and can distinguish this list operation from the create/update/delete group siblings without opening a 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?

The description gives strong context for when this tool is relevant: you need group definitions to understand per-participant reward variation, and it clarifies that the Default group is NOT returned here, which prevents an agent from hunting for it in the results. It does not, however, explicitly route to alternatives (e.g. create/update/delete group tools) or state preconditions, so it stops short of full when/when-not guidance.

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