Skip to main content
Glama

创建市场

build_launch_market
Read-only

Build the transaction to create a new perpetual contract market and launch its meme token through a bonding curve, then migrate to PancakeSwap V2 after filling; saves market details automatically.

Instructions

生成创建新合约市场(同时发行 meme 代币,先走内盘发射曲线,募满后迁移到 PancakeSwap V2)的交易,并在服务端自动关联保存市场资料。代币名称、代号、头像为必填项,横幅、一句话介绍、X、Telegram、Discord、官网为选填项;上链被索引后自动按确定性代币地址与创建者关联生效。参数范围先用 get_launch_params 查询。

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": {
      "account": "<account>",
      "under": "<under>",
      "name": "<name>",
      "symbol": "<symbol>",
      "logo": "<logo>",
      "maxLeverage": "<maxLeverage>",
      "lpUsdc": "<lpUsdc>",
      "quoteAsset": "<quoteAsset>",
      "devBuy": "<devBuy>",
      "miningPct": "<miningPct>",
      "taxPct": "<taxPct>",
      "fundingTier": "<fundingTier>",
      "weights": "<weights>",
      "memeWeights": "<memeWeights>"
    },
    "name": "build_launch_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
logoYes必填:头像图片地址(https://、ipfs:// 或 /api/v1/media/...,建议 400×400,PNG/JPG/WebP/GIF)
nameYes必填:代币名称(1–24 字符,UTF-8 字节数 ≤ 64,约 21 个汉字以内)
underYes标的代号,如 BTC / ETH / XAU;平台可以添加新标的
bannerNo选填:横幅图片地址(https://、ipfs:// 或 /api/v1/media/...,建议 1500×300,PNG/JPG/WebP/GIF)
devBuyYesdev 首买金额(报价资产计),0 为不买
lpUsdcYes首笔 LP 存入 USDC
symbolYes必填:代币代号(1–10 位字母或数字,自动转大写)
taxPctYes毕业后代币买卖、转账税 %
accountYes创建者钱包(dev)
discordNo选填:Discord 邀请链接或邀请码(如 https://discord.gg/xxx)
twitterNo选填:X 链接或 @账号(如 @pepe 或 https://x.com/pepe)
websiteNo选填:项目官网链接或域名(如 https://example.com)
weightsYesperp 交易费:平台拿走 20% 之后的分配权重,合计 100,lp 至少 50 且最大
telegramNo选填:Telegram 链接或 @频道名(如 @pepechat 或 https://t.me/pepechat)
miningPctYes首买代币中转入亏损挖矿储备的百分比
quoteAssetYes代币的报价资产;BNB 为原生币USDC
descriptionNo选填:一句话介绍(最多 280 字符)
fundingTierYes资金费档位:0 保守 / 1 标准 / 2 激进
maxLeverageYes最大杠杆(10–50)
memeWeightsYesmeme 手续费:平台拿走 20% 之后的分配权重,合计 100

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior2/5

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

The description discloses genuinely useful behavior beyond annotations — bonding-curve launch, PancakeSwap V2 migration, and deterministic token-address association after indexing. However, it states that the call also saves market metadata server-side (并在服务端自动关联保存市场资料), a state-changing side effect that conflicts with readOnlyHint=true; idempotentHint=false is consistent with that, but the read-only claim is not. It also never says what the call returns (presumably an unsigned transaction), which is the one behavior an agent most needs here.

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?

The purpose is front-loaded in the first clause and the remaining clauses are packed into a single semicolon-separated paragraph, so it is dense but efficient. The required/optional field list is somewhat redundant with the schema's required array and could be trimmed.

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 a 20-parameter, nested-object, mutation-adjacent tool with no output schema, the description covers the workflow, required inputs, and the parameter-discovery step. It leaves two gaps: no statement of what the tool returns (transaction payload shape) and no mention of the network/chain context for the PancakeSwap migration path.

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 would be 3, but the description adds value by pointing to get_launch_params for live valid ranges — important because static bounds in the schema (e.g., maxLeverage maximum 9007199254740991) do not reflect the real 10–50 constraint. Its required/optional enumeration largely restates the schema's required array, which caps it below 5.

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 opens with a specific verb+resource: generate the transaction that creates a new contract market, and it enumerates the full lifecycle (meme token issuance, internal bonding curve, migration to PancakeSwap V2, server-side metadata save). The word 新 (new) distinguishes it from the attach sibling without needing to name it, so an agent can route correctly on purpose alone.

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?

It explicitly routes the agent to get_launch_params first for parameter ranges, which is real when-to-use guidance for a 20-parameter tool, and it states which fields are mandatory versus optional. It does not say when NOT to use it (e.g., when a market already exists, use build_attach_market), so it stops short of full alternative routing.

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