Skip to main content
Glama

设置熔断

platform_set_breaker
Destructive

【账户与额度】更新账户熔断配置(写操作,需确认):enabled 开关,可设日亏损上限、连续失败次数、gas 尖峰上限。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "platform_set_breaker"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledNo是否启用熔断
alertChannelsNo告警通道(可选)
gasSpikeLimitUsdNogas 尖峰上限 USD(可选)
dailyLossLimitUsdNo日亏损上限 USD(可选)
consecutiveFailLimitNo连续失败次数上限(可选)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description adds real context on top: it requires confirmation, that external calls execute directly under the apikey identity, and that it is cost-free. What it does not disclose is the destructive semantics themselves — whether a call replaces the entire configuration or merges only the supplied fields, which matters a lot given destructiveHint=true.

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?

It is a single compact sentence, front-loaded with a category tag and the write/permission warnings placed before the field list. There is minor waste: '写操作' is announced twice in separate parentheticals, which could be merged without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, all-optional 5-parameter mutation with no output schema, the description covers the safety headline (write, needs confirmation, runs as apikey) but leaves key operational questions open: what happens when called with zero parameters, and whether omitted fields are preserved or reset. Those gaps are material given destructiveHint=true.

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%, so every parameter (enabled, alertChannels, gasSpikeLimitUsd, dailyLossLimitUsd, consecutiveFailLimit) is already documented in the schema. The description lists four of the five fields, roughly mirroring the schema without adding format, range, or unit guidance beyond what is already stated. Baseline 3 applies.

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?

The description states a specific verb and resource ('更新账户熔断配置') and enumerates the knobs it controls (enabled switch, daily loss limit, consecutive failure count, gas spike cap), so an agent knows exactly what changes. It does not distinguish itself from the closely related siblings platform_reset_breaker, platform_set_risk_config or platform_risk_config, which is the only thing keeping it from a 5.

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 parenthetical '(写操作,需确认)' implies a confirmation step before invoking, which is useful usage context. However, there is no explicit guidance on when to use this versus platform_reset_breaker (which presumably clears a tripped breaker) or platform_set_risk_config — the agent must infer the boundary from sibling names alone.

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.