Skip to main content
Glama
growsurf

GrowSurf MCP Server

Official

Create Webhook

growsurf_create_campaign_webhook

Subscribe a GrowSurf campaign to webhook events by providing a payload URL and optional signed secret, enabling real-time delivery of participant, commission, and payout activity.

Instructions

Add a webhook to your GrowSurf program. payloadUrl is required. events is the list of events this webhook is subscribed to (omit to subscribe it to no events). secret is write-only — GrowSurf uses it to sign deliveries (the GrowSurf-Signature HMAC header) and never returns it. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventsNo
secretNoWrite-only. Signs deliveries; never returned.
isEnabledNo
campaignIdNoTarget program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server.
payloadUrlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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."
  2. First observedv0.12.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, openWorldHint=true, non-idempotent). The description adds genuine value beyond them: the secret is write-only and used for HMAC signing via the GrowSurf-Signature header, and omitting events subscribes the webhook to no events. It omits error/retry or rate-limit behavior, so not a full 5.

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 compact sentences that are front-loaded with purpose, followed by parameter-specific notes. No filler, though the parameter sentences are dense and a slightly more scannable structure would help.

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, so return values need not be described. The description covers the required parameter, the non-obvious write-only secret, and the campaign targeting default. The only material gap is the unexplained isEnabled flag.

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?

With only 40% schema description coverage, the description compensates well: it clarifies payloadUrl is required, explains events semantics including the omit case, expands on secret's write-only signing role, and documents campaignId's fallback to GROWSURF_CAMPAIGN_ID. Only isEnabled is left unexplained, keeping it from a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: 'Add a webhook to your GrowSurf program.' An agent can readily distinguish this from the sibling list/update/delete/test webhook tools based on the verb 'Add'. It stops short of explicitly naming those alternatives, but the action is unambiguous.

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?

Provides operational guidance (payloadUrl required, omitting events subscribes to nothing, targeting campaignId vs GROWSURF_CAMPAIGN_ID default), which implies when and how to call it. However, it never routes between this and sibling tools like update_campaign_webhook or test_campaign_webhook, nor states prerequisites or exclusions.

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