Skip to main content
Glama

PerpFarms: Funding Rate Arbitrage

Listings, delistings, funding interval changes, dividends

market_events
Read-onlyIdempotent

What changed on the exchanges PerpFarms watches, newest first: new perp listings (spreads are widest in the first hours), delisting and close-only dates (be out before), funding interval changes (a shorter interval usually means the rate ran hot) and ex-dividend dates of stock perps (some exchanges move the dividend from shorts to longs, others do not), with the dates ahead.

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

Input Schema

NameRequiredDescriptionDefault
coinNoTicker as exchanges list it, e.g. BTC, ETH, HYPE, TSLA
daysNoHow far back, in days. Default 3
kindNoDefault all
limitNoRows to return, default 5. Without a key at most 5, with a free key 20, with Pro 50
exchangeNoOnly this exchange

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 the safety profile is covered. The description adds real behavior beyond that: results are ordered newest first, future event dates are included, and dividend handling differs by exchange (some move it from shorts to longs, others do not). It does not mention response size or row shape, but the added context is substantial for a read-only list tool.

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 front-loaded sentence that leads with the core answer (what changed, newest first) before drilling into event types. The parenthetical asides are dense but each carries actionable meaning; minor tightening of the final clause ("with the dates ahead") would help, as its referent is slightly ambiguous.

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 and five optional filters, the description covers the essential return semantics: which event classes appear, ordering, and inclusion of upcoming dates. It stops short of describing per-row fields or how multiple event types interleave in one result, which would fully close the gap for an agent composing a response.

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?

Schema coverage is 100%, so the baseline is 3, but the description earns above that by explaining what each `kind` enum value actually represents and its trading implication, and by signaling that future dates are included alongside the backward `days` window. It adds no format detail for `coin` or `exchange`, which the schema already handles.

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?

The description opens with a specific verb+resource framing ("What changed on the exchanges PerpFarms watches") and then enumerates the exact event classes returned: listings, delistings/close-only, funding interval changes, and ex-dividend dates. This is clearly distinct from siblings like coin_funding_rates or find_funding_arbitrage, which report current rates rather than change events, so an agent can route correctly without opening a schema.

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?

It supplies interpretive context for acting on results ("spreads are widest in the first hours", "be out before" delisting dates, "a shorter interval usually means the rate ran hot"), which is genuinely useful. However, it never states when to prefer this tool over alternatives such as coin_funding_rates for ongoing rate monitoring, and gives no explicit exclusions or preconditions.

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