sap adrena simulate position
sap_adrena_simulate_positionFREE dry-run tool (no x402 charge): checks live Adrena oracle readiness and simulates opening a perp position only when oracle coverage can satisfy the pool. Returns oracleReadiness, balanceCheck, program logs, compute units, and wouldSucceed without transaction bytes. Use this before any paid build. Build only when wouldSucceed=true and oracleReadiness.ready=true.
SAP MCP execution guidance: Intent: SAP MCP tool workflow. Pricing: free; call directly without x402. Routing: free hosted call; call directly and keep it small/exact when possible. 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 | Position side: long or short. | |
| owner | Yes | Position owner wallet public key (base58). This is the fee payer and signer. | |
| leverage | Yes | Leverage multiplier (e.g. 3 = 3x). | |
| poolName | No | Pool to use. Default: main-pool. Use commodities-pool for XAU/XAG/WTI. | |
| principalToken | Yes | Asset to trade. Supported: JITOSOL, WBTC, BONK, plus XAU, XAG, WTI in the commodities pool. | |
| collateralToken | Yes | Collateral token. For longs must match principal (main pool) or be USDC (commodities pool). For shorts must be USDC. Supported: USDC, JITOSOL, WBTC, BONK. | |
| collateralAmount | Yes | Collateral amount in human-readable units (e.g. 10 = 10 JITOSOL or 10 USDC). |
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. |