Skip to main content
Glama

verify_arbitrage

Checks if cross-venue arbitrage is real right now by comparing pinned-block DEX quotes, returning an evidence-backed verdict before you trade.

Instructions

Ask verify402 whether a cross-venue arbitrage opportunity is REAL, right now. Quotes come from Uniswap's canonical QuoterV2 and each DEX router at one pinned block. The honest answer is usually 'no_edge' - that IS the product. Costs $0.05 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": {
      "target": "<target>",
      "chainId": "<chainId>"
    },
    "name": "verify_arbitrage"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNoToken to trade from, e.g. "USDC" (default USDC)
sizeNoTrade size in whole base units, e.g. 100000 (default 100000)
targetYesToken to buy and sell back, e.g. "WETH"
chainIdYesREQUIRED. 1 Ethereum, 42161 Arbitrum, 8453 Base. There is no default; omitting it returns 400 missing_chain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.3

TDQS

B3.4/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 behavioral burden. It usefully discloses that quotes come from Uniswap QuoterV2 and DEX routers at one pinned block, that the typical result is 'no_edge', and that each call costs $0.05, but it omits permissions, latency, rate limits, and detailed response or error behavior.

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 three short sentences and is front-loaded with the core action, followed by data provenance and cost. Every sentence contributes useful information, with only minor room for even tighter phrasing.

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 paid verification tool with no annotations and no output schema, the description covers purpose, quote source freshness, cost, and the typical negative answer. It still leaves important gaps around the exact response shape, edge-case behavior, and errors beyond the chainId issue documented in the schema.

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%, and the input schema already documents base, size, target, and required chainId with examples and chain values. The description adds no parameter-specific meaning beyond what the schema provides, so the baseline 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?

States a specific action: ask verify402 whether a cross-venue arbitrage opportunity is real right now, and names the quote sources. It is clear what the tool does, though it does not explicitly differentiate itself from siblings such as verify_quote_fairness or get_best_route.

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 description implies usage for checking whether an arbitrage opportunity is real and warns that the honest answer is usually 'no_edge'. However, it gives no explicit when-to-use or when-not-to-use guidance relative to alternatives like verify_quote_fairness, get_best_route, or preflight_gate.

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