Skip to main content
Glama

OursMeme Binance Agentic Wallet MCP

买 meme 代币

build_buy_token
Read-only

生成用报价资产(通常是 USDC)买某市场 meme 代币的交易,最少得到数量按报价扣滑点。毕业前在内盘成交,毕业后自动走 PancakeSwap V2 路由。(自动附带可直接执行的 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>",
      "market": "<market>",
      "usdc": "<usdc>",
      "slippagePct": "<slippagePct>"
    },
    "name": "build_buy_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
usdcYes花多少报价资产(USDC 市场即 USDC)
marketYes市场:短链接 slug、市场合约地址、代币地址、代币代号,或标的代号如 BTC / ETH / XAU(表示该标的的官方市场)
accountYes用户钱包地址(交易的签名人和收款人)
slippagePctYes

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?

Annotations already declare readOnlyHint=true/destructiveHint=false, so the safety bar is low; the description still adds real behavior — internal bonding curve before graduation, automatic PancakeSwap V2 routing after, min-out derived from slippage, default exact-amount approval, and an attached directly-executable preview/execute command block. It stops short of saying explicitly that it returns calldata for signing rather than submitting the trade, which matters given it 'attaches executable commands'.

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?

Two dense sentences with the outcome and routing rule front-loaded, and the parenthetical carries non-redundant side effects. Slightly overloaded by packing approval behavior and command attachment into one long clause.

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?

All four parameters are required, there is no output schema, and the description compensates by telling the agent what it gets back (preview/execute commands) and the approval default. Little is missing for a transaction-builder, though a note that it produces an unsigned transaction rather than broadcasting it would close the loop.

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 75% (only slippagePct lacks a schema description), so the baseline is 3; the description earns a bump by explaining that slippagePct drives the min-out amount against the quoted price and that usdc is the quote asset, which is meaning not present in the schema.

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+resource pair (生成用报价资产买入某市场 meme 代币的交易) and immediately scopes it with the min-out and routing rules, which makes it unmistakable next to build_sell_token and the read-only quote_* tools.

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?

Usage is implied ('买' implies you already know the market and quote amount) but neither the description nor the parenthetical tells the agent to call quote_token first for a price, nor when to prefer this over build_agent_authorize/baw_build_approve. No explicit when-not guidance is given.

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