Skip to main content
Glama

PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP

Scan Spot-Perp Cash-and-Carry Spreads

get_cash_and_carry_spreads
Read-onlyIdempotent

Get live Spot-Long / Perp-Short positive funding cash-and-carry opportunities across CEX venues.

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_cash_and_carry_spreads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of top opportunities to return (1-30, default 10).
min_volume_usdNoMinimum 24h perp volume USD (default 1000000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds genuine domain behavior beyond that: results are live, cross-venue (CEX only), and restricted to the positive-funding spot-long/perp-short direction, meaning other carry structures will not appear. It stops short of describing sort order, refresh cadence, or result shape.

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

Conciseness5/5

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

A single tight sentence with the core scope front-loaded and no filler. Nothing could be removed without losing meaning.

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 two-optional-parameter read tool with no output schema, this is close to sufficient, and the absence of an output schema reduces the burden. Still missing is how 'top' is ranked and whether venues or fee assumptions are surfaced, which matters for an agent interpreting results.

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 both parameters (limit, min_volume_usd) are fully documented with ranges and defaults. The description adds no extra meaning about the parameters, which is acceptable given the schema does the work, but 'top opportunities' leaves the ranking criterion the limit slices against unspecified.

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 verb and a precisely named resource: live spot-long/perp-short positive-funding cash-and-carry opportunities across CEX venues. The trade construction (long spot, short perp) makes the tool's output unambiguous. It does not, however, distinguish itself from the closely related sibling get_top_funding_spreads, so an agent must infer the boundary.

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 phrase 'positive funding cash-and-carry opportunities' implies the use case (funding-rate arbitrage screening) and implies that negative-funding setups are excluded, which is useful. But there is no explicit when-to-use, no when-not-to-use, and no pointer to get_top_funding_spreads or get_symbol_funding_breakdown for adjacent needs.

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.