Skip to main content
Glama

TradingCalc MCP — Crypto Futures Math

workflow.run_compound_funding

Project capital growth from reinvesting perpetual futures funding income (compounding carry). Use when user asks "how much will I make compounding 0.01% funding for 90 days?" or "what's my APY on this carry position?". Returns: finalCapital, totalEarned, apy, growthTable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reinvestPctNoPercentage of earnings reinvested each interval. 100 = full compounding, 0 = no reinvestment. Default 100.
durationDaysYesNumber of days to project
intervalHoursNoFunding interval: 8 (standard) or 1 (Hyperliquid)
fundingRatePctYesFunding rate per interval as percentage, e.g. 0.01 for 0.01%
initialCapitalYesStarting capital in USDT

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior2/5

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

No annotations exist, so the description must bear the full burden. It does not disclose that this is a simulation assuming constant funding rates, nor does it mention limitations or assumptions. It lists output fields but lacks depth on behavior.

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: purpose, usage examples, output fields. No wasted words, information is front-loaded.

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?

Without an output schema, listing return fields is helpful. The examples clarify typical inputs. However, missing details like growthTable structure or assumption of constant funding rate slightly reduce completeness.

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 the baseline is 3. The description adds example usage that implies parameter roles, but does not provide significant additional meaning beyond the schema.

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 uses a specific verb 'project' and identifies the resource 'capital growth from reinvesting perpetual futures funding income'. It provides example user queries that distinguish this tool from sibling tools like workflow.run_carry_trade and workflow.run_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 Guidelines4/5

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

The description explicitly states when to use the tool with two example user queries. It does not mention when not to use or suggest alternatives, but the examples make the usage clear.

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.