Skip to main content
Glama

Dinero en la Mesa — Perp DEX costs & funding

Delta-neutral scanner, every pair (Pro, 0.1 USDC)

delta_neutral_scanner
Read-onlyIdempotent

The only funding scanner that nets every gap against the real cost of opening and closing both legs on live order books — 23 perp DEXs, every minute, with how long each gap usually lasts. PAID: 0.1 USDC on Base per scan, via x402 (no account; an x402-enabled client pays automatically). The full version of delta_neutral: every pair and every venue couple across perp DEXs, not just the best one, read every minute: long where funding is lowest, short where it is highest, net of opening and closing both legs at market on the live books, with how long each gap has been open and how long its past gaps lasted. Not charged if the data is not fresh.

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

Input Schema

NameRequiredDescriptionDefault
daysNoHolding days (default 7)
limitNoCouples per pair (default 10)
pairsNoPairs to scan (default: all)
min_net_usdNoOnly couples netting at least this (default 0)
size_usd_per_legNoUSD per leg (default 10000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / days
      Added value: +{
      +  "description": "Holding days (default 7)",
      +  "maximum": 90,
      +  "minimum": 1,
      +  "type": "number"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Couples per pair (default 10)",
      +  "maximum": 50,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / min_net_usd
      Added value: +{
      +  "description": "Only couples netting at least this (default 0)",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / pairs
      Added value: +{
      +  "description": "Pairs to scan (default: all)",
      +  "items": {
      +    "description": "Base asset of the perpetual, e.g. BTC",
      +    "enum": [
      +      "BTC",
      +      "ETH",
      +      "SOL",
      +      "XRP",
      +      "BNB",
      +      "DOGE",
      +      "HYPE",
      +      "SUI",
      +      "LINK",
      +      "AAVE",
      +      "ENA",
      +      "LTC"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / size_usd_per_leg
      Added value: +{
      +  "description": "USD per leg (default 10000)",
      +  "minimum": 100,
      +  "type": "number"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare read-only/idempotent/open-world; the description adds substantial behavior an agent could not infer: a 0.1 USDC charge on Base per scan via x402, no account required, automatic payment by an x402-enabled client, and a no-charge policy when data is stale. It also discloses data cadence (read every minute) and breadth (23 venues), which are decision-relevant for a paid call.

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?

Purpose and price are front-loaded, which is good, but the text is padded with marketing framing ('The only funding scanner') and repeats itself: 'every pair' and the gap-duration concept appear twice ('how long each gap usually lasts' then 'how long each gap has been open and how long its past gaps lasted'). The middle sentence largely restates the first, so several clauses do not earn their place.

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 burden of explaining what comes back, and it does so conceptually: couples per pair, funding direction (long lowest / short highest), net-of-cost figures, and gap duration history. Payment and freshness terms are covered. Minor gap: no indication of result volume or how the per-pair limit interacts with the returned set.

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 all five parameters (days, limit, pairs, min_net_usd, size_usd_per_leg) are already documented in structured form. The description adds only indirect meaning — that results are net of opening and closing both legs at market on live books, which contextualizes min_net_usd and size_usd_per_leg — but gives no format or interpretation detail beyond the schema. Baseline 3 applies.

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 ('nets every gap against the real cost of opening and closing both legs on live order books'), plus concrete scope: 23 perp DEXs, every minute, every pair and venue couple. It explicitly positions itself against the sibling 'delta_neutral' by saying it returns every couple rather than just the best one, so an agent can discriminate 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 Guidelines4/5

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

The phrase 'The full version of delta_neutral... not just the best one' gives a clear selection signal: use this for exhaustive coverage, the sibling for the single best opportunity. What's missing is an explicit when-not (e.g., 'use delta_neutral if you only need one couple') and any guidance on the optional filters such as days or size_usd_per_leg.

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