Skip to main content
Glama
growsurf

GrowSurf MCP Server

Official
by growsurf

growsurf_update_campaign

DestructiveIdempotent

Update referral program details like name, company, logo, and lifecycle status (IN_PROGRESS to publish/resume, COMPLETE to end). Send only fields to modify.

Instructions

Update your GrowSurf program's (campaign's) identity and lifecycle: name, companyName, companyLogoImageUrl, and status (set IN_PROGRESS to publish/resume the program, COMPLETE to end it). Only the fields you send are changed. type, urlId, and currencyISO are immutable (currency is chosen once at program creation), so this tool does not accept them. Editor-tab config (design, emails, options, installation) is edited with the dedicated config sub-resource tools, not here. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
statusNoLifecycle transition. IN_PROGRESS publishes/resumes the program; COMPLETE ends it. These are the only accepted targets — DRAFT/PENDING/CANCELLED are rejected by the API.
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.
companyNameNo
companyLogoImageUrlNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already carry readOnlyHint=false, destructiveHint=true, and idempotentHint=true. The description complements these by disclosing partial-update behavior ('Only the fields you send are changed'), listing immutable fields (type, urlId, currencyISO) and why, and detailing the side effects of the status transitions (publishing/resuming vs. ending the program), which maps to the destructiveHint. It does not contradict the annotations.

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?

Four sentences, each earning its place: main scope, partial-update semantics, immutability rationale, and routing to alternative tools plus campaignId fallback. It is dense but not verbose, with the primary purpose front-loaded. Slightly long, yet no sentence is filler.

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?

With an output schema present, return values need no explanation. The tool's moderate complexity — partial updates, lifecycle transitions with side effects, immutability, and a fallback target id — is covered well. The only minor gap is that the destructive nature of COMPLETE (ending a program) is phrased softly, but the annotations' destructiveHint=true covers that signal.

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 only 40% (name, companyName, companyLogoImageUrl lack descriptions). The description compensates meaningfully: it groups those three as identity fields, explains that only sent fields are changed (which affects how each param should be used), and clarifies why type/urlId/currencyISO are absent from the schema (immutability, backed by additionalProperties:false). Status and campaignId are already documented in the schema, so the description's short echo adds marginal value there.

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 precise verb (update) plus the exact resource scope (campaign identity and lifecycle fields: name, companyName, companyLogoImageUrl, status). It explicitly distinguishes itself from the dedicated config sub-resource tools (design, emails, options, installation), so an agent can separate it from the sibling update_* tools without inspecting schemas. The status values are tied to concrete lifecycle meanings (publish/resume vs. end).

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 an explicit when-not-to-use rule: 'Editor-tab config (design, emails, options, installation) is edited with the dedicated config sub-resource tools, not here,' which routes the agent to the correct alternative set. It also explains the lifecycle semantics (IN_PROGRESS to publish/resume, COMPLETE to end) and the campaignId fallback behavior, giving clear context for call selection.

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