Skip to main content
Glama
GrowSurf MCP Server

GrowSurf MCP Server

Official

Update Program Options

growsurf_update_campaign_options
DestructiveIdempotent

Update GrowSurf program Options settings by sending only the fields to change; omitted values stay intact, arrays are replaced, and language/notification settings are configured through the same call.

Instructions

Update the Options tab configuration for your GrowSurf program under fields, in its existing nested shape. Only supplied fields change; omitted fields retain their existing values and arrays replace wholesale. languages.additionalLanguages takes the full list of extra languages; send [] to turn them off. The base language is dropped from that list and duplicates collapse. languages.showFlags shows or hides the flag next to each language name. languages.flagCountries picks the flag for a language that offers more than one, such as { "en": "GB" }; null restores the default flag. Turning on languages.additionalLanguages returns 403 if your account does not include additional languages. While any are on, every languages change, including turning them off, returns the same 403. Translations are managed in the GrowSurf dashboard, not through this tool. The response's read-only languages.baseLanguageTranslation counts Program Editor text that is not in a non-English base language yet (untranslated of total; null for en, or when the account does not include additional languages). When untranslated is above 0 a few minutes after a baseLanguage change, tell the customer they can translate that text from Options > Languages in the dashboard. The field is ignored if you send it back. Do not rewrite the text yourself. notificationEmails.recipients needs at least one valid email address. One call can change many fields, so send related changes together instead of one field per call. Read growsurf_get_campaign_options 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_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYes
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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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."
  2. Changed2 schema fields changedv0.19.15
    • addedInput schema / properties / campaignId / minLength
      Added value: +1
    • changedInput schema / required
      Previous value: -[
      -  "fields"
      -]New value: +[
      +  "fields",
      +  "campaignId"
      +]
  3. Changed1 schema field changedv0.19.9
    • changedInput schema / properties / campaignId / description
      Previous value: -"Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Pass the `id` returned by growsurf_create_campaign to configure or operate a program you just created, without restarting the server."New 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."
  4. First observedv0.12.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructive, open-world, and idempotent behavior, but the description adds substantial context beyond them: omitted fields retain existing values, arrays replace wholesale, language-plan changes can return 403, `baseLanguageTranslation` is read-only and should be ignored on input, and invalid fields produce an error naming the field.

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 core behavior is front-loaded, and most of the dense paragraph consists of operationally relevant edge cases. It is somewhat verbose around language and translation details, but those details are tied to real error and response behavior rather than filler.

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 nested update tool, the description covers prerequisites, targeting defaults, partial-update semantics, plan-gated errors, read-only response metadata, and invalid-field behavior. It appropriately delegates the full field catalog to `growsurf_get_campaign_options`, which is sufficient given the output schema and required read-first workflow.

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?

The `campaignId` schema already documents target/default behavior, while the generic `fields` schema is only 50% covered. The description compensates by explaining nested-shape requirements, partial-update semantics, array replacement, specific language fields, recipient email requirements, and by directing the agent to `growsurf_get_campaign_options` for exact field names and allowed values.

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: updating the Options tab configuration for a GrowSurf program under `fields`, in its existing nested shape. It also distinguishes the operation from the read path by telling the agent to read `growsurf_get_campaign_options` first.

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?

Provides clear operational guidance: read the options first, send related field changes together, do not manage translations through this tool, and handle the additional-languages 403 case. It does not explicitly compare this tool against sibling update tools such as `growsurf_update_program_resource`, so the alternative-selection guidance is not fully exhaustive.

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