Skip to main content
Glama

Phlece

Prepare a coin launch

phlece_prepare_launch

Builds the transactions that launch a new Phlece coin from the user's wallet: an approval of exactly the opening buy (if needed), then the launch. Checks every term the way phlece.fun does, checks the hookSalt against the live launch contract, uploads the picture to IPFS when given imageUrl, and simulates the launch when no approval comes first. Needs a hookSalt found on the user's machine with the Phlece CLI (its phlece_prepare_launch finds one by itself). Nothing is signed or sent; the terms are permanent once launched, so show them to the user first.

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": {
      "wallet": "<wallet>",
      "name": "<name>",
      "ticker": "<ticker>",
      "buyTaxPct": "<buyTaxPct>",
      "sellTaxPct": "<sellTaxPct>",
      "openingBuy": "<openingBuy>",
      "hookSalt": "<hookSalt>"
    },
    "name": "phlece_prepare_launch"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
nameYes
pairNoPaired coin symbol or address. Default USDC. phlece_list_launch_pairs lists the open ones.
splitNoHow the creator side (80% of every fee) is divided; whole percents adding up to 100. Default: all to the creator.
tickerYes2 to 10 letters or digits.
tiktokNoA TikTok handle, stored as the description's last line.
walletYesThe wallet that sends the launch. It becomes the creator and receives the opening-buy coins.
websiteNo
hookSaltYesFound on the user's machine by the CLI for this exact wallet, pair and taxes.
imageURINoAn ipfs:// address already pinned (from the CLI's phlece_upload_image).
imageUrlNohttps link to a PNG, JPG, WEBP or GIF, 5 MB at most; uploaded to IPFS. Or give imageURI.
telegramNo
buyTaxPctYes
openingBuyYesThe creator's fee-free opening buy, in the paired coin (at least the pair's minimum).
sellTaxPctYes
descriptionNo
snipeExemptNoWallets that skip the 3-second opening surcharge.
payoutWalletNoWhere creator fees are paid. Default: wallet. It can be moved later.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the annotations: nothing is signed or sent, terms are permanent after launch, the image is uploaded to IPFS as a side effect, the hookSalt is validated against the live launch contract, and a simulation runs when there is no preceding approval. Those are exactly the behaviors an agent needs for an openWorld, non-idempotent builder. It does not cover failure modes (bad hookSalt, oversized image) or what the returned transaction payload looks like.

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?

A single dense paragraph whose first clause names the outcome, followed by the checks, prerequisites, and the safety warning. Nearly every sentence carries information, though the nested CLI aside in parentheses is slightly awkward and could be split out.

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 18-parameter, open-world transaction builder with no output schema, the description covers the essential workflow: prerequisite (hookSalt via CLI), side effects (IPFS upload), validation, and the permanence warning. Remaining gaps are return shape and error handling, which are secondary since no output schema exists.

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?

With 18 parameters at 61% schema coverage, the description clarifies a few high-risk ones — openingBuy drives the exact approval amount, hookSalt must come from the CLI for this wallet/pair/taxes, imageUrl gets pinned to IPFS — but much of that duplicates schema text. The unlabeled params (name, ticker, taxes, split, socials, payoutWallet) receive no added meaning from the description.

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 concrete verb and resource — builds the transactions that launch a new Phlece coin from the user's wallet — and spells out the composition (approval of the opening buy, then the launch). This clearly separates it from phlece_prepare_trade, phlece_prepare_claim and the read-only getters without needing 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?

Gives real selection context: it must be used when the user has a hookSalt from the CLI bound to this exact wallet/pair/taxes, and it flags the 'no approval comes first' path where the launch is simulated instead. It also tells the agent to show terms to the user before anything is signed. It stops short of explicitly naming alternatives (e.g., prepare_trade for trading an existing coin), so it is not a full when/when-not map.

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