Skip to main content
Glama

创建市场

build_launch_market
Read-only

生成创建新合约市场(同时发行 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,lp 至少 30

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / devBuy / maximum
      Added value: +100000000
    • addedInput schema / properties / lpUsdc / maximum
      Added value: +100000000
    • changedInput schema / properties / memeWeights / description
      Previous value: -"meme 手续费:平台拿走 20% 之后的分配权重,合计 100"New value: +"meme 手续费:平台拿走 20% 之后的分配权重,合计 100,lp 至少 30"
    • changedInput schema / properties / memeWeights / properties / lp / description
      Previous value: -"LP 分成 %(捐进 GM 池)"New value: +"LP 分成 %(捐进 GM 池,至少 30)"
    • changedInput schema / properties / memeWeights / properties / lp / minimum
      Previous value: -0New value: +30
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, the definition describes lifecycle behavior that structured fields do not cover: creating the token via an internal bonding curve, migrating to PancakeSwap V2 after the raise fills, and the association taking effect "上链被索引后自动按确定性代币地址与创建者关联生效". One point of tension is that "在服务端自动关联保存市场资料" implies server-side persistence while readOnlyHint=true, though the indexing caveat makes this a deferred rather than an immediate write. What the tool returns, namely an unsigned transaction, is never stated explicitly.

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 definition is two sentences with the purpose front-loaded, then field requirements, then lifecycle, then the prerequisite call. It is dense but mostly earns its place; the lifecycle clause is packed into a parenthesis and could be separated for readability.

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?

It is a 20-parameter, 14-required mutation-like builder, and the definition still covers intent, token lifecycle, required front-end fields, and the prerequisite. Since there is no output schema, the definition would be stronger if it said explicitly that the call returns a transaction to sign and does not broadcast it, but it is otherwise sufficient for correct invocation.

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 coverage is 100%, and all 20 parameters carry their own constraints and descriptions, so the schema already does the heavy lifting. The definition adds a useful grouping: "代币名称、代号、头像为必填项,横幅、一句话介绍、X、Telegram、Discord、官网为选填项", but it mentions only 3 required fields while the schema lists 14, so it does not fully explain requiredness. No how-to-use guidance for interactions between parameters (for example, how weights must sum to 100) goes beyond what the schema says.

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 definition states a specific action and resource: "生成创建新合约市场(同时发行 meme 代币,先走内盘发射曲线,募满后迁移到 PancakeSwap V2)的交易". It also states the side effect, "在服务端自动关联保存市场资料", so an agent can tell what this tool creates and how it differs from build_attach_market without opening either 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?

The definition gives an explicit prerequisite and names the sibling that satisfies it: "参数范围先用 get_launch_params 查询". It does not, however, say when to use this tool instead of build_attach_market, which is the nearest alternative for an existing market, so the routing guidance is incomplete rather than exhaustive.

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