Skip to main content
Glama

sage-x402-tools

defi_base_dex_arb

Read-only

[x402: $0.010 Base USDC] Real-time cross-DEX arbitrage scanner comparing Aerodrome, Uniswap v3, PancakeSwap, and Raydium pools for gross/net spread bps and safe execution depth, plus chain-wide GeckoTerminal high-turnover trending pools. Direct HTTP: POST https://sage-x402-tools.sage-ibis.workers.dev/v1/defi/base-dex-arb (Free preview: GET https://sage-x402-tools.sage-ibis.workers.dev/v1/defi/base-dex-arb/sample)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "defi_base_dex_arb"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase
tokenNoOptional token address or symbol for exact cross-DEX spread; omit for chain-wide trending pool radar
min_liquidity_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely new behavioral context: a concrete price ($0.010 Base USDC via x402), the upstream data sources (DEX pools plus GeckoTerminal), and a direct HTTP endpoint with a free sample. It stops short of disclosing rate limits, latency, or result caps, which matters for a real-time scanner.

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

Conciseness3/5

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

The core sentence is dense but front-loaded with the essential purpose, and the endpoint URLs serve the advertised direct-HTTP use case. The leading '[x402: $0.010 Base USDC]' bracket and the two long URLs add noise for an agent that is simply choosing a tool, making the payload heavier than needed.

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, the description carries the return-value burden and does so by naming the metrics (spread bps, execution depth, trending pools) plus cost and access method. Remaining gaps — output shape, result limits, and liquidity-threshold semantics — are modest for a read-only scanner but not fully closed.

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 coverage is only 33%, so the description must compensate — and it partly does by naming the venues compared and the metrics returned, hinting at the token-vs-chain-wide behavior. But it never explains the chain enum values, and min_liquidity_usd (default 10000, min 1000) is left entirely undocumented in both schema and description.

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 verb and resource — 'Real-time cross-DEX arbitrage scanner' — and names the four venues compared (Aerodrome, Uniswap v3, PancakeSwap, Raydium) plus the output metrics (gross/net spread bps, safe execution depth). This is far more specific than the sibling names alone and lets an agent tell it apart from crypto_funding_arb or crypto_market_pulse without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The purpose implies when to reach for it (spread/arbitrage discovery), and the free-preview GET endpoint gives a way to sample output first. However, there is no explicit when-to-use versus siblings, no stated preconditions, and no exclusions — the 'omit token for trending radar' routing lives in the schema, not the description.

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.

Resources