Skip to main content
Glama

中斷通路連線

disconnect_channel

中斷連線並刪除保存的金鑰。通路上已上架的商品維持原狀,之後不再同步。

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": {
      "channel": "<channel>"
    },
    "name": "disconnect_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNo帳號金鑰。Authorization 標頭無法設定時才用這個參數。
channelYes通路代號。ruten 是露天市集(二手、全新都能賣);coupang 是酷澎(只收全新商品)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / channel / description
      Previous value: -"通路代號。ruten 是露天市集。"New value: +"通路代號。ruten 是露天市集(二手、全新都能賣);coupang 是酷澎(只收全新商品)。"
    • changedInput schema / properties / channel / enum
      Previous value: -[
      -  "ruten"
      -]New value: +[
      +  "ruten",
      +  "coupang"
      +]
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the description carries real weight here: it discloses that the stored API key is destroyed and that existing listings survive but stop syncing. That is exactly the kind of side-effect detail the annotation cannot convey. It stops short of stating reversibility or error behavior, e.g. whether a failed disconnect leaves the key intact.

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

Conciseness5/5

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

Two short sentences, front-loaded with the action and followed by the residual-state consequence. Every clause earns its place with no filler.

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 destructive two-parameter tool with a fully documented schema and no output schema, the description covers the crucial postcondition (listings remain, sync stops). It omits what the caller must do afterwards, such as reconnecting, which would make it fully complete.

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% and the channel enum already documents ruten vs coupang in detail, so the schema does the heavy lifting. The description adds no parameter-level meaning, which is acceptable but not additive.

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 (disconnect, delete saved key) against a clear resource (the channel). It is self-evidently the inverse of connect_channel, though it never names that sibling explicitly, which keeps it just short of 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 Guidelines2/5

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

It describes the effect of calling the tool but gives no when-to-use or when-not guidance, no prerequisites (e.g. must re-authenticate to reconnect), and no comparison to alternatives. The agent must infer the lifecycle from the consequence statement 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.