Skip to main content
Glama
growsurf

GrowSurf MCP Server

Official
by growsurf

growsurf_update_campaign_webhook

DestructiveIdempotent

Update a GrowSurf program webhook by ID, changing only the fields you send, such as events, secret, or payload URL. Optionally target a specific campaign.

Instructions

Update a webhook on your GrowSurf program by id (webhookId is primary for the program's primary webhook). Only the fields you send are changed. secret is write-only and never returned. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventsNo
secretNoWrite-only.
isEnabledNo
webhookIdYes
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.
payloadUrlNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already cover idempotent and destructive hints. The description adds valuable context: only provided fields are updated (partial update), secret is write-only and never returned, and campaignId targets a specific program with a fallback to GROWSURF_CAMPAIGN_ID. These behaviors go beyond the annotations, making the tool's behavior clear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise sentences with no redundancy. The main action is front-loaded, and each sentence adds a distinct, critical detail (partial update, secret behavior, campaignId targeting). Every word earns its place.

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?

For an update operation, the description covers the essential semantics: partial updates, secret handling, and campaign targeting. The existence of an output schema likely covers return values, and the agent can infer the need for an existing webhook. Minor gaps like error cases are not critical for a basic call, so it is fairly complete.

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 coverage is 33% (only secret and campaignId have descriptions). The description adds meaning for webhookId (primary) and campaignId (fallback), and reiterates secret's write-only nature, but it does not explain events, isEnabled, or payloadUrl. This partially compensates for the low schema coverage but leaves several parameters undocumented.

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?

Clearly states the operation: 'Update a webhook' with the resource (webhook) and identifier (by id). It differentiates from siblings like create, delete, list, and test by using the verb 'update' and specifying the target. The note that webhookId can be 'primary' adds specificity.

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?

The description implies usage for modifying existing webhooks but does not explicitly mention alternatives or when not to use it. It explains the partial-update behavior and campaignId fallback, which are useful context, but it does not guide the agent toward create/delete/list alternatives. This is average, not poor.

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