Skip to main content
Glama

get_triangular_arbitrage

Detects triangular arbitrage opportunities by scanning Humble Swap pools for A→B→C→A cycles, helping traders spot multi-hop price discrepancies.

Instructions

Detect triangular arbitrage opportunities (A->B->C->A cycles) across Humble Swap pools.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it never confirms this is a read-only detection call, says nothing about cost, rate limits, data freshness, or whether results are cached. It also gives no hint of what the detection returns (opportunity objects, profit estimates, pool triplets), which matters because there is no output schema.

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 front-loaded sentence with no filler or redundancy, and the core noun phrase appears immediately. The brevity is efficient rather than padded, though it leaves the definition thin overall.

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?

With no annotations and no output schema, the description must supply the behavioral picture alone, and it omits the return shape, result ordering, and how opportunities are surfaced. A one-line definition is not enough to tell an agent what to expect back from an arbitrage scan.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a parameterless tool applies. The description's mention of the pool scope is a small bonus rather than a requirement.

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 uses a specific verb ('Detect') with a named resource ('triangular arbitrage opportunities') and even defines the cycle shape (A->B->C->A) plus the venue scope (Humble Swap pools). It is clear what the tool does, but it draws no boundary against the closest sibling, get_arbitrage_opportunities, leaving the agent to guess how the two differ.

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 guidance on when to choose this over get_arbitrage_opportunities or any other arbitrage/price sibling, and no preconditions or exclusions are stated. Usage is only inferable from the tool name itself.

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