Skip to main content
Glama

OursMeme Binance Agentic Wallet MCP

撤销 agent 授权

build_agent_revoke
Read-only

agent 专用通道:生成用户主钱包要签的撤销交易,立即收回 agent 的交易权限(次数、到期、gas 报销一起清零)。可选同时把 USDC / WBNB 授权额度清零。(自动附带可直接执行的 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>",
      "agent": "<agent>",
      "resetUsdcAllowance": "<resetUsdcAllowance>",
      "resetGasBudget": "<resetGasBudget>"
    },
    "name": "build_agent_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYes要撤销的 agent 地址
accountYes用户钱包地址(交易的签名人和收款人)
resetGasBudgetYes同时把 WBNB gas 预算授权清零
resetUsdcAllowanceYes同时把 USDC 授权清零(网页下单时会重新请求授权)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations (readOnlyHint=true, destructiveHint=false) frame this as a safe builder, and the description usefully adds that it produces an unsigned transaction requiring the user's signature, that quota/expiry/gas are zeroed in one shot, and that the response carries ready-to-run baw contract-call preview/execute commands. The '立即收回' phrasing sits in mild tension with destructiveHint=false and idempotentHint=false, but since only calldata is generated the annotation intent is coherent — the description is what disambiguates it.

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?

Front-loaded with the core action and its scope, then optional secondary resets, then a parenthetical note on the returned commands. One dense sentence cluster with no filler, though the trailing parenthetical about default exact-amount approval is terse enough to be ambiguous.

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?

With no output schema, the description does the right work by telling the agent that the result is a signable transaction plus executable preview/execute commands. It stops short of describing execution ordering or whether the revoke is effective only after signing, which an agent coordinating multi-step flows would want.

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 each parameter already carries its own description, so the schema does the heavy lifting. The prose adds only limited extra meaning — that USDC allowance reset is effectively free because web orders re-request approval, and that approvals default to exact amounts — leaving resetGasBudget↔'gas 报销' and resetUsdcAllowance↔'USDC 授权额度' mapping implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific action and resource — it generates a revoke transaction for an agent's trading permissions — and enumerates exactly what gets cleared (call quota, expiry, gas reimbursement). It is clearly distinct from build_agent_authorize in intent, though it never explicitly names that sibling as the inverse operation an agent should avoid.

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?

Implies when to use it ('agent 专用通道' — revoke a permission set), and states the user's main wallet must sign the produced transaction, but gives no explicit trigger conditions, prerequisites, or when-not guidance (e.g., whether to call get_agent_access first to confirm the agent is active). Usage is inferable, not stated.

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