@gala-chain/launchpad-mcp-server
Version:
MCP server for Gala Launchpad - 102 tools (pool management, event watchers, GSwap DEX trading, price history, token creation, wallet management, DEX pool discovery, liquidity positions, token locks, locked token queries, composite pool data, cross-chain b
74 lines (66 loc) • 2.98 kB
JavaScript
;
/**
* DEX Volume Summary Prompts
*
* Slash commands for exploring DEX aggregated volume metrics and trends.
* Provides access to platform-wide trading volume analysis.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.dexVolumePrompts = exports.fetchDexAggregatedVolumeSummaryPrompt = void 0;
const mcpToolNames_js_1 = require("../constants/mcpToolNames.js");
const handlerHelpers_js_1 = require("./utils/handlerHelpers.js");
/**
* Fetch DEX Aggregated Volume Summary
*
* Returns platform-wide trading volume statistics with trend analysis
* across 1-day, 7-day, and 30-day windows.
*/
exports.fetchDexAggregatedVolumeSummaryPrompt = {
name: 'galachain-launchpad:fetch-dex-aggregated-volume-summary',
description: 'Fetch DEX aggregated volume summary with 1d/7d/30d trend metrics',
arguments: [],
handler: () => {
return (0, handlerHelpers_js_1.createPromptResponse)(`I want to view the DEX aggregated volume summary with trend analysis.
**Purpose:**
Get platform-wide trading volume metrics across all DEX pools with historical comparisons.
**Data to Retrieve:**
- 1-day total volume (USD) and % change
- 7-day total volume (USD) and % change
- 30-day total volume (USD) and % change
**Information Provided:**
- Complete volume breakdown by time period
- Trend direction and magnitude
- Performance relative to previous periods
- Formatted metrics for easy interpretation
**Use Cases:**
1. **Market Overview**: Check total DEX trading volume and activity
2. **Trend Analysis**: Identify volume increase/decrease patterns
3. **Period Comparison**: Compare 1d vs 7d vs 30d performance
4. **Health Check**: Monitor platform trading health
5. **Volume Trends**: Detect market shifts and anomalies
6. **Investment Research**: Analyze platform adoption and usage
**Key Metrics:**
- **volume1d**: 1-day total volume in USD
- **volume1dDelta**: 1-day change as decimal (-0.15 = -15%, 0.25 = +25%)
- **volume7d**: 7-day total volume in USD
- **volume7dDelta**: 7-day change as decimal
- **volume30d**: 30-day total volume in USD
- **volume30dDelta**: 30-day change as decimal
**Related Operations:**
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_DEX_POOLS} to explore individual pool volumes and trading
- Use ${mcpToolNames_js_1.MCP_TOOLS.GET_SWAP_QUOTE_EXACT_INPUT} for specific swap analysis
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_ALL_DEX_POOLS} to get comprehensive pool data with volume metrics
**Trend Interpretation:**
- **Positive delta**: Volume increased compared to previous period (market growth)
- **Negative delta**: Volume decreased compared to previous period (market slowdown)
- **Volume ordering**: 1d ≤ 7d ≤ 30d (accumulated volumes across time windows)
Please fetch the DEX aggregated volume summary.`);
},
};
/**
* Export all DEX volume summary prompts
*/
exports.dexVolumePrompts = [
exports.fetchDexAggregatedVolumeSummaryPrompt,
];
//# sourceMappingURL=dex-volume.js.map