Skip to main content
Glama

GrowSurf

Update Program Installation

growsurf_update_campaign_installation
DestructiveIdempotent

Update the Installation tab configuration for your GrowSurf program under fields. Only supplied fields change; omitted fields retain their existing values and arrays replace wholesale. allowedUrls includes permitted browser origins such as http://localhost:3000. An origin missing from both shareUrl and allowedUrls can return 403. Referral links already shared point at the current shareUrl. Replacing an existing Share URL requires the customer's explicit approval and replaceExistingShareUrl: true; otherwise the patch is refused. One call can change many fields, so send related changes together instead of one field per call. Read growsurf_get_campaign_installation first and use its field names and allowed values exactly. An invalid field returns an error that names the field. Targets campaignId if supplied, 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": {
      "fields": "<fields>",
      "campaignId": "<campaignId>"
    },
    "name": "growsurf_update_campaign_installation"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYesInstallation fields to patch. Common keys include `shareUrl`, `allowedUrls`, `signupEvent`, `referralTrigger`, `signup`, `useGrowSurfHostedLinks`, `mobile`, `offerPageRedirectSeconds`, and `instructionSelections`. Arrays replace wholesale.
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.
replaceExistingShareUrlNoSet this to `true` only after the customer confirms they want a different landing page. Without it, a patch that would replace a Share URL that is already set is refused.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / fields / properties / instructionSelections / properties / stepProviders / properties / step2Referral / enum
      Previous value: -[
      -  "restApi",
      -  "zapier",
      -  "stripe",
      -  "chargebee",
      -  "recurly",
      -  "paypal",
      -  "hubspot",
      -  "salesforce",
      -  "klaviyo",
      -  "customerio",
      -  "baskHealth",
      -  "telegra",
      -  "mdIntegrations",
      -  "lithos",
      -  "carevalidate"
      -]New value: +[
      +  "restApi",
      +  "zapier",
      +  "stripe",
      +  "chargebee",
      +  "recurly",
      +  "paypal",
      +  "hubspot",
      +  "highlevel",
      +  "salesforce",
      +  "klaviyo",
      +  "customerio",
      +  "baskHealth",
      +  "telegra",
      +  "mdIntegrations",
      +  "lithos",
      +  "carevalidate"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / fields / description
      Previous value: -"Installation fields to patch. Common keys include `shareUrl`, `allowedUrls`, `signupEvent`, `referralTrigger`, `signup`, `offerPageRedirectSeconds`, and `instructionSelections`. Arrays replace wholesale."New value: +"Installation fields to patch. Common keys include `shareUrl`, `allowedUrls`, `signupEvent`, `referralTrigger`, `signup`, `useGrowSurfHostedLinks`, `mobile`, `offerPageRedirectSeconds`, and `instructionSelections`. Arrays replace wholesale."
  3. Changed1 schema field changed
    • 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."
  4. Changed1 schema field changed
    • addedInput schema / properties / fields / properties / instructionSelections / properties / webTracking
      Added value: +{
      +  "description": "Web referral tracking guide shown in step 1. Referral programs only; does not change the referral setup.",
      +  "enum": [
      +    "hosted",
      +    "website"
      +  ],
      +  "type": "string"
      +}
  5. Changed7 schema fields changed
    • changedInput schema / properties / fields / properties / allowedUrls / description
      Previous value: -"Every browser origin allowed to use the program, including local and staging origins. Send the full array because arrays replace wholesale. Known shared-platform root domains, such as `github.io`, do not grant access. Add your site's hostname, such as `https://piedpiper.github.io`, or a domain you own. Path-based shared hosts, such as `unbouncepages.com`, require a domain you own."New value: +"Every browser origin allowed to use the program, including local and staging origins. Send the full array because arrays replace wholesale. Known shared-platform root domains, such as `github.io`, do not grant access. Add your site's hostname, such as `https://piedpiper.github.io`, or a domain you own. Path-based shared hosts, such as `unbouncepages.com`, require a domain you own. Each new entry must be a full URL that includes its scheme, such as `https://`."
    • addedInput schema / properties / fields / properties / instructionSelections / properties / stepProviders / properties / step2Referral / description
      Added value: +"`baskHealth`, `telegra`, `mdIntegrations`, `lithos`, and `carevalidate` are available only for programs with the `TELEHEALTH` goal."
    • changedInput schema / properties / fields / properties / instructionSelections / properties / stepProviders / properties / step2Referral / enum
      Previous value: -[
      -  "restApi",
      -  "zapier",
      -  "stripe",
      -  "chargebee",
      -  "recurly",
      -  "paypal",
      -  "hubspot",
      -  "salesforce"
      -]New value: +[
      +  "restApi",
      +  "zapier",
      +  "stripe",
      +  "chargebee",
      +  "recurly",
      +  "paypal",
      +  "hubspot",
      +  "salesforce",
      +  "klaviyo",
      +  "customerio",
      +  "baskHealth",
      +  "telegra",
      +  "mdIntegrations",
      +  "lithos",
      +  "carevalidate"
      +]
    • addedInput schema / properties / fields / properties / instructionSelections / properties / stepProviders / properties / step3Referral / description
      Added value: +"`baskHealth` is available only for programs with the `TELEHEALTH` goal."
    • changedInput schema / properties / fields / properties / instructionSelections / properties / stepProviders / properties / step3Referral / enum
      Previous value: -[
      -  "webhooks",
      -  "zapier",
      -  "paypal",
      -  "tangocard",
      -  "stripe",
      -  "chargebee",
      -  "recurly"
      -]New value: +[
      +  "webhooks",
      +  "zapier",
      +  "paypal",
      +  "tangocard",
      +  "tremendous",
      +  "stripe",
      +  "chargebee",
      +  "recurly",
      +  "baskHealth"
      +]
    • addedInput schema / properties / fields / properties / signup / properties / additionalSignupUrls
      Added value: +{
      +  "description": "Extra pages where GrowSurf watches signup form fields when `trackInputFields` is on. Each URL must include an `http(s)://` scheme. Sending this array replaces the entire list.",
      +  "items": {
      +    "maxLength": 500,
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / fields / properties / signup / properties / forms
      Added value: +{
      +  "description": "Forms GrowSurf listens to when `signupEvent` is `FORM_DETECTION`, in the shape `growsurf_get_campaign_installation` returns. A selected form (`isSelected: true`) must have exactly one field whose `key` is `email`. A form sent back unchanged is not checked again. Sending this array replaces the entire list.",
      +  "items": {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  "maxItems": 500,
      +  "type": "array"
      +}
  6. Changed2 schema fields changed
    • changedInput schema / properties / fields / description
      Previous value: -"Installation fields to patch. Common keys include `shareUrl`, `allowedUrls`, `signupEvent`, `referralTrigger`, `signup`, and `instructionSelections`. Arrays replace wholesale."New value: +"Installation fields to patch. Common keys include `shareUrl`, `allowedUrls`, `signupEvent`, `referralTrigger`, `signup`, `offerPageRedirectSeconds`, and `instructionSelections`. Arrays replace wholesale."
    • addedInput schema / properties / fields / properties / offerPageRedirectSeconds
      Added value: +{
      +  "description": "Shows the Claim Offer Popup on a GrowSurf page before a referred friend reaches the customer's site, then redirects after this many seconds. Requires `useGrowSurfHostedLinks: true`. `null` turns the page off. Set the page's side content with `referredExperience.offerPageDescription`, `offerPageSteps`, and `offerPageLinks` through `growsurf_update_campaign_design`.",
      +  "enum": [
      +    5,
      +    10,
      +    15,
      +    null
      +  ],
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
  7. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag this as a destructive, idempotent, open-world write, and the description adds material beyond them: partial-patch semantics, whole-array replacement, 403 responses when an origin is unlisted, refusal of Share URL changes without `replaceExistingShareUrl: true`, and field-named validation errors. It also notes that already-shared referral links keep pointing at the current `shareUrl`, which is the key blast radius of the mutation.

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?

Front-loaded with the core operation and patch semantics before cautions, and nearly every sentence carries an operational fact. It runs long, though, and a few clauses (the `allowedUrls` example, the referral-link note) partially restate details present in the field descriptions.

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 destructive, deeply nested patch tool with an output schema, the description covers the essential unknowns: merge-vs-replace behavior, prerequisite read call, approval requirement, error shape, and default target resolution. Return values are correctly left to the output schema.

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, and the description does not re-document field names. It does add cross-cutting semantics the schema leaves scattered: that omitted fields are preserved while arrays replace wholesale, that `campaignId` falls back to `GROWSURF_CAMPAIGN_ID`, and the gating role of `replaceExistingShareUrl`.

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 first sentence names a specific verb and resource ('Update the Installation tab configuration ... under `fields`'), which distinguishes it from the read sibling `growsurf_get_campaign_installation` and the design sibling referenced later. An agent can identify the scope 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 concrete working guidance: read `growsurf_get_campaign_installation` first, reuse its field names and allowed values, batch related changes into one call, and obtain explicit customer approval before replacing a Share URL. What's missing is an explicit statement of when to use `growsurf_update_campaign_design` or `growsurf_update_campaign_options` instead of this tool for adjacent settings.

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.