Skip to main content
Glama
silverback-x402-mcp

silverback-x402-mcp

by RidingLiquid

arbitrage_scanner

Scan cross-DEX arbitrage for a token pair across OpenOcean, 1inch, and 0x Protocol, factoring gas costs to identify profitable swaps.

Instructions

Cross-DEX arbitrage scanner — OpenOcean, 1inch, 0x Protocol, with gas cost analysis ($0.03 USDC per call)

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": {
      "tokenIn": "<tokenIn>",
      "tokenOut": "<tokenOut>"
    },
    "name": "arbitrage_scanner"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNoAmount to scan (default: "1")
tokenInYesInput token symbol (e.g. "WETH")
tokenOutYesOutput token symbol (e.g. "USDC")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden; it does add genuinely useful context by pricing the call at $0.03 USDC, which lets an agent reason about invocation cost. However, it omits what the scan actually returns (routes? spreads? profit estimates?), whether it is read-only, and which chains it covers, all of which matter for a paid scanner.

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?

A single sentence that front-loads the core purpose and appends the source list and pricing as qualifiers — nothing is wasted. It is arguably too terse for the tool's complexity, but there is no filler or redundancy.

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?

The input side is fully covered by the schema, but there is no output schema, so the description is the only place a caller could learn the return shape — and it says nothing about it. For a three-parameter paid scanner, that leaves a real gap for correct invocation planning.

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 tokenIn, tokenOut, and amount each documented including the default of "1", so the schema already does the work. The description adds no additional meaning such as valid symbol formats, chain scoping, or how amount precision affects results, so the baseline of 3 applies.

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?

Names the resource precisely ('cross-DEX arbitrage scanner') and enumerates the data sources it aggregates (OpenOcean, 1inch, 0x Protocol), which tells an agent exactly what class of result to expect. It stops short of differentiating from siblings like swap_quote or jupiter_quote, so an agent must infer whether this is a quote tool or an opportunity finder.

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 prerequisites, and no mention of alternatives such as swap_quote or jupiter_quote, even though several siblings occupy adjacent space. The only usage-adjacent signal is the per-call cost, which implies this should be spent deliberately rather than called speculatively.

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