Skip to main content
Glama

GrowSurf

Get Program Options

growsurf_get_campaign_options
Read-onlyIdempotent

Fetch the Options tab configuration for your GrowSurf program (referral triggers, anti-fraud lists and toggles, US state restrictions under compliance, affiliate enrollment and application review, notifications, the program's languages under languages, and other behavior options). languages.baseLanguageTranslation is read-only: it counts Program Editor text that is not in a non-English base language yet, which the customer can translate from Options > Languages in the dashboard. Returns the full object with every field and its current value, the same shape you send back on update. autoFulfillRewards: false permits manual fulfillment and does not prove that any reward went undelivered. 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_get_campaign_options"
  }
}

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
fraudNoAnti-fraud settings: `blockedEmails`/`blockedIps`/`blockedCountries` and matching allow lists, `blockBurnerEmails`, `blockDataCenterIps`, `blockHighRiskReferrers`, `autoBlockHighRiskIps`, per-IP signup rate limits, and `recaptcha`.
languagesNoThe languages the program runs in. Participants see the portal and program emails in their language. Translations are managed in the dashboard.
complianceNoUS state restrictions: `blockedUsStates`, the two-letter codes of the states the program is not available in.
autoBlockFraudNoAutomatically block signups flagged as high fraud risk.
rewardEvidenceNoWhat this response establishes about rewards. Combine with other reads; unknown here does not override evidence elsewhere.
payoutThresholdNoAffiliate programs only. Minimum payout in minor currency units (e.g. cents). `0` or `null` means no minimum.
attributionModelNoSelects which server-verified visit receives conversion credit within `referralCookieWindowDays`. `LAST_CLICK` is used when this field is missing, including for programs created before attribution models were configurable.
taxDocumentationNoAffiliate programs only. Company billing details (name, address, VAT number) used on affiliate payout invoices and for VAT handling.
autoFulfillRewardsNoReferral programs only. Automatically mark earned rewards as fulfilled. `false` permits manual fulfillment and does not establish a delivery failure.
notificationEmailsNoOwner notification settings: `recipients` plus per-event `events` toggles.
blockPaidAdsTrafficNoDo not attribute referrals from visitors who arrived through paid ads.
enforceGdprComplianceNoStore only the minimum participant data (no IP addresses, fingerprints, or mobile instance ids).
requireParticipantAuthNoRequire returning participants to authenticate. Affiliate programs require `true`.
affiliateApplicationModeNoAffiliate programs only. How public signups join the program. `OPEN_ENROLLMENT` enrolls them directly; `MANUAL_REVIEW` collects an application you approve or deny; `AUTO_APPROVE` collects the application and approves it immediately. Switching to a reviewed mode requires a saved Program Page. Enrollment through the API, CSV import, dashboard, or invites is never blocked by this setting.
referralCookieWindowDaysNoHow long a referral-link click is remembered in the visitor's browser, in days.
referralCreditWindowDaysNoHow long a referred friend has to complete the qualifying action, in days. `null` means the credit never expires.
requireManualFraudApprovalNoFlag suspected fraud for review instead of blocking signups automatically.
requireManualRewardApprovalNoReferral programs only. Hold each earned reward for manual approval before it unlocks.
affiliateReapplicationPolicyNoAffiliate programs only. Whether a denied applicant may apply again. `AFTER_COOLDOWN` (the default) allows a new application once `affiliateReapplicationCooldownDays` has passed; `DISABLED` never allows one.
affiliateReapplicationCooldownDaysNoAffiliate programs only. How many days a denied applicant waits before they can apply again (1-365, default 30). Only used when `affiliateReapplicationPolicy` is `AFTER_COOLDOWN`.
affiliateApplicationReviewEstimateBusinessDaysNoAffiliate programs only. Optional review-time expectation shown to pending applicants, in business days (1-60). `null` clears it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / compliance
      Added value: +{
      +  "description": "US state restrictions: `blockedUsStates`, the two-letter codes of the states the program is not available in.",
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / languages / properties / baseLanguageTranslation
      Added value: +{
      +  "description": "Read-only. When `baseLanguage` is not `en`, how much of the program's text in the Program Editor is not in the base language yet. GrowSurf translates its own default text. Text the customer wrote stays as written until the customer translates it from Options > Languages in the dashboard. `null` when `baseLanguage` is `en`, or when the account does not include additional languages. It is ignored in updates.",
      +  "properties": {
      +    "total": {
      +      "description": "How many texts the Program Editor holds for this program.",
      +      "type": "integer"
      +    },
      +    "untranslated": {
      +      "description": "How many texts have no current translation in the base language. This includes default text GrowSurf is still translating, so it can stay high for a few minutes after `baseLanguage` changes.",
      +      "type": "integer"
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  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
    • changedOutput schema / properties / languages / properties / baseLanguage / description
      Previous value: -"The language the program is written in (default `en`). Participants see it when their language is not one of the program's languages, and for untranslated text. Supported codes: `en`, `es`, `fr`, `de`, `it`, `pt-BR`, `nl`, `pl`, `sv`, `tr`, `ja`, `ko`, `zh-CN`, `id`, `da`, `nb`, `nn`, `fi`, `is`, `cs`, `sk`, `hu`, `ro`, `hr`, `sl`, `et`, `lv`, `lt`, `el`, `bg`, `uk`, `ru`, `pt-PT`, `ca`, `vi`, `ms`, `fil`, `af`, `sw`."New value: +"The language the program is written in (default `en`). Participants see it when their language is not one of the program's languages, and for untranslated text. Supported codes: `en`, `es`, `fr`, `de`, `it`, `pt-BR`, `nl`, `pl`, `sv`, `tr`, `ja`, `ko`, `zh-CN`, `id`, `da`, `nb`, `nn`, `fi`, `is`, `cs`, `sk`, `hu`, `ro`, `hr`, `sl`, `et`, `lv`, `lt`, `el`, `bg`, `uk`, `ru`, `pt-PT`, `ca`, `vi`, `ms`, `fil`, `af`, `sw`, `zh-TW`, `es-419`."
  5. Changed4 schema fields changed
    • changedOutput schema / properties / affiliateApplicationMode / description
      Previous value: -"Affiliate programs only. How public signups join the program. `OPEN_ENROLLMENT` enrolls them directly; `MANUAL_REVIEW` collects an application you approve or deny; `AUTO_APPROVE` collects the application and approves it immediately. A reviewed mode requires the program's published application page. Enrollment through the API, CSV import, dashboard, or invites is never blocked by this setting."New value: +"Affiliate programs only. How public signups join the program. `OPEN_ENROLLMENT` enrolls them directly; `MANUAL_REVIEW` collects an application you approve or deny; `AUTO_APPROVE` collects the application and approves it immediately. Switching to a reviewed mode requires a saved Program Page. Enrollment through the API, CSV import, dashboard, or invites is never blocked by this setting."
    • addedOutput schema / properties / attributionModel
      Added value: +{
      +  "description": "Selects which server-verified visit receives conversion credit within `referralCookieWindowDays`. `LAST_CLICK` is used when this field is missing, including for programs created before attribution models were configurable.",
      +  "enum": [
      +    "LAST_CLICK",
      +    "FIRST_CLICK"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / languages / description
      Previous value: -"The languages the program runs in. Participants see the portal and program emails in their language. Turning on additional languages, and any change while they are on, requires the Business plan or higher. Translations are managed in the dashboard."New value: +"The languages the program runs in. Participants see the portal and program emails in their language. Translations are managed in the dashboard."
    • addedOutput schema / properties / languages / properties / flagCountries
      Added value: +{
      +  "additionalProperties": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "description": "The flag shown next to each language name when `showFlags` is on, keyed by language code (for example `{ en: 'GB' }`). Only languages with more than one flag to choose from are listed. Values are ISO 3166 country codes; `ES-CT` is Catalonia. Send `null` for a language to go back to its default flag.",
      +  "type": "object"
      +}
  6. Changed2 schema fields changed
    • changedOutput schema / properties / languages / properties / baseLanguage / description
      Previous value: -"The language the program is written in (default `en`). Participants see it when their language is not one of the program's languages, and for untranslated text. Supported codes: `en`, `es`, `fr`, `de`, `it`, `pt-BR`, `nl`, `pl`, `sv`, `tr`, `ja`, `ko`, `zh-CN`, `id`."New value: +"The language the program is written in (default `en`). Participants see it when their language is not one of the program's languages, and for untranslated text. Supported codes: `en`, `es`, `fr`, `de`, `it`, `pt-BR`, `nl`, `pl`, `sv`, `tr`, `ja`, `ko`, `zh-CN`, `id`, `da`, `nb`, `nn`, `fi`, `is`, `cs`, `sk`, `hu`, `ro`, `hr`, `sl`, `et`, `lv`, `lt`, `el`, `bg`, `uk`, `ru`, `pt-PT`, `ca`, `vi`, `ms`, `fil`, `af`, `sw`."
    • addedOutput schema / properties / languages / properties / showFlags
      Added value: +{
      +  "description": "Shows a flag next to each language name in the language picker participants use. New programs start with `false`.",
      +  "type": "boolean"
      +}
  7. Changed1 schema field changed
    • changedOutput schema / properties / languages / description
      Previous value: -"The languages the program runs in. Participants see the portal and program emails in their language. Turning on additional languages requires the Business plan or higher. Translations are managed in the dashboard."New value: +"The languages the program runs in. Participants see the portal and program emails in their language. Turning on additional languages, and any change while they are on, requires the Business plan or higher. Translations are managed in the dashboard."
  8. Changed1 schema field changed
    • addedOutput schema / properties / languages
      Added value: +{
      +  "description": "The languages the program runs in. Participants see the portal and program emails in their language. Turning on additional languages requires the Business plan or higher. Translations are managed in the dashboard.",
      +  "properties": {
      +    "additionalLanguages": {
      +      "description": "Other languages participants can see, besides `baseLanguage`, using the same codes. `PATCH` replaces the whole list; `[]` turns them off. The base language is dropped from the list and duplicates collapse. Removing a language keeps its translations.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "baseLanguage": {
      +      "description": "The language the program is written in (default `en`). Participants see it when their language is not one of the program's languages, and for untranslated text. Supported codes: `en`, `es`, `fr`, `de`, `it`, `pt-BR`, `nl`, `pl`, `sv`, `tr`, `ja`, `ko`, `zh-CN`, `id`.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  9. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, closed-world safety, so the description earns credit for going well beyond: it discloses that the full object with every field and current value is returned, that the response shape matches the update payload, that `languages.baseLanguageTranslation` is a read-only counter with a specific dashboard-side meaning, and that `autoFulfillRewards: false` does not prove a reward went undelivered. Those last two are genuine misinterpretation guards.

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?

Purpose and field inventory are front-loaded, and the field list is packed into one parenthetical rather than sprawling. It is dense but every sentence carries information; the only cost is that the read-only-field and autoFulfillRewards caveats sit mid-paragraph where they are easy to skim past.

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?

An output schema exists, yet the description still usefully confirms the return is the complete options object in update-payload shape, and it covers the read-only field and the targeting default. For a single-parameter read tool this is close to complete; only explicit routing to growsurf_update_campaign_options as the mutation path is missing.

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% on the single parameter, and the schema already documents both the id-vs-name distinction and the GROWSURF_CAMPAIGN_ID fallback. The description restates the same fallback rule ('Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID') without adding format or resolution detail, so the high-coverage baseline of 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 ('Fetch the Options tab configuration for your GrowSurf program') and then enumerates the concrete contents: referral triggers, anti-fraud lists/toggles, US state restrictions, affiliate enrollment, notifications, languages. An agent knows exactly which slice of program configuration this returns versus, say, growsurf_get_campaign or growsurf_get_campaign_design.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: 'the same shape you send back on update' hints that this is the read counterpart to growsurf_update_campaign_options, and the campaignId targeting rule is spelled out. But there is no explicit 'use this before updating' or 'do not use this to change settings' guidance, and no differentiation from sibling read 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.