【合约保证金模式】设置指定合约的保证金模式 📋 功能说明 - 设置合约保证金模式:逐仓或全仓 - 影响该合约的风险管理和资金利用效率 - 立即生效,不影响当前持仓 - 每个合约可以独立设置不同的模式 ⚠️ 重要提醒 - 逐仓:风险隔离,但资金利用率低 - 全仓:资金利用率高,但风险集中 - 建议在无持仓时调整保证金模式 - 新手建议使用逐仓模式 🎯 适用场景 - 根据风险偏好选择保证金模式 - 优化资金配置和使用效率 - 适应不同的交易策略和风险管理 📊 输出示例 模式设置后将返回: \
AI agents use binance_futures_set_margin_type to create or update resources in Binance — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Binance environment.
This tool modifies futures account margin settings (isolated vs. cross margin), which affects how leverage and risk are managed but does not execute trades or move funds directly. While consequential for trading operations, the change is reversible and represents account configuration rather than an irreversible destructive action or financial transaction.
From the tool's definition The tool description states it '设置合约的保证金模式' (sets the margin mode for futures contracts), which modifies account configuration. Key phrases include '立即生效' (takes effect immediately) and '影响该合约的风险管理' (affects risk management for that contract).
Documented attack patterns abuse exactly the kind of access binance_futures_set_margin_type gives an agent:
PolicyLayer is an MCP gateway — it sits between your AI agents and Binance, and nothing reaches the server without passing your rules. This is the rule we recommend for binance_futures_set_margin_type:
{
"version": "1",
"default": "deny",
"tools": {
"binance_futures_set_margin_type": {
"limits": [
{
"counter": "binance_futures_set_margin_type_rate",
"window": "minute",
"max": 30,
"scope": "grant"
}
]
}
}
} binance_futures_set_margin_type stays usable, but capped — an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
Free to start. No card required.
【合约保证金模式】设置指定合约的保证金模式 📋 功能说明 - 设置合约保证金模式:逐仓或全仓 - 影响该合约的风险管理和资金利用效率 - 立即生效,不影响当前持仓 - 每个合约可以独立设置不同的模式 ⚠️ 重要提醒 - 逐仓:风险隔离,但资金利用率低 - 全仓:资金利用率高,但风险集中 - 建议在无持仓时调整保证金模式 - 新手建议使用逐仓模式 🎯 适用场景 - 根据风险偏好选择保证金模式 - 优化资金配置和使用效率 - 适应不同的交易策略和风险管理 📊 输出示例 模式设置后将返回: \. It is categorised as a Write tool in the Binance MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Binance MCP server in PolicyLayer and add a rule for binance_futures_set_margin_type: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Binance. Nothing to install.
binance_futures_set_margin_type is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the binance_futures_set_margin_type rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for binance_futures_set_margin_type. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
binance_futures_set_margin_type is provided by the Binance MCP server (kydlikebtc/binance-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Start from Binance, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.
Free to start. No card required.
35 Binance tools catalogued and risk-classified — across an index of 43,000+ MCP servers.