Skip to main content
Glama

OursMeme Binance Agentic Wallet MCP

基于已有代币创建市场

build_attach_market
Read-only

基于已存在的平台 Meme 代币合约创建新的永续合约市场:若调用者为原代币控制者则作为项目子市场共享原策略,若为第三方用户则自动创建完全隔离的独立永续市场(独立 GM 池、独立 LP/创建者分成与可选独立亏损挖矿池,不关联原项目分红/回购)。(自动附带可直接执行的 baw contract-call preview/execute 命令,且默认精确额度授权)

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>",
      "token": "<token>",
      "under": "<under>",
      "maxLeverage": "<maxLeverage>",
      "lpUsdc": "<lpUsdc>",
      "fundingTier": "<fundingTier>",
      "lpPct": "<lpPct>",
      "refPct": "<refPct>",
      "miningTokens": "<miningTokens>",
      "miningDays": "<miningDays>",
      "miningDecayBps": "<miningDecayBps>"
    },
    "name": "build_attach_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
lpPctYes第三方独立市场:平台扣 20% 后分配给本池 LP 的比例 %(20–100,其余归本市场创建者)
tokenYes已存在的 Meme 代币合约地址
underYes标的代号,如 BTC / ETH / XAU;平台可以添加新标的
lpUsdcYes首笔 LP 存入 USDC
refPctYes永续邀请返佣比例 %(0–40)
accountYes市场创建者钱包
miningDaysYes挖矿释放总天数(miningTokens > 0 时生效)
fundingTierYes资金费档位:0 保守 / 1 标准 / 2 激进
maxLeverageYes最大杠杆(10–50)
miningTokensYes注入亏损挖矿池的代币数量(0 表示不开矿池或沿用原项目共享矿池)
miningDecayBpsYes每月递减万分比(0 为匀速释放)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior1/5

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

The description describes a market-creation write operation with lasting on-chain consequences, while annotations declare readOnlyHint=true — a direct contradiction that could make an agent call it as if it were a safe read. The description does add valuable side-effect context (isolated GM pool, independent LP/creator split, no linkage to the original project's dividends/buyback, auto-generated preview/execute commands, exact-amount approval), but the contradiction dominates.

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?

Single dense sentence front-loads the core action, then the two modes, then the execution/approval note; nothing is filler. It is somewhat run-on with deeply nested parentheses, which slows parsing for an 11-parameter tool but does not waste words.

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 11-required-parameter mutation with no output schema, the description covers both creation branches, the isolation semantics, and the preview/execute workflow an agent needs to actually run the contract call. What is missing is any mention of cost, permissions, or failure conditions, and the readOnly annotation undermines the otherwise solid coverage.

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 100% with 11 well-documented parameters, so the schema carries parameter meaning on its own. The description adds no parameter-level guidance (e.g. how lpPct, miningTokens, or fundingTier interact across the two modes), so the baseline of 3 applies.

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: create a new perpetual market anchored to an ALREADY EXISTING platform Meme token contract, which implicitly separates it from launch-style build_* siblings. It also spells out the two creation modes (original token controller vs third-party), so an agent knows exactly which outcome this call produces.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description details the branching condition on the caller's identity, which is useful selection logic, but it never says when to prefer this tool over alternatives such as build_launch_market or when it should be avoided. Usage is implied by 'existing token' rather than stated as a rule.

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