Skip to main content
Glama

PerpFarms: Funding Rate Arbitrage

Funding rate of a coin on every exchange

coin_funding_rates
Read-onlyIdempotent

The current funding rate of one coin's perpetual on every exchange PerpFarms reads: rate per payment, payment interval, the same as per 8h and APR, the next payment time and a link to each exchange; then the best arbitrage pairs for that coin. Positive funding means longs pay shorts.

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": {
      "coin": "<coin>"
    },
    "name": "coin_funding_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinYesTicker as exchanges list it, e.g. BTC, ETH, HYPE, TSLA
limitNoRows to return, default 5. Without a key at most 5, with a free key 20, with Pro 50

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description still adds real behavioral value by disclosing the returned fields (rate per payment, interval, per-8h equivalent, APR, next payment time, exchange link) and by explaining how to interpret the sign ('Positive funding means longs pay shorts'), which no structured field provides.

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?

It is a single dense sentence front-loaded with the core resource, followed by a colon-delimited field list and a one-line interpretation rule. Every clause carries information, though the run-on structure and the appended arbitrage clause slightly blur the focus.

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 must describe return contents, and it does so field by field while also covering interpretation and the exchange-link behavior. The remaining gap is guidance on the arbitrage-pair output and how it relates to the dedicated arbitrage sibling.

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 are already documented with examples and key-tier limits. The description only reinforces that the coin refers to a perpetual on every exchange; it adds no format or edge-case detail beyond the schema, so 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?

The description states a specific resource and scope: current funding rate for one coin's perpetual across every exchange PerpFarms reads, plus the best arbitrage pairs and a per-exchange link. That is more specific than the title alone, though it never uses an explicit verb and the trailing 'best arbitrage pairs for that coin' muddies the boundary with the sibling find_funding_arbitrage.

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 explicit when-to-use or when-not-to-use guidance and no named alternative, so the agent must infer that this single-coin lookup is the right call when a specific coin's rates are needed. Worse, it claims to also return arbitrage pairs, which overlaps with find_funding_arbitrage without explaining how the two differ.

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