Skip to main content
Glama

NightWatch Live Intelligence

get_pair_gate

Cross-venue PAIR GATE verdict: is BUY(buy_ex) → on-chain transfer → SELL(sell_ex) actually executable for this token? Runs the EXACT same gate as the arb engine: per-shared-chain contract IDENTITY check (same ticker + different contract = separate assets, 동명이인), withdraw@buy / deposit@sell door check per chain, chain canonicalization, and strict unknown-support skip. Returns viable, reason(s), per-chain doors, per-chain contract identity verdicts, and the chosen route chain. THE primary identity+mobility check before any cross-venue trade. Requires: base, buy_ex, sell_ex.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseYesBase ticker, e.g. TOSHI
buy_exYesBuy venue (withdraw side), e.g. gateio, bithumb
sell_exYesSell venue (deposit side), e.g. kucoin

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does substantial work: it discloses the exact sub-checks performed (contract IDENTITY with same-ticker/different-contract caveat, withdraw/deposit door check per chain, canonicalization, strict unknown-support skip) and the return shape (viable, reason(s), per-chain doors/verdicts, chosen route chain). It omits side-effect/auth/latency statements, but as a read-only gate those are low-stakes.

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?

Front-loaded with the core verdict question, then supporting detail. Dense and telegraphic rather than padded, though the long parenthetical contract-identity explanation and inline Korean term add friction without adding decision value.

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?

With no output schema and no annotations, the description nonetheless enumerates return fields and the failure semantics ('strict unknown-support skip', reason(s)), which is enough for an agent to call and interpret it. It does not define possible reason values or door-check states, a minor remaining 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 the baseline is 3, but the description adds directional semantics the schema only partly conveys by clarifying buy_ex is the withdraw side and sell_ex is the deposit side, and restating the required set. That mapping meaningfully informs how to populate the params.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verdict question ('is BUY(buy_ex) → on-chain transfer → SELL(sell_ex) actually executable for this token?') plus the resource, and explicitly positions itself as the cross-venue identity+mobility check. An agent can distinguish it from get_price, get_token_intel, and get_unanimous without opening any schema.

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?

'THE primary identity+mobility check before any cross-venue trade' gives clear when-to-use context and a sequencing prerequisite. It stops short of naming alternative sibling tools or stating when this check is unnecessary (e.g., single-venue flows), so it is not a full 5.

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.