Skip to main content
Glama

spot_vs_perp

Compare CoinMarketCap spot prices or market caps with Hyperliquid perpetual mark prices and funding for up to 20 symbols, returning basis in bps, 8-hour funding, flags, and a plain-English summary.

Instructions

Compare CoinMarketCap spot price/market cap with Hyperliquid perp mark and funding for given symbols; returns basis in bps, funding per 8h, flags and a plain-English summary.

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": {
      "symbols": "<symbols>"
    },
    "name": "spot_vs_perp"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does add real value by enumerating return contents: basis in bps, funding per 8h, flags, and a plain-English summary. However, it says nothing about data freshness, rate limits, whether either venue is queried live, or what happens when a symbol exists on only one of the two venues — a critical failure mode for a cross-venue comparison.

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?

One tightly packed sentence with the comparison subject front-loaded and the return payload immediately after the semicolon. No filler, no restatement of the title, and no redundancy.

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?

With no output schema and no annotations, the description does respectable work by describing return fields. It still leaves material gaps for a cross-source tool: symbol format and matching rules, behavior on partial venue coverage, and data currency. Adequate to attempt a call, not adequate to call it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single `symbols` array parameter is undocumented beyond its type. The phrase 'for given symbols' restates the parameter name without clarifying symbol format (e.g. 'BTC' vs 'BTCUSDT'), case handling, or whether each symbol must resolve on both CoinMarketCap and Hyperliquid. With low coverage the description should compensate, and it does not.

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 names a specific verb ('Compare') and two concrete data sources — CoinMarketCap spot price/market cap versus Hyperliquid perp mark and funding — so the resource and scope are unambiguous. The only shortfall is that it never defines what the returned 'flags' represent, leaving one output element opaque.

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?

It states the input precondition ('for given symbols') but gives no when-to-use guidance, no indication of what question this answers (arbitrage screening, basis monitoring, funding harvesting), and no caveats about when the comparison will be meaningless. No sibling tools exist, so no alternative routing is needed, but the usage context is entirely implied.

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

Deploy Server

Other Tools