Skip to main content
Glama

create_campaign

LEGACY wallet flow — new integrations should use create_account and launch_campaign (API key + prepaid balance, no wallet). (launch_campaign is its equivalent for the key flow.) Creates a new anonymous audio feedback campaign. Two modes: (a) INCENTIVIZED — participants earn USDC rewards; you must fund an escrow address returned in the response, then call verify_campaign_funding. Participants have 30 days after the campaign ends to claim; anything unclaimed then goes back to the wallet you signed in with. (b) NO_REWARD — survey only, no crypto rewards; you pay a flat Stripe activation fee (returned in activationRequired), then call verify_campaign_activation. The accessToken is single-use and is consumed on success. Privacy threshold: minPercent enforces the minimum response rate before results are unlocked (minimum 50%). Campaign expiry: 1–42 days (default 7).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesCampaign title (shown to participants)
questionsYesList of audio questions for participants to answer
minPercentNoMinimum response rate (%) required to unlock results. Defaults to 50.
rewardMintNoSPL token mint address for rewards. Defaults to USDC if omitted.
rewardModeYesINCENTIVIZED: crypto rewards per response. NO_REWARD: survey only, flat activation fee.
accessTokenYesOne-time access token from initialize_session (free sessions) or verify_payment
descriptionYesShort description of the campaign purpose
cohortEmailsYesEmail addresses of participants (minimum 2 for privacy)
expiresInDaysNoCampaign duration in days (1–42, default 7)
incentiveCentsNoReward per participant in cents (e.g. 500 = $5.00). Required for INCENTIVIZED.
digitalGiftTextNoOptional digital gift description shown to NO_REWARD participants (e.g. a discount code)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / accessToken / description
      Previous value: -"One-time access token from verify_payment"New value: +"One-time access token from initialize_session (free sessions) or verify_payment"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so well: escrow funding requirement, 30-day post-campaign claim window, unclaimed funds returning to the signer's wallet, flat Stripe activation fee surfaced as activationRequired, and the single-use accessToken consumed on success. These are exactly the consequences an agent must know 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.

Conciseness4/5

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

Front-loaded with the deprecation warning, then cleanly split into mode (a) and (b) with a closing paragraph for token, privacy, and expiry rules. Slightly long and the embedded runs of whitespace/line breaks suggest formatting artifacts, but every sentence adds usable information.

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 11-parameter mutation tool with no annotations and no output schema, the description covers the lifecycle well (create, fund, verify) and points at response fields the agent must consume next (escrow address, activationRequired). It stops short of describing the full response shape or failure modes, but is close to complete for correct invocation.

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 100%, so the baseline is 3, but the description adds real meaning the schema does not: the mode determines which downstream funding call is required, that INCENTIVIZED participants earn USDC, and that minPercent gates result unlocking rather than merely bounding a number. The remaining range/default facts (1–42 days, 50% minimum, USDC default mint) simply restate the schema.

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 ('Creates a new anonymous audio feedback campaign') and immediately distinguishes itself from siblings create_account and launch_campaign as the legacy wallet-based flow. An agent can identify the tool and its place among the siblings without opening any schema.

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?

Explicitly says 'LEGACY wallet flow — new integrations should use create_account and launch_campaign', naming the preferred alternatives. It also branches usage by mode (INCENTIVIZED vs NO_REWARD) and names the required follow-up calls verify_campaign_funding and verify_campaign_activation for each path.

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.

Resources