Skip to main content
Glama

GrowSurf

Delete Campaign Reward

growsurf_delete_campaign_reward
DestructiveIdempotent

Delete a campaign reward (reward config) from your GrowSurf program. The reward is deactivated, removed from the program's reward set, and any connected upfront-discount coupons are cleaned up. campaignRewardId is the reward key. Returns { id, success }. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.

Input Schema

NameRequiredDescriptionDefault
campaignIdYesTarget program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server.
campaignRewardIdYes

Output Schema

NameRequiredDescriptionDefault
idNoThe deleted campaign reward id.
successNoWhether the campaign reward was deleted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds genuinely useful extra context: the reward is deactivated, dropped from the reward set, and connected upfront-discount coupons are cascaded-cleaned. That cascade is a non-obvious side effect an agent needs before calling.

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 tight sentences, front-loaded with the action and its side effects, then parameter and return notes. Nothing is wasted or buried.

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?

For a destructive mutation with an output schema already covering the { id, success } return and annotations covering the safety profile, the description supplies the missing pieces: cascading cleanup behavior and the campaign target resolution rule.

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?

campaignRewardId has no schema description, and the text compensates by identifying it as the reward key. campaignId's fallback to GROWSURF_CAMPAIGN_ID is repeated from the schema, and the phrasing 'if you pass it' implies optionality while the schema marks it required, a minor ambiguity.

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 (delete) and resource (campaign reward / reward config) plus the program scope. An agent can distinguish it from siblings like growsurf_update_campaign_reward and growsurf_delete_campaign_webhook without opening a schema.

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 never explicitly says when to delete vs. update or deactivate a reward, nor when not to use it. Usage is implied by the verb and the campaignId targeting note, which is enough to function but leaves the alternatives to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.