@gala-chain/launchpad-mcp-server 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,23 @@ All notable changes to the Gala Launchpad MCP Server will be documented in this
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.2.4] - 2025-10-02
9
+
10
+ ### Changed
11
+ - **Internal code quality improvements** - Schema consolidation across all 37 MCP tools
12
+ - Created centralized `common-schemas.ts` with 15+ reusable schema definitions
13
+ - Updated all tools to use shared schemas (TOKEN_NAME_SCHEMA, PRIVATE_KEY_SCHEMA, etc.)
14
+ - Added `createLimitSchema()` function for operation-specific pagination constraints
15
+ - Eliminated ~50+ inline schema repetitions across 7 tool categories
16
+ - No breaking changes - 100% backward compatible with all AI agents
17
+ - Updated SDK dependency from ^3.5.1 to ^3.5.2
18
+
19
+ ### Benefits
20
+ - ✅ Improved code maintainability and consistency
21
+ - ✅ Single source of truth for all schema definitions
22
+ - ✅ Easier to maintain and update validation rules
23
+ - ✅ All tools tested and working with Claude Desktop
24
+
8
25
  ## [1.2.3] - 2025-10-01
9
26
 
10
27
  ### Documentation
@@ -0,0 +1,181 @@
1
+ /**
2
+ * Common MCP Tool Schema Definitions
3
+ *
4
+ * Reusable schema components to eliminate duplication across 37 MCP tools.
5
+ * These schemas are imported and composed into tool-specific inputSchema definitions.
6
+ *
7
+ * @see https://modelcontextprotocol.io/docs/concepts/tools
8
+ */
9
+ /**
10
+ * Token name schema - used in 11+ tools
11
+ * Pattern: lowercase alphanumeric with hyphens/underscores, 2-20 characters
12
+ */
13
+ export declare const TOKEN_NAME_SCHEMA: {
14
+ type: "string";
15
+ pattern: string;
16
+ description: string;
17
+ };
18
+ /**
19
+ * Token symbol schema - used in creation tools
20
+ * Pattern: uppercase alphanumeric, 2-10 characters
21
+ */
22
+ export declare const TOKEN_SYMBOL_SCHEMA: {
23
+ type: "string";
24
+ pattern: string;
25
+ description: string;
26
+ };
27
+ /**
28
+ * Private key schema - used in 18+ tools
29
+ * Pattern: 0x prefix followed by 64 hex characters
30
+ */
31
+ export declare const PRIVATE_KEY_SCHEMA: {
32
+ type: "string";
33
+ pattern: string;
34
+ description: string;
35
+ };
36
+ /**
37
+ * Wallet address schema - supports both Ethereum (0x...) and GalaChain (eth|...) formats
38
+ * Used in balance, transfer, and user tools
39
+ */
40
+ export declare const ADDRESS_SCHEMA: {
41
+ type: "string";
42
+ pattern: string;
43
+ description: string;
44
+ };
45
+ /**
46
+ * Decimal amount schema - used in trading and transfer tools
47
+ * Pattern: positive decimal number string
48
+ */
49
+ export declare const DECIMAL_AMOUNT_SCHEMA: {
50
+ type: "string";
51
+ pattern: string;
52
+ description: string;
53
+ };
54
+ /**
55
+ * Integer amount schema - used in token transfers
56
+ * Pattern: positive integer string
57
+ */
58
+ export declare const INTEGER_AMOUNT_SCHEMA: {
59
+ type: "string";
60
+ pattern: string;
61
+ description: string;
62
+ };
63
+ /**
64
+ * URL schema - used for social URLs and token images
65
+ */
66
+ export declare const URL_SCHEMA: {
67
+ type: "string";
68
+ format: string;
69
+ };
70
+ /**
71
+ * Pagination schemas - used in ~15 tools
72
+ */
73
+ export declare const PAGE_SCHEMA: {
74
+ type: "number";
75
+ minimum: 1;
76
+ description: string;
77
+ };
78
+ /**
79
+ * Creates a limit schema with operation-specific maximum
80
+ *
81
+ * @param operationType - The type of operation (trade, user, pool, comment)
82
+ * @param defaultLimit - Default limit value (typically 20)
83
+ * @returns Limit schema with appropriate maximum
84
+ */
85
+ export declare function createLimitSchema(operationType: 'trade' | 'user' | 'pool' | 'comment', defaultLimit?: number): {
86
+ type: 'number';
87
+ minimum: number;
88
+ maximum: number;
89
+ description: string;
90
+ };
91
+ /**
92
+ * Transaction ID schema - used for getBundlerTransactionResult
93
+ * Pattern: UUID format
94
+ */
95
+ export declare const TRANSACTION_ID_SCHEMA: {
96
+ type: "string";
97
+ pattern: string;
98
+ description: string;
99
+ };
100
+ /**
101
+ * Idempotency key schema - used in transfer tools
102
+ */
103
+ export declare const UNIQUE_KEY_SCHEMA: {
104
+ type: "string";
105
+ pattern: string;
106
+ description: string;
107
+ };
108
+ /**
109
+ * Comment message schema
110
+ */
111
+ export declare const COMMENT_MESSAGE_SCHEMA: {
112
+ type: "string";
113
+ maxLength: number;
114
+ description: string;
115
+ };
116
+ /**
117
+ * Profile name schema
118
+ */
119
+ export declare const FULL_NAME_SCHEMA: {
120
+ type: "string";
121
+ maxLength: number;
122
+ pattern: string;
123
+ description: string;
124
+ };
125
+ /**
126
+ * Search query schema - used in user tools
127
+ */
128
+ export declare const SEARCH_SCHEMA: {
129
+ type: "string";
130
+ description: string;
131
+ };
132
+ /**
133
+ * Pre-buy quantity schema - used in token creation
134
+ */
135
+ export declare const PRE_BUY_QUANTITY_SCHEMA: {
136
+ type: "string";
137
+ pattern: string;
138
+ description: string;
139
+ };
140
+ /**
141
+ * Token description schema
142
+ */
143
+ export declare const TOKEN_DESCRIPTION_SCHEMA: {
144
+ type: "string";
145
+ maxLength: number;
146
+ description: string;
147
+ };
148
+ /**
149
+ * Slippage tolerance factor schema
150
+ */
151
+ export declare const SLIPPAGE_TOLERANCE_SCHEMA: {
152
+ type: "number";
153
+ minimum: number;
154
+ maximum: number;
155
+ description: string;
156
+ };
157
+ /**
158
+ * Reverse bonding curve fee slippage schema
159
+ */
160
+ export declare const RBC_FEE_SLIPPAGE_SCHEMA: {
161
+ type: "number";
162
+ minimum: number;
163
+ maximum: number;
164
+ description: string;
165
+ };
166
+ /**
167
+ * Date-time schema - used in trade and volume queries
168
+ */
169
+ export declare const DATE_TIME_SCHEMA: {
170
+ type: "string";
171
+ format: string;
172
+ };
173
+ /**
174
+ * Sort order schema
175
+ */
176
+ export declare const SORT_ORDER_SCHEMA: {
177
+ type: "string";
178
+ enum: string[];
179
+ description: string;
180
+ };
181
+ //# sourceMappingURL=common-schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/common-schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;CAI/B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;CAK9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU;;;CAGtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,aAAa,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,EACpD,YAAY,GAAE,MAAW,GACxB;IACD,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB,CAcA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;CAIlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;CAK5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa;;;CAGzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;CAInC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;CAIpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;CAKrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;CAMnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;CAG5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAC"}
@@ -0,0 +1,194 @@
1
+ "use strict";
2
+ /**
3
+ * Common MCP Tool Schema Definitions
4
+ *
5
+ * Reusable schema components to eliminate duplication across 37 MCP tools.
6
+ * These schemas are imported and composed into tool-specific inputSchema definitions.
7
+ *
8
+ * @see https://modelcontextprotocol.io/docs/concepts/tools
9
+ */
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.SORT_ORDER_SCHEMA = exports.DATE_TIME_SCHEMA = exports.RBC_FEE_SLIPPAGE_SCHEMA = exports.SLIPPAGE_TOLERANCE_SCHEMA = exports.TOKEN_DESCRIPTION_SCHEMA = exports.PRE_BUY_QUANTITY_SCHEMA = exports.SEARCH_SCHEMA = exports.FULL_NAME_SCHEMA = exports.COMMENT_MESSAGE_SCHEMA = exports.UNIQUE_KEY_SCHEMA = exports.TRANSACTION_ID_SCHEMA = exports.PAGE_SCHEMA = exports.URL_SCHEMA = exports.INTEGER_AMOUNT_SCHEMA = exports.DECIMAL_AMOUNT_SCHEMA = exports.ADDRESS_SCHEMA = exports.PRIVATE_KEY_SCHEMA = exports.TOKEN_SYMBOL_SCHEMA = exports.TOKEN_NAME_SCHEMA = void 0;
12
+ exports.createLimitSchema = createLimitSchema;
13
+ const constraints_js_1 = require("../utils/constraints.js");
14
+ /**
15
+ * Token name schema - used in 11+ tools
16
+ * Pattern: lowercase alphanumeric with hyphens/underscores, 2-20 characters
17
+ */
18
+ exports.TOKEN_NAME_SCHEMA = {
19
+ type: 'string',
20
+ pattern: '^[a-z0-9_-]{2,20}$',
21
+ description: 'Token name',
22
+ };
23
+ /**
24
+ * Token symbol schema - used in creation tools
25
+ * Pattern: uppercase alphanumeric, 2-10 characters
26
+ */
27
+ exports.TOKEN_SYMBOL_SCHEMA = {
28
+ type: 'string',
29
+ pattern: '^[A-Z0-9]{2,10}$',
30
+ description: 'Token symbol',
31
+ };
32
+ /**
33
+ * Private key schema - used in 18+ tools
34
+ * Pattern: 0x prefix followed by 64 hex characters
35
+ */
36
+ exports.PRIVATE_KEY_SCHEMA = {
37
+ type: 'string',
38
+ pattern: '^0x[a-fA-F0-9]{64}$',
39
+ description: 'Optional private key override for this operation (format: "0x" + 64 hex characters). If provided, uses this wallet instead of the default MCP server wallet.',
40
+ };
41
+ /**
42
+ * Wallet address schema - supports both Ethereum (0x...) and GalaChain (eth|...) formats
43
+ * Used in balance, transfer, and user tools
44
+ */
45
+ exports.ADDRESS_SCHEMA = {
46
+ type: 'string',
47
+ pattern: '^(0x[a-fA-F0-9]{40}|eth\\|[a-fA-F0-9]{40})$',
48
+ description: 'Wallet address',
49
+ };
50
+ /**
51
+ * Decimal amount schema - used in trading and transfer tools
52
+ * Pattern: positive decimal number string
53
+ */
54
+ exports.DECIMAL_AMOUNT_SCHEMA = {
55
+ type: 'string',
56
+ pattern: '^[0-9.]+$',
57
+ description: 'Amount in standard decimal format',
58
+ };
59
+ /**
60
+ * Integer amount schema - used in token transfers
61
+ * Pattern: positive integer string
62
+ */
63
+ exports.INTEGER_AMOUNT_SCHEMA = {
64
+ type: 'string',
65
+ pattern: '^[0-9]+$',
66
+ description: 'Token amount',
67
+ };
68
+ /**
69
+ * URL schema - used for social URLs and token images
70
+ */
71
+ exports.URL_SCHEMA = {
72
+ type: 'string',
73
+ format: 'uri',
74
+ };
75
+ /**
76
+ * Pagination schemas - used in ~15 tools
77
+ */
78
+ exports.PAGE_SCHEMA = {
79
+ type: 'number',
80
+ minimum: constraints_js_1.MCP_CONSTRAINTS.MIN_PAGE,
81
+ description: 'Page number (default: 1)',
82
+ };
83
+ /**
84
+ * Creates a limit schema with operation-specific maximum
85
+ *
86
+ * @param operationType - The type of operation (trade, user, pool, comment)
87
+ * @param defaultLimit - Default limit value (typically 20)
88
+ * @returns Limit schema with appropriate maximum
89
+ */
90
+ function createLimitSchema(operationType, defaultLimit = 20) {
91
+ const maxLimits = {
92
+ trade: constraints_js_1.MCP_CONSTRAINTS.TRADE_LIMIT, // 20
93
+ user: constraints_js_1.MCP_CONSTRAINTS.USER_LIMIT, // 20
94
+ pool: constraints_js_1.MCP_CONSTRAINTS.POOL_LIMIT, // 100
95
+ comment: constraints_js_1.MCP_CONSTRAINTS.COMMENT_LIMIT, // 50
96
+ };
97
+ return {
98
+ type: 'number',
99
+ minimum: constraints_js_1.MCP_CONSTRAINTS.MIN_LIMIT,
100
+ maximum: maxLimits[operationType],
101
+ description: `Results per page (default: ${defaultLimit}, maximum: ${maxLimits[operationType]})`,
102
+ };
103
+ }
104
+ /**
105
+ * Transaction ID schema - used for getBundlerTransactionResult
106
+ * Pattern: UUID format
107
+ */
108
+ exports.TRANSACTION_ID_SCHEMA = {
109
+ type: 'string',
110
+ pattern: '^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$',
111
+ description: 'Transaction ID (UUID format) from buy(), sell(), or launchToken()',
112
+ };
113
+ /**
114
+ * Idempotency key schema - used in transfer tools
115
+ */
116
+ exports.UNIQUE_KEY_SCHEMA = {
117
+ type: 'string',
118
+ pattern: '^galaconnect-operation-[a-z0-9-]+$',
119
+ description: 'Optional idempotency key',
120
+ };
121
+ /**
122
+ * Comment message schema
123
+ */
124
+ exports.COMMENT_MESSAGE_SCHEMA = {
125
+ type: 'string',
126
+ maxLength: 500,
127
+ description: 'Comment message text',
128
+ };
129
+ /**
130
+ * Profile name schema
131
+ */
132
+ exports.FULL_NAME_SCHEMA = {
133
+ type: 'string',
134
+ maxLength: 50,
135
+ pattern: '^[a-zA-Z\\s]+$',
136
+ description: 'Full name',
137
+ };
138
+ /**
139
+ * Search query schema - used in user tools
140
+ */
141
+ exports.SEARCH_SCHEMA = {
142
+ type: 'string',
143
+ description: 'Optional search query (fuzzy match filter)',
144
+ };
145
+ /**
146
+ * Pre-buy quantity schema - used in token creation
147
+ */
148
+ exports.PRE_BUY_QUANTITY_SCHEMA = {
149
+ type: 'string',
150
+ pattern: '^[0-9.]+$',
151
+ description: 'Pre-buy quantity as decimal string (defaults to "0")',
152
+ };
153
+ /**
154
+ * Token description schema
155
+ */
156
+ exports.TOKEN_DESCRIPTION_SCHEMA = {
157
+ type: 'string',
158
+ maxLength: 500,
159
+ description: 'Token description',
160
+ };
161
+ /**
162
+ * Slippage tolerance factor schema
163
+ */
164
+ exports.SLIPPAGE_TOLERANCE_SCHEMA = {
165
+ type: 'number',
166
+ minimum: 0,
167
+ maximum: 1,
168
+ description: 'Decimal format (0.05 = 5% slippage)',
169
+ };
170
+ /**
171
+ * Reverse bonding curve fee slippage schema
172
+ */
173
+ exports.RBC_FEE_SLIPPAGE_SCHEMA = {
174
+ type: 'number',
175
+ minimum: 0,
176
+ maximum: 1,
177
+ description: 'Optional slippage tolerance for reverse bonding curve fee (decimal, e.g., 0.01 for 1%). Defaults to 0.01 (1%) if not provided. Applied to maxAcceptableReverseBondingCurveFee to increase max acceptable fee.',
178
+ };
179
+ /**
180
+ * Date-time schema - used in trade and volume queries
181
+ */
182
+ exports.DATE_TIME_SCHEMA = {
183
+ type: 'string',
184
+ format: 'date-time',
185
+ };
186
+ /**
187
+ * Sort order schema
188
+ */
189
+ exports.SORT_ORDER_SCHEMA = {
190
+ type: 'string',
191
+ enum: ['ASC', 'DESC'],
192
+ description: 'Sort order (default: DESC)',
193
+ };
194
+ //# sourceMappingURL=common-schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common-schemas.js","sourceRoot":"","sources":["../../src/schemas/common-schemas.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAyFH,8CAsBC;AA7GD,4DAA0D;AAE1D;;;GAGG;AACU,QAAA,iBAAiB,GAAG;IAC/B,IA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AAE,CAAC;IACV,WAAW,EAAE,qCAAqC;CACnD,CAAC;AAEF;;GAEG;AACU,QAAA,uBAAuB,GAAG;IACrC,IAAI,EAAE,QAAiB;IACvB,OAAO,EAAE,CAAC;IACV,OAAO,EAAE,CAAC;IACV,WAAW,EACT,+MAA+M;CAClN,CAAC;AAEF;;GAEG;AACU,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,QAAiB;IACvB,MAAM,EAAE,WAAW;CACpB,CAAC;AAEF;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,IAAI,EAAE,QAAiB;IACvB,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,4BAA4B;CAC1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/balance/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAKlD,eAAO,MAAM,oBAAoB,EAAE,OAiBlC,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,OA2BnC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,OA4CjC,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,OA4CpC,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,OAiB9B,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,OAsC/B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,OAAO,EAOjC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/balance/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAclD,eAAO,MAAM,oBAAoB,EAAE,OAgBlC,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,OAmBnC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,OA2BjC,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,OA2BpC,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,OAgB9B,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,OAyB/B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,OAAO,EAOjC,CAAC"}
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.balanceTools = exports.updateProfileTool = exports.fetchProfileTool = exports.fetchTokensCreatedTool = exports.fetchTokensHeldTool = exports.fetchTokenBalanceTool = exports.fetchGalaBalanceTool = void 0;
7
7
  const response_formatter_js_1 = require("../../utils/response-formatter.js");
8
8
  const error_handler_js_1 = require("../../utils/error-handler.js");
9
+ const common_schemas_js_1 = require("../../schemas/common-schemas.js");
9
10
  // 1. Fetch GALA Balance
10
11
  exports.fetchGalaBalanceTool = {
11
12
  name: 'gala_launchpad_fetch_gala_balance',
@@ -14,8 +15,7 @@ exports.fetchGalaBalanceTool = {
14
15
  type: 'object',
15
16
  properties: {
16
17
  address: {
17
- type: 'string',
18
- pattern: '^(0x[a-fA-F0-9]{40}|eth\\|[a-fA-F0-9]{40})$',
18
+ ...common_schemas_js_1.ADDRESS_SCHEMA,
19
19
  description: 'Wallet address (optional, defaults to SDK wallet)',
20
20
  },
21
21
  },
@@ -32,16 +32,8 @@ exports.fetchTokenBalanceTool = {
32
32
  inputSchema: {
33
33
  type: 'object',
34
34
  properties: {
35
- tokenName: {
36
- type: 'string',
37
- pattern: '^[a-z0-9_-]{2,20}$',
38
- description: 'Token name',
39
- },
40
- address: {
41
- type: 'string',
42
- pattern: '^(0x[a-fA-F0-9]{40}|eth\\|[a-fA-F0-9]{40})$',
43
- description: 'Wallet address',
44
- },
35
+ tokenName: common_schemas_js_1.TOKEN_NAME_SCHEMA,
36
+ address: common_schemas_js_1.ADDRESS_SCHEMA,
45
37
  },
46
38
  required: ['tokenName', 'address'],
47
39
  },
@@ -61,31 +53,14 @@ exports.fetchTokensHeldTool = {
61
53
  inputSchema: {
62
54
  type: 'object',
63
55
  properties: {
64
- address: {
65
- type: 'string',
66
- pattern: '^(0x[a-fA-F0-9]{40}|eth\\|[a-fA-F0-9]{40})$',
67
- description: 'Wallet address',
68
- },
69
- page: {
70
- type: 'number',
71
- minimum: 1,
72
- description: 'Page number (default: 1)',
73
- },
74
- limit: {
75
- type: 'number',
76
- minimum: 1,
77
- maximum: 20, // USER_CONSTRAINTS.PAGINATION.MAX_LIMIT from SDK
78
- description: 'Results per page (default: 20, maximum: 20)',
79
- },
56
+ address: common_schemas_js_1.ADDRESS_SCHEMA,
57
+ page: common_schemas_js_1.PAGE_SCHEMA,
58
+ limit: (0, common_schemas_js_1.createLimitSchema)('user', 20),
80
59
  tokenName: {
81
- type: 'string',
82
- pattern: '^[a-z0-9_-]{2,20}$',
60
+ ...common_schemas_js_1.TOKEN_NAME_SCHEMA,
83
61
  description: 'Optional token name (exact match filter)',
84
62
  },
85
- search: {
86
- type: 'string',
87
- description: 'Optional search query (fuzzy match filter)',
88
- },
63
+ search: common_schemas_js_1.SEARCH_SCHEMA,
89
64
  },
90
65
  required: ['address'],
91
66
  },
@@ -107,31 +82,14 @@ exports.fetchTokensCreatedTool = {
107
82
  inputSchema: {
108
83
  type: 'object',
109
84
  properties: {
110
- address: {
111
- type: 'string',
112
- pattern: '^(0x[a-fA-F0-9]{40}|eth\\|[a-fA-F0-9]{40})$',
113
- description: 'Wallet address',
114
- },
115
- page: {
116
- type: 'number',
117
- minimum: 1,
118
- description: 'Page number (default: 1)',
119
- },
120
- limit: {
121
- type: 'number',
122
- minimum: 1,
123
- maximum: 20, // USER_CONSTRAINTS.PAGINATION.MAX_LIMIT from SDK
124
- description: 'Results per page (default: 20, maximum: 20)',
125
- },
85
+ address: common_schemas_js_1.ADDRESS_SCHEMA,
86
+ page: common_schemas_js_1.PAGE_SCHEMA,
87
+ limit: (0, common_schemas_js_1.createLimitSchema)('user', 20),
126
88
  tokenName: {
127
- type: 'string',
128
- pattern: '^[a-z0-9_-]{2,20}$',
89
+ ...common_schemas_js_1.TOKEN_NAME_SCHEMA,
129
90
  description: 'Optional token name (exact match filter)',
130
91
  },
131
- search: {
132
- type: 'string',
133
- description: 'Optional search query (fuzzy match filter)',
134
- },
92
+ search: common_schemas_js_1.SEARCH_SCHEMA,
135
93
  },
136
94
  required: ['address'],
137
95
  },
@@ -154,8 +112,7 @@ exports.fetchProfileTool = {
154
112
  type: 'object',
155
113
  properties: {
156
114
  address: {
157
- type: 'string',
158
- pattern: '^(0x[a-fA-F0-9]{40}|eth\\|[a-fA-F0-9]{40})$',
115
+ ...common_schemas_js_1.ADDRESS_SCHEMA,
159
116
  description: 'Wallet address (optional, defaults to SDK wallet)',
160
117
  },
161
118
  },
@@ -172,26 +129,13 @@ exports.updateProfileTool = {
172
129
  inputSchema: {
173
130
  type: 'object',
174
131
  properties: {
175
- fullName: {
176
- type: 'string',
177
- maxLength: 50,
178
- pattern: '^[a-zA-Z\\s]+$',
179
- description: 'Full name',
180
- },
132
+ fullName: common_schemas_js_1.FULL_NAME_SCHEMA,
181
133
  profileImage: {
182
134
  type: 'string',
183
135
  description: 'Profile image URL or empty string',
184
136
  },
185
- address: {
186
- type: 'string',
187
- pattern: '^(0x[a-fA-F0-9]{40}|eth\\|[a-fA-F0-9]{40})$',
188
- description: 'Wallet address',
189
- },
190
- privateKey: {
191
- type: 'string',
192
- pattern: '^0x[a-fA-F0-9]{64}$',
193
- description: 'Optional private key override for this operation (format: "0x" + 64 hex characters). If provided, uses this wallet instead of the default MCP server wallet.',
194
- },
137
+ address: common_schemas_js_1.ADDRESS_SCHEMA,
138
+ privateKey: common_schemas_js_1.PRIVATE_KEY_SCHEMA,
195
139
  },
196
140
  required: ['fullName', 'profileImage', 'address'],
197
141
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/balance/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAiF;AACjF,mEAAiE;AAEjE,wBAA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AAY;IACxC,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,QAAQ,EAAE,oCAAgB;YAC1B,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,mCAAmC;aACjD;YACD,OAAO,EAAE,kCAAc;YACvB,UAAU,EAAE,sCAAkB;SAC/B;QACD,QAAQ,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,SAAS,CAAC;KAClD;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC7C,MAAM,GAAG,CAAC,aAAa,CAAC;YACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,CAAC,CAAC;QACH,OAAO,IAAA,qCAAa,EAAC,IAAI,EAAE,8BAA8B,CAAC,CAAC;IAC7D,CAAC,CAAC;CACH,CAAC;AAEW,QAAA,YAAY,GAAc;IACrC,4BAAoB;IACpB,6BAAqB;IACrB,2BAAmB;IACnB,8BAAsB;IACtB,wBAAgB;IAChB,yBAAiB;CAClB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/creation/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAKlD,eAAO,MAAM,eAAe,EAAE,OA+F7B,CAAC;AAGF,eAAO,MAAM,oBAAoB,EAAE,OAqClC,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,OA2CpC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,OAAO,EAIlC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/creation/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAclD,eAAO,MAAM,eAAe,EAAE,OAuE7B,CAAC;AAGF,eAAO,MAAM,oBAAoB,EAAE,OAgClC,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,OAsCpC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,OAAO,EAIlC,CAAC"}