Skip to main content
Glama
growsurf

GrowSurf MCP Server

Official
by growsurf

growsurf_create_mobile_participant_token

Create or fetch a GrowSurf participant and generate a participant-scoped mobile SDK token for campaign enrollment, targeting the specified campaign or the default GROWSURF_CAMPAIGN_ID.

Instructions

Create or fetch a participant, then create a participant-scoped mobile SDK token via GrowSurf REST. Participant creation is trusted direct enrollment; do not use it for a public application when the program requires affiliate review. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYes
lastNameNo
metadataNo
firstNameNo
ipAddressNo
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.
referredByNo
fingerprintNo
isAffiliateNoSets whether the participant is an affiliate. Use `true` only for trusted direct enrollment. Public applicants should follow the program's configured application flow.
referralStatusNo
mobileInstanceIdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
isNewNoWhether this request created a new participant.
expiresInNoToken lifetime in seconds.
participantNoThe participant record (same shape as the `growsurf_get_participant` result).
participantTokenNoParticipant-scoped bearer token for GrowSurf mobile SDK participant endpoints.
Behavior3/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, but the description adds context about 'trusted direct enrollment' and the risk of misuse for public apps. However, it does not disclose detailed side effects, permissions, or rate limits, so only partial transparency beyond the annotations.

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?

Two concise sentences that front-load the main action, then add a crucial warning and targeting logic. Every sentence earns its place, no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 11 parameters and an output schema, the description leaves many parameters unexplained (email, lastName, metadata, etc.). It does not mention how token creation interacts with the output or whether any preconditions exist. The warning about affiliate review is useful but the overall context is incomplete.

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 description coverage is only 18%, so the description needs to compensate. It adds meaning for campaignId (default behavior) and isAffiliate (trusted enrollment context), but does not explain the other 9 parameters (email, firstName, etc.). It adds some value but not sufficient for the low coverage.

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?

The description clearly states the verb and resource: 'Create or fetch a participant, then create a participant-scoped mobile SDK token.' It distinguishes itself from siblings by mentioning the token scope and the GrowSurf REST endpoint, and notes the campaign targeting behavior. No confusion about what it does.

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 description provides a clear warning: do not use for public application when affiliate review is required, which helps decide when to avoid it. It also implies when to use it (trusted direct enrollment). It does not explicitly name alternative tools, but the warning and context are helpful.

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