Skip to main content
Glama
nexus-xyz

nexus-exchange-mcp

Official
by nexus-xyz

get_funding_samples

Retrieve dense 60s premium-index samples for one perpetual market (up to 480 points, 8h) to analyze funding beyond settled hourly rates. Deprecated; use fetch_funding_samples. Public; no credentials.

Instructions

Deprecated: use fetch_funding_samples. Get the dense per-tick funding premium-index samples for one perpetual market (60s cadence, up to 480 points = 8h). Finer-grained than fetch_funding_rate_history, which returns the settled hourly rates. Public — no credentials needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of samples to return (max 480).
market_idYesMarket id, e.g. "BTC-USDX-PERP".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the auth profile (public, no credentials needed) and the data cadence/volume (60s sampling, up to 480 points = 8h), which is genuinely useful behavioral context. It stops short of rate-limit or error behavior, but for a read-only public endpoint this is solid coverage.

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?

Three sentences, zero waste, and correctly front-loaded with the deprecation notice so an agent sees the routing instruction first. Purpose, sibling comparison, and auth note follow in priority order.

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 no annotations, the description must carry the full disclosure load, and it covers purpose, granularity, sample volume, and auth. It omits what a sample record actually contains and any pagination behavior, but there is no output schema to lean on, so this is a minor gap for a simple list endpoint.

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 description coverage is 100%, so the baseline would be 3, but the description adds interpretation beyond the schema: the 60s cadence and the 480-point/8-hour equivalence give `limit` a concrete temporal meaning. It does not document format expectations for `market_id`, 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?

States a specific verb and resource: dense per-tick funding premium-index samples for one perpetual market. It also explicitly differentiates itself from the closest sibling by noting it is finer-grained than `fetch_funding_rate_history`, which returns settled hourly rates.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description is explicit on routing: it is deprecated in favor of `fetch_funding_samples`, and it names the distinction that selects it versus `fetch_funding_rate_history` (per-tick samples vs. settled hourly rates). An agent has no inference left to make.

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