Skip to main content
Glama

GrowSurf

Create Program

growsurf_create_campaign

Create a new GrowSurf program (campaign) with type-appropriate starter content and optional inline rewards. Starter content includes Design, Emails, Options, Installation, and GrowSurf Window defaults. Only type is required. The program starts in DRAFT status and is owned by the credential's bound team. currencyISO defaults to USD and is immutable after creation. goal sets the sharing settings at creation and cannot be set later. Incentives require the customer's chosen amount or commission rate. Without rewards, GrowSurf's starter rewards are switched off and award nothing. Editor-tab configuration is not accepted here. Does not require GROWSURF_CAMPAIGN_ID. The response includes the new program 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": {
      "type": "<type>"
    },
    "name": "growsurf_create_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNoWhat the program is for, which seeds the share buttons and the starter rewards that suit that audience. Programs whose participants refer other businesses (`CUSTOMERS`, `USERS`, `B2B_SAAS_SELF_SERVICE`, `B2B_SAAS_ENTERPRISE`, `HEALTHCARE_PROVIDERS`) start with the LinkedIn share button visible. Consumer, financial, education, insurance, telehealth, newsletter, and waitlist programs (`B2C_SUBSCRIPTIONS`, `FINANCIAL_SERVICES`, `ONLINE_EDUCATION`, `INSURANCE`, `ONLINE_INSURANCE`, `TELEHEALTH`, `SUBSCRIBERS`, `WAITLIST`) start with it hidden. On a referral program, each goal also sets the rest of its share buttons to suit that audience — a telehealth program keeps the public feeds off, a consumer subscription turns Pinterest and Reddit on; an affiliate program has its own share defaults, so only the LinkedIn default applies to one. When you create a referral program without `rewards`, the goal also decides the starter rewards: most goals get one double-sided reward, `HEALTHCARE_PROVIDERS` gets a single-sided reward, `SUBSCRIBERS` gets a four-step milestone ladder, and `WAITLIST` gets a leaderboard. Every starter reward arrives switched off with a placeholder name, so the program awards nothing until the customer sets the amount and turns one on. `TELEHEALTH` is for consumer telehealth and wellness subscriptions, where patients refer friends; `HEALTHCARE_PROVIDERS` is for provider networks and clinician-facing products, where practices refer peer practices. `INSURANCE` replaces `ONLINE_INSURANCE`, which is still accepted and behaves identically. Omit `goal` and every share button keeps its standard default. Sharing settings remain editable after creation. The goal itself is set only at creation.
nameNo
typeYes
rewardsNoRewards to create with the program. Include this only when the person told you the amount and who funds it. Omit it and the program is seeded with starter rewards that are switched off, awarding nothing until the customer enables one. Send `[]` to start with no rewards at all.
companyNameNo
currencyISONo
companyLogoImageUrlNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / rewards / items / properties / type / description
      Previous value: -"The reward type. Required on every reward. The other fields match `growsurf_create_campaign_reward`."New value: +"The reward type. Required on every reward. The other fields match `growsurf_create_campaign_reward`. On a `DOUBLE_SIDED` reward, set both `description` (what the referrer gets) and `referralDescription` (what the referred friend gets)."
  2. Changed2 schema fields changed
    • addedInput schema / properties / rewards / items / properties
      Added value: +{
      +  "type": {
      +    "description": "The reward type. Required on every reward. The other fields match `growsurf_create_campaign_reward`.",
      +    "enum": [
      +      "SINGLE_SIDED",
      +      "DOUBLE_SIDED",
      +      "MILESTONE",
      +      "LEADERBOARD",
      +      "AFFILIATE"
      +    ],
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / rewards / items / required
      Added value: +[
      +  "type"
      +]
  3. Changed5 schema fields changed
    • addedInput schema / properties / companyLogoImageUrl / minLength
      Added value: +1
    • changedInput schema / properties / companyLogoImageUrl / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedInput schema / properties / companyName / minLength
      Added value: +1
    • changedInput schema / properties / companyName / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedInput schema / properties / name / minLength
      Added value: +1
  4. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare it as a non-destructive, non-idempotent write. The description goes well beyond: new programs start in DRAFT, are owned by the credential's bound team, currencyISO is immutable after creation, goal can never be set later, and without rewards nothing awards anything. That is material side-effect context an agent cannot infer from the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action and the required parameter, then layered with defaults, immutability constraints, and the rewards fallback. Roughly 130 words for a seven-parameter creation tool with several irreversible semantics; no sentence is filler, though the 'stays switched off' point is stated twice.

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?

An output schema exists, so return values need no elaboration, yet the description still notes the response carries the new program id. Combined with draft status, ownership, and the irreversibility of currency and goal, an agent has everything needed to call this correctly.

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 description coverage is only 29%, so the description carries real weight: it establishes type as the sole required field, explains goal's set-once behavior, currencyISO's USD default and immutability, and that rewards carry the funding structure. name, companyName, and companyLogoImageUrl still get no mention, which is the only gap.

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?

Opens with a specific verb and resource ('Create a new GrowSurf program (campaign)') and immediately qualifies the scope with 'type-appropriate starter content and optional inline rewards.' That distinguishes it from growsurf_update_campaign, growsurf_clone_campaign, and growsurf_create_campaign_reward without the agent opening any schema.

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

Usage Guidelines5/5

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

Gives explicit when/when-not rules: include 'rewards' only when the person told you the amount and who funds it, send '[]' for no rewards, omit it to get switched-off starter rewards, and 'Editor-tab configuration is not accepted here.' It also notes no GROWSURF_CAMPAIGN_ID is needed, which separates it from the update tools.

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.