Skip to main content
Glama

修改风控配置

platform_set_risk_config
Destructive

【账户与额度】更新账户级风控配置(写操作,需确认):config 为要修改的字段对象(如日亏损上限、单笔上限)。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)

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": {
      "config": "<config>"
    },
    "name": "platform_set_risk_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYes风控字段对象(必填)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is covered; the description adds the confirmation requirement, apikey execution identity, and free cost. It still omits key behavioral facts for a destructive update, notably whether unspecified fields are preserved or reset and whether limits can be removed by omission.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The write-operation warning appears twice, once as '需确认' and again in the trailing parenthetical, which is redundant wording. The bracketed category prefix and cost tag are front-loaded usefully, but the duplication costs clarity.

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?

There is no output schema, so the description need not explain returns, but for a destructive single-parameter update it should state merge-vs-replace semantics and what a successful response indicates. Confirmation and apikey execution are covered; mutation semantics are not.

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 100%, but the config object is untyped (additionalProperties: {}) so the schema conveys no field-level meaning. The description compensates by naming example fields (日亏损上限、单笔上限), which gives the agent concrete guidance the schema lacks.

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 scopes it as account-level, which separates it from strategy-level siblings. It does not explicitly distinguish itself from the similarly named read tool platform_risk_config or from platform_set_breaker, so an agent must infer the boundary.

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?

It signals this is a write operation requiring confirmation and that external calls execute under the apikey identity, which implies preconditions. However, it never says when to prefer this over platform_set_breaker, platform_reset_breaker, or platform_risk_config, so usage is only implied.

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.