Skip to main content
Glama
order-flow-mcp

order-flow-mcp

by zadescoxp

Stop a market

unwatch_market
Destructive

Stop streaming a specified crypto market and discard its in-memory history, ending live order-flow updates and freeing related resources.

Instructions

Stop streaming a market and discard its in-memory history.

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": {
      "symbol": "<symbol>"
    },
    "name": "unwatch_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
venueNo"all" (default, aggregate every venue listing the market) or one exchange: binance, bybit, okx, bitget, hyperliquid, deribit, coinbase, gate, kucoin, kraken, htx.
symbolYesAsset or symbol, e.g. "BTC", "ETHUSDT", "SOL-PERP".
market_typeNo"perp" (default) or "spot".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the destructive profile is supplied structurally. The description earns some credit by specifying exactly what is lost — 'in-memory history' — which clarifies the scope of destruction and implies no persistent data is affected, but it omits idempotency behavior and whether other active watchers are impacted.

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?

A single twelve-word sentence that front-loads the action and its consequence with zero filler. Nothing is wasted or buried.

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 low-complexity, single-purpose teardown tool with full schema coverage and destructive annotations, the sentence covers the essentials. However, no output schema exists, so the description should say what a successful stop returns or what happens on an unknown/untracked market, and it does not.

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%, with venue, symbol, and market_type all documented including defaults and an enum, so the schema carries parameter meaning fully. The description adds nothing about parameter behavior, such as whether the teardown must match the parameters used when the stream was started, which would be the genuinely useful addition here.

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?

States a specific verb ('Stop streaming') and resource ('a market'), making the operation immediately legible as the inverse of watch_markets. It does not name that sibling explicitly, so the differentiation is inferable rather than stated.

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?

There is no explicit when-to-use guidance, no mention of watch_markets as the counterpart, and no indication of what happens if the market is not currently being watched. The agent must infer that this is the teardown call for an active stream.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.