Skip to main content
Glama

Prepare a coin's launch

prepare_launch

Prepares your launch, as the site's launch form does (the same checks, fees and rules): stores the picture and the coin's metadata and answers { mint, transaction, summary }, the transaction base64 for your wallet to sign (a pump.fun launch adds venue and transactions, the same one in a list). Sign it with your wallet without sending it and give it to submit_launch within the hour. The picture is imageUrl: an https address on a public host, fetched once, held to the site's picture rules (png, jpg, gif or webp, at most 4 MB). A coin with a prize names one: skin (an id from search_prizes), case, or basket (2 to 10 ids). With a dev buy your wallet's WBTC does not cover, it answers devSwap instead: sign its transaction and send it (send_transaction, or any Solana RPC), then prepare_launch again with devBuySats as given. pair: 'souvenir' makes the coin trade against $SOUVENIR instead of SOL, on Souvenir's own curve, while launch_options says souv.on; its first buy, if any, is firstBuySouv, raw $SOUVENIR from your wallet. On such a coin a first buy written in SOL is paid in $SOUVENIR: when your wallet lacks it, prepare_launch answers souvSwap instead. Sign its transaction, send it (send_transaction, or any Solana RPC) and wait until it is confirmed, then call prepare_launch again with the same arguments plus firstBuySouv set to souvSwap.target. If it answers souvSwap again with the same held, the swap is not in Souvenir's read yet: wait and ask again, and do not sign that one. Takes the token from sign_in, as token or as the request's Authorization: Bearer header. Refused with "Launching through the API is not open yet." (403 not_open) only if Souvenir pauses launching through the API. Launching a coin, in order: (1) sign_in_challenge with your wallet's address, sign its message with that wallet, then sign_in for a token; (2) launch_options, and search_prizes for the prize (or shopper_sample for a coin that picks its own prizes); (3) prepare_launch; (4) sign the transaction it answers with your wallet, without sending it, and give it to submit_launch; (5) launch_status until it answers confirmed: a pump.fun launch first answers split with a second transaction, which you sign (or sign and send) and give to submit_split, then launch_status again. Your wallet pays and signs everything: Souvenir never needs or asks for its private key.

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": {
      "name": "<name>",
      "symbol": "<symbol>",
      "imageUrl": "<imageUrl>",
      "shareBps": "<shareBps>"
    },
    "name": "prepare_launch"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseNoOne of Souvenir's cases instead, <id>@<version>.
nameYesThe coin's name.
pairNoWhat the coin trades against: sol, or souvenir ($SOUVENIR) on Souvenir's own curve while launch_options says souv.on.sol
skinNoThe prize: an id from search_prizes, or a CS2 skin's market name.
linksNohttps links; without a website, the coin's Souvenir page.
tokenNoThe token sign_in gave. Not needed when the request sends it as Authorization: Bearer <token>.
venueNometeora: Souvenir's own curve (it needs feeBps). pump: pump.fun, while launch_options says venues.pump.meteora
basketNoA basket of prizes instead: round 1 draws the first, each draw picks the next.
feeBpsNoThe trading fee in basis points (meteora); on a BTC pump.fun launch, its creator fee, one of launch_options pump.feeLevels.
ladderNoA prize ladder instead: 2 to 10 places in order, 1st first, each its own winner at every draw (each worth no more than the place above).
shieldNoThe launch shield, on a BTC pump.fun launch while launch_options says pump.shield.on.
symbolYesIts ticker: letters and digits.
charityNoA charity coin: { address, name, url?, pledgeBps?, rounds?, ship?, variant? }, as the site's form sends it.
curatorNoA shopper instead: the id of a sample pick this wallet asked for (shopper_sample). The coin picks each round’s prize itself from the sample’s brief and price band; round 1’s prize is the sample’s. Send nothing else in it.
stakingNoStaking open from the start.
ticketsNoHow a holder's balance turns into draw tickets; without it, capped at 3% of the supply a wallet.
imageUrlYesThe coin's picture: an https address on a public host; png, jpg, gif or webp, at most 4 MB.
shareBpsYesThe fee's share for the prize pot, in basis points (7500 by default on the site); 0 is a coin with no prize.
bannerUrlNoA banner for the top of its page, optional: https; png, jpg, gif or webp, at most 3 MB, three times as wide as tall, at least 600 px wide (a GIF is cut to 3:1 at its centre, its frames kept).
holdHoursNoHow long a coin must be held before it counts in a draw.
shareWithNoSouvenir's curve only: a tenth, a quarter or half of what the coin earns its creator goes to this wallet each time the creator is paid, fixed for good once the coin is launched (an app launching coins for its users keeps part of their creator earnings). Not at a 100% prize share, where the creator earns nothing.
basketOddsNoEach basket prize's chance in whole percents, in the basket's order (equal without).
devBuySatsNoThe devSwap's devSats, given back once its swap landed.
volatilityNometeora: Meteora's dynamic fee on top of the base fee.
descriptionNo
slippageBpsNo
firstBuySouvNoA first buy on a coin paired with $SOUVENIR, in raw $SOUVENIR (6 decimals) from your wallet, at most launch_options souv.maxFirstBuySouv. With firstBuyLamports it is the target souvSwap answered, sent again.
launchWindowNometeora: the fee starts at 50% and falls to the coin's over 60 seconds.
devBuyLamportsNoA dev buy on a BTC pump.fun launch, in lamports, while launch_options says pump.devBuy.on.
firstBuyLamportsNoA first buy in lamports (Souvenir's curve, or a SOL pump.fun launch).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / bannerUrl / description
      Previous value: -"A banner for the top of its page, optional: https; png, jpg or webp, at most 3 MB, three times as wide as tall, at least 600 px wide."New value: +"A banner for the top of its page, optional: https; png, jpg, gif or webp, at most 3 MB, three times as wide as tall, at least 600 px wide (a GIF is cut to 3:1 at its centre, its frames kept)."
  2. Changed1 schema field changed
    • addedInput schema / properties / shareWith
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Souvenir's curve only: a tenth, a quarter or half of what the coin earns its creator goes to this wallet each time the creator is paid, fixed for good once the coin is launched (an app launching coins for its users keeps part of their creator earnings). Not at a 100% prize share, where the creator earns nothing.",
      +  "properties": {
      +    "bps": {
      +      "enum": [
      +        1000,
      +        2500,
      +        5000
      +      ],
      +      "type": "integer"
      +    },
      +    "wallet": {
      +      "description": "A Solana wallet, not the creator's and not one of Souvenir's.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "wallet",
      +    "bps"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / curator
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "A shopper instead: the id of a sample pick this wallet asked for (shopper_sample). The coin picks each round’s prize itself from the sample’s brief and price band; round 1’s prize is the sample’s. Send nothing else in it.",
      +  "properties": {
      +    "sample": {
      +      "pattern": "^[0-9a-f]{32}$",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "sample"
      +  ],
      +  "type": "object"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / properties / firstBuySouv
      Added value: +{
      +  "description": "A first buy on a coin paired with $SOUVENIR, in raw $SOUVENIR (6 decimals) from your wallet, at most launch_options souv.maxFirstBuySouv. With firstBuyLamports it is the target souvSwap answered, sent again.",
      +  "pattern": "^[0-9]{1,20}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / pair
      Added value: +{
      +  "default": "sol",
      +  "description": "What the coin trades against: sol, or souvenir ($SOUVENIR) on Souvenir's own curve while launch_options says souv.on.",
      +  "enum": [
      +    "sol",
      +    "souvenir"
      +  ],
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / ladder
      Added value: +{
      +  "description": "A prize ladder instead: 2 to 10 places in order, 1st first, each its own winner at every draw (each worth no more than the place above).",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 10,
      +  "minItems": 2,
      +  "type": "array"
      +}
  6. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare this is a non-read-only, open-world, non-destructive call; the description adds far more — that the image is fetched once and stored, that the returned transaction must be signed but not broadcast, the one-hour window, the split-transaction flow for pump.fun launches, the retry-until-visible rule for souvSwap, and that Souvenir never holds the private key.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Every clause carries real information, and the core purpose plus return shape is front-loaded. But the body is one dense run-on paragraph that interleaves the dev-swap branch, the Souvenir pair branch, and the whole launch workflow, making it hard to scan and forcing the reader to re-parse long sentences for conditional triggers.

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 30-parameter, deeply nested tool with no output schema, the description supplies the missing pieces: the response shape, the alternate responses (devSwap, souvSwap) and what to do with each, the auth mechanism, and the success/failure criteria. Nothing an agent needs in order to call it correctly appears to be missing.

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 already 93%, so the schema carries most per-field meaning; the description's added value is cross-field conditional logic the schema cannot express — the skin/case/basket/ladder prize variants, pair:'souvenir' implying firstBuySouv instead of firstBuyLamports, devBuySats being the devSwap's devSats returned, and firstBuySouv doubling as the souvSwap target on retry.

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 — 'Prepares your launch, as the site's launch form does' — and immediately names what it returns ({ mint, transaction, summary }). It is clearly distinguished from submit_launch (which signs/submits) and from launch_options (which supplies the constraints), so an agent knows this is the build step, not the commit step.

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?

Provides an explicit numbered end-to-end ordering (sign_in_challenge → launch_options/search_prizes → prepare_launch → sign and submit_launch → launch_status → submit_split) plus branch-specific routing: when a devSwap or souvSwap is answered, sign and send via send_transaction or any Solana RPC, then call prepare_launch again. It also states the one-hour submission deadline and the exact refusal condition (403 not_open).

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