Skip to main content
Glama
growsurf

GrowSurf MCP Server

Official
by growsurf

growsurf_update_campaign_installation

DestructiveIdempotent

Patch installation settings for a referral program: adjust share URL, allowed origins, and signup form to control landing pages and access.

Instructions

Update the Installation tab configuration for your GrowSurf program. Only the fields you send are changed; anything you leave out is untouched (arrays replace wholesale). Set shareUrl before allowedUrls; preserve the full allowed-origin array, including any local or staging origin. A browser origin missing from both can return 403. Fetch the tab first, then pass just the fields you want to change under fields. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsYesInstallation fields to patch. Common keys include `shareUrl`, `allowedUrls`, `signupEvent`, `referralTrigger`, and `signup`. Arrays replace wholesale.
campaignIdNoTarget 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.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations indicate readOnlyHint=false, destructiveHint=true, and idempotentHint=true. The description adds valuable behavioral context beyond annotations: it warns about 403 for missing origins, emphasizes that untouched fields remain unchanged, and notes arrays replace wholesale. It contradicts nothing and clarifies the destructive nature via the 'replace wholesale' warning.

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 description is compact, around five sentences, and front-loaded with the primary action. Each sentence contributes: the patch semantics, the ordering rule, the array behavior, the 403 risk, and the fetch-first advice. No fluff, and it flows logically.

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?

Given the tool's complexity (nested objects, arrays, default campaign ID), the description is comprehensive. It covers the default target, patching model, array replacement, ordering requirement, a concrete error condition (403), and a recommended workflow (fetch first). With an output schema available, no return-value details are needed, but everything needed to call it correctly is present.

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 baseline is 3. The description enhances parameter understanding: it distinguishes `shareUrl` from `signup.url`, explains the `allowedUrls` array replacement, and mentions common keys like `signupEvent` and `referralTrigger`. This goes beyond the schema's own descriptions, adding practical context.

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 description clearly states the tool updates the Installation tab configuration for a GrowSurf program. It uses a specific verb ('Update') and resource ('Installation tab configuration'), distinguishing it from sibling tools that update other campaign aspects (design, emails, options). No ambiguity.

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 solid usage guidance: fetch the tab first, patch only desired fields, and set `shareUrl` before `allowedUrls`. It explains behavior for arrays (wholesale replacement) and the default campaignId. Does not explicitly name alternatives, but the tool name and context make the intended scenario clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/growsurf/growsurf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server