Skip to main content
Glama

退订策略

platform_unsubscribe
Destructive

【账户与额度】退订策略(写操作,需用户确认):停止后续信号执行并释放订阅名额,不支持退款。subscriptionId 与 strategyId 二选一——只给 strategyId 时自动匹配本人当前有效订阅。(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_unsubscribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
strategyIdNo策略 ID(未提供 subscriptionId 时用于匹配本人有效订阅)
subscriptionIdNo订阅记录 ID(来自 platform_subscription_list)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, but the description goes well beyond them by spelling out the consequences: signal execution stops permanently, the subscription quota is released, refunds are not supported, and user confirmation is mandatory before execution. That is exactly the irreversible-effect context an agent needs before invoking a destructive tool.

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?

The content is front-loaded and dense with useful facts, but the write-operation status is stated twice ((写操作,需用户确认) and (写操作,外部调用将以 apikey 身份直接执行)) and the bracketed prefix tags add bulk. Minor redundancy keeps it out of the top band.

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 two-parameter, zero-required action tool with no output schema, the definition covers preconditions, consequences, cost, and parameter interaction, which is sufficient to call it correctly. It does not describe what is returned after unsubscribing, but no output schema exists to defer to, so that is a small residual gap.

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%, so per-parameter definitions are already supplied. The description still adds the cross-parameter combination rule (二选一, the two are mutually exclusive) and the auto-match behavior when only strategyId is supplied, which the per-field schema text alone does not convey as a constraint.

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 names a specific verb and resource (退订策略) and states the concrete effects: halting subsequent signal execution and freeing the subscription slot, plus the no-refund rule. It is unambiguous about what the tool does, though it never contrasts itself with any other tool, so it falls just short of the top band.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It clearly establishes the operating context: this is a write operation requiring explicit user confirmation, it is free, and external calls execute under the apikey identity. It also explains the either/or choice between subscriptionId and strategyId, including the fallback that a lone strategyId auto-matches the caller's active subscription. It offers no explicit when-not-to-use guidance or pointer to a sibling alternative.

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.