Skip to main content
Glama
CCXT MCP Server

CCXT MCP Server

by MyronKoch

analytics_scan_arbitrage

Detects cross-exchange arbitrage opportunities by comparing prices, scoring risk, and factoring trading and withdrawal fees.

Instructions

Scan for arbitrage opportunities across multiple exchanges with risk scoring and fee calculations

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": "analytics_scan_arbitrage"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesTrading pair to scan (e.g., BTC/USDT)
exchangesNoExchanges to scan (defaults to major exchanges)
minVolumeNoMinimum volume in USD (default: 100)
maxRiskScoreNoMaximum risk score (1-10, default: 7)
minProfitPercentNoMinimum profit percentage to consider (default: 0.1%)
includeTradingFeesNoInclude trading fees in calculations
includeWithdrawalFeesNoInclude withdrawal fees in calculations

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It mentions risk scoring and fee calculations, which is useful context, but it does not disclose whether the scan is read-only, whether API keys or exchange initialization are required, how many exchanges are queried, latency expectations, or the shape of returned opportunities.

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 description is a single front-loaded sentence with no filler or repetition. It is efficient, though its brevity leaves material gaps for a tool of this complexity rather than wasting words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a moderately complex scan tool with seven parameters, multiple exchange targets, risk scoring, and fee handling, yet it has no annotations and no output schema. The one-sentence description does not explain return values, sorting, risk score computation, required exchange setup, or error behavior, leaving important context unaddressed.

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%, so the input schema already documents all seven parameters thoroughly. The description adds only high-level context about risk scoring and fee inclusion, without parameter syntax or defaults beyond what the schema provides, so the baseline of 3 is appropriate.

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 ('Scan') and resource ('arbitrage opportunities') and adds scope ('across multiple exchanges with risk scoring and fee calculations'). It is clear what the tool does, but it does not differentiate itself from sibling tools like analytics_compare_prices or analytics_calculate_risk.

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 guidance on when to use this tool versus alternatives such as analytics_compare_prices or analytics_calculate_risk. The use case is implied by the word 'arbitrage', but no conditions, exclusions, or prerequisites are provided.

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