Skip to main content
Glama
GrowSurf MCP Server

GrowSurf MCP Server

Official

Remove Program Custom Domain

growsurf_remove_campaign_custom_domain
DestructiveIdempotent

Remove a GrowSurf program's custom domain so its landing pages stop loading on that domain and revert to the default GrowSurf URL. Specify the campaign ID to target the right program.

Instructions

Remove the custom domain from your GrowSurf program. Its landing pages stop loading on that domain and go back to their GrowSurf URL. Returns { domain, success }. Returns 404 when no custom domain is set. 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": {
      "campaignId": "<campaignId>"
    },
    "name": "growsurf_remove_campaign_custom_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
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
domainNoThe custom domain that was removed.
successNoWhether the custom domain was removed.

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. Addedv0.19.27

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the destructive/idempotent annotations by disclosing the concrete side effect — landing pages stop loading on that domain and fall back to the GrowSurf URL — plus the return shape `{ domain, success }` and the 404 condition when no domain is set. That is exactly the blast-radius information an agent needs before calling a destructive tool.

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 short sentences, front-loaded with the action and effect, with the return value and error case last. Dense and free of filler, though the parameter-fallback sentence duplicates existing schema text.

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?

Covers effect, return value, and error condition for a single-parameter destructive tool, with annotations and an output schema already carrying the safety profile and response shape. Nothing material is missing for correct invocation.

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 100%, so the baseline is 3. The description's targeting sentence largely restates the schema's own "Defaults to GROWSURF_CAMPAIGN_ID when omitted" note, and it actually conflicts with the schema's `required: ["campaignId"]` declaration, which slightly muddies rather than clarifies the fallback behavior.

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 ("Remove the custom domain from your GrowSurf program") and makes the scope unambiguous against the sibling set/get/verify domain tools. An agent can identify the operation without opening the schema.

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?

The usage context is clear: this is the teardown counterpart to setting a custom domain, and the 404 case tells the agent what happens when there is nothing to remove. It stops short of explicitly naming the alternatives (e.g. use set_campaign_custom_domain to change the domain rather than removing and re-adding), so no explicit 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