SAP Perp Trade Plan
sap_perp_trade_planCreate a trader-grade perpetual futures plan from a simple intent. Returns notional size, stop risk, reward/risk, liquidation estimate, preflight checklist, and the exact SAP MCP read tools to call next. This is analysis-only: SAP MCP does not expose Adrena execution builders until they are IDL-backed and locally finalizable. Required fields: market, side, collateralAmountUsd, leverage, entryPrice. Get entryPrice from sap_adrena_get_trading_prices or sap_adrena_get_prices before calling this tool.
SAP MCP execution guidance: Intent: Solana value-action or trading workflow. Pricing: priced by hosted x402 challenge. Routing: paid hosted call; call sap_estimate_tool_cost first, then use sap_payments_call_paid_tool if the runtime cannot handle x402 natively. Signer boundary: hosted reads/builders never receive keypair bytes; value-moving results must be finalized locally when signing is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Intended direction for the trade. | |
| notes | No | Optional user notes, catalyst, invalidation thesis, or strategy context. | |
| market | Yes | Perp market symbol or pair, for example SOL-PERP, BTC-PERP, or ETH-PERP. | |
| leverage | Yes | Requested leverage multiplier. Keep conservative unless user policy explicitly allows more. | |
| timeframe | No | Trading horizon such as scalp, intraday, swing, or hedge. | |
| entryPrice | Yes | Reference entry price in USD used for risk math. Required. Get the current price from sap_adrena_get_trading_prices or sap_adrena_get_prices before calling this tool. | |
| stopLossPrice | No | Optional stop loss price in USD. Strongly recommended before execution. | |
| maxSlippageBps | No | Maximum execution slippage in basis points. Default 50 bps. | |
| takeProfitPrice | No | Optional take profit price in USD used to compute reward/risk. | |
| maxAccountRiskPct | No | Maximum account risk percentage allowed by local policy. Default 1%. | |
| collateralAmountUsd | Yes | Collateral to allocate in USD. This is the margin budget, not notional size. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |