Skip to main content
Glama

OursMeme Binance Agentic Wallet MCP

触发结算

build_trigger_settlement
Read-only

生成触发某市场收入结算的交易(任何人都可调用,付 gas):collect 归集并分配,dividend 触发分红记账,buyback 触发回购销毁。(自动附带可直接执行的 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>",
      "action": "<action>"
    },
    "name": "build_trigger_settlement"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
marketYes市场:短链接 slug、市场合约地址、代币地址、代币代号,或标的代号如 BTC / ETH / XAU(表示该标的的官方市场)
accountYes用户钱包地址(交易的签名人和收款人)

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 and destructiveHint=false, and the description reconciles this by making clear the tool only builds the transaction rather than executing it, while disclosing real side effects (fund distribution, dividend accounting, token burn) and that execution costs gas. It also adds two non-obvious behaviors: auto-attached preview/execute `baw contract-call` commands and exact-amount approval by default. It does not address re-invocation safety, despite idempotentHint=false.

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 front-loaded sentence with the purpose first, then the action breakdown, then the mechanical parenthetical. Dense but every clause carries information; the parenthetical about preview/execute commands and exact-amount approval is slightly buried and could be surfaced more prominently.

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 3-parameter builder with no output schema, the description covers purpose, per-action effects, permissions, gas cost, and even the shape of what is returned (executable commands). What is missing is edge-case behavior — what happens if there is nothing to collect, or whether repeated settlement calls are meaningful given idempotentHint=false.

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 67% and the schema already documents `market` (slug/address/symbol/underlying) and `account` (signer and recipient). The description's contribution is the semantic meaning of the three `action` enum values, which the schema leaves entirely unexplained — genuinely additive information. It does not add anything about market resolution edge cases, so it stops short of 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?

States a specific verb and resource: generates a transaction that triggers a market's revenue settlement, then enumerates the three action variants and their distinct on-chain effects (collect = aggregate and distribute, dividend = dividend bookkeeping, buyback = buyback-and-burn). An agent can immediately tell this apart from position-building or claim siblings without opening 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 Guidelines3/5

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

The permission and cost context ('anyone can call, pays gas') tells the agent this is a permissionless, self-funded mutation, which is useful usage guidance. However, it never explicitly says when to prefer this over a sibling (e.g., build_claim or build_withdraw_lp) or when not to call it, and the choice among the three actions is conveyed through effect descriptions rather than explicit selection criteria.

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