sensor-tower-mcp-pro 1.2.13 → 1.3.0
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/README.md +59 -24
- package/dist/tools/market-analysis.d.ts +0 -229
- package/dist/tools/market-analysis.d.ts.map +1 -1
- package/dist/tools/market-analysis.js +4 -172
- package/dist/tools/market-analysis.js.map +1 -1
- package/dist/tools/search.d.ts +0 -71
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/search.js +0 -48
- package/dist/tools/search.js.map +1 -1
- package/dist/tools/store-marketing.d.ts +0 -108
- package/dist/tools/store-marketing.d.ts.map +1 -1
- package/dist/tools/store-marketing.js +1 -87
- package/dist/tools/store-marketing.js.map +1 -1
- package/dist/tools/your-metrics.d.ts +0 -60
- package/dist/tools/your-metrics.d.ts.map +1 -1
- package/dist/tools/your-metrics.js +2 -55
- package/dist/tools/your-metrics.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ A pure Node.js implementation of the Model Context Protocol server for Sensor To
|
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
- **
|
|
7
|
+
- **28 API Tools** - Optimized coverage of Sensor Tower APIs (official endpoints only)
|
|
8
8
|
- **App Intelligence** - Metadata, rankings, downloads, revenue estimates
|
|
9
9
|
- **Search & Discovery** - Find apps and publishers by name or description
|
|
10
10
|
- **Market Analysis** - Category rankings, featured apps, competitor insights
|
|
@@ -75,7 +75,7 @@ npx sensor-tower-mcp-pro
|
|
|
75
75
|
|
|
76
76
|
Get your API token from [Sensor Tower Account Settings](https://app.sensortower.com/users/edit/api-settings).
|
|
77
77
|
|
|
78
|
-
## Available Tools (
|
|
78
|
+
## Available Tools (28 Total)
|
|
79
79
|
|
|
80
80
|
### App Analysis (16 tools)
|
|
81
81
|
| Tool | Description |
|
|
@@ -97,45 +97,38 @@ Get your API token from [Sensor Tower Account Settings](https://app.sensortower.
|
|
|
97
97
|
| `app_analysis_demographics` | Demographic analysis |
|
|
98
98
|
| `app_update_timeline` | App update history |
|
|
99
99
|
|
|
100
|
-
### Market Analysis (
|
|
100
|
+
### Market Analysis (4 tools)
|
|
101
101
|
| Tool | Description |
|
|
102
102
|
|------|-------------|
|
|
103
|
-
| `
|
|
104
|
-
| `
|
|
105
|
-
| `
|
|
106
|
-
| `
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
### Store Marketing (6 tools)
|
|
103
|
+
| `get_store_summary` | App store summary statistics ⚠️ |
|
|
104
|
+
| `top_apps` | Share of Voice for advertisers/publishers ⚠️ |
|
|
105
|
+
| `top_apps_search` | Rank of advertiser/publisher ⚠️ |
|
|
106
|
+
| `games_breakdown` | Game category breakdown ⚠️ |
|
|
107
|
+
|
|
108
|
+
> ⚠️ **Note**: These tools use unofficial API endpoints not documented in official Sensor Tower API docs. They currently work but may change without notice.
|
|
109
|
+
|
|
110
|
+
### Store Marketing (3 tools)
|
|
113
111
|
| Tool | Description |
|
|
114
112
|
|------|-------------|
|
|
115
113
|
| `get_featured_today_stories` | Featured Today stories |
|
|
116
114
|
| `get_featured_apps` | Featured apps on App Store |
|
|
117
115
|
| `get_featured_creatives` | Featured creatives and positions |
|
|
118
|
-
| `get_keywords` | Current keyword rankings |
|
|
119
|
-
| `get_reviews` | App reviews and ratings |
|
|
120
|
-
| `research_keyword` | Keyword research metadata |
|
|
121
116
|
|
|
122
|
-
### Search & Discovery (
|
|
117
|
+
### Search & Discovery (3 tools)
|
|
123
118
|
| Tool | Description |
|
|
124
119
|
|------|-------------|
|
|
125
|
-
| `search_entities` | Search apps and publishers |
|
|
126
|
-
| `get_category_rankings` | Top apps by category |
|
|
127
120
|
| `get_publisher_apps` | Apps by publisher |
|
|
128
121
|
| `get_unified_publisher_apps` | Unified publisher apps |
|
|
129
122
|
| `get_app_ids_by_category` | App IDs by category |
|
|
130
123
|
|
|
131
|
-
### Your Metrics (
|
|
124
|
+
### Your Metrics (2 tools)
|
|
132
125
|
| Tool | Description |
|
|
133
126
|
|------|-------------|
|
|
134
|
-
| `
|
|
135
|
-
| `sources_metrics` | Metrics by traffic source |
|
|
136
|
-
| `sales_reports` | Downloads/revenue sales report |
|
|
127
|
+
| `sales_reports` | Downloads/revenue sales report 🔒 |
|
|
137
128
|
| `unified_sales_reports` | Unified sales report |
|
|
138
129
|
|
|
130
|
+
> 🔒 **Permission Required**: `sales_reports` requires special API authorization. Contact Sensor Tower support if you receive 401 errors.
|
|
131
|
+
|
|
139
132
|
### Utilities (4 tools)
|
|
140
133
|
| Tool | Description |
|
|
141
134
|
|------|-------------|
|
|
@@ -189,4 +182,46 @@ npm start
|
|
|
189
182
|
|
|
190
183
|
## License
|
|
191
184
|
|
|
192
|
-
MIT License
|
|
185
|
+
MIT License
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## Version History
|
|
190
|
+
|
|
191
|
+
### v1.3.0 (2026-02-03)
|
|
192
|
+
|
|
193
|
+
**Major Optimization Release - API Alignment**
|
|
194
|
+
|
|
195
|
+
This release aligns the tool collection with official Sensor Tower API documentation, removing deprecated endpoints and improving reliability.
|
|
196
|
+
|
|
197
|
+
**Changes:**
|
|
198
|
+
- ✅ **Removed 11 deprecated tools** that return 404 errors:
|
|
199
|
+
- `search_entities`, `get_category_rankings` (Search)
|
|
200
|
+
- `get_top_and_trending`, `get_top_publishers`, `usage_top_apps`, `top_creatives` (Market Analysis)
|
|
201
|
+
- `get_keywords`, `get_reviews`, `research_keyword` (Store Marketing)
|
|
202
|
+
- `analytics_metrics`, `sources_metrics` (Your Metrics)
|
|
203
|
+
- ✅ **Fixed parameter issues**:
|
|
204
|
+
- Made `unified_app_ids` required in `unified_sales_reports`
|
|
205
|
+
- Clarified `app_id` requirement in `get_featured_creatives`
|
|
206
|
+
- ✅ **Added documentation warnings**:
|
|
207
|
+
- Permission requirements for `sales_reports`
|
|
208
|
+
- Server error warnings for `get_store_summary`
|
|
209
|
+
- Unofficial API warnings for shadow endpoints (`top_apps`, `top_apps_search`, `games_breakdown`)
|
|
210
|
+
- ✅ **Code quality improvements**:
|
|
211
|
+
- 343 lines of deprecated code removed
|
|
212
|
+
- TypeScript compilation optimized
|
|
213
|
+
- Better error messages and documentation
|
|
214
|
+
|
|
215
|
+
**Tool Count:** 43 → 28 tools (official endpoints only)
|
|
216
|
+
|
|
217
|
+
**Migration Guide:**
|
|
218
|
+
- If you were using removed tools, check the [official Sensor Tower API docs](https://docs.sensortower.com/) for alternative endpoints
|
|
219
|
+
- Shadow API tools (marked with ⚠️) still work but may change without notice
|
|
220
|
+
|
|
221
|
+
### v1.2.13 (2026-01-30)
|
|
222
|
+
- Fixed API endpoint paths and date parameter handling
|
|
223
|
+
- Improved error handling
|
|
224
|
+
|
|
225
|
+
### v1.2.12 (2026-01-30)
|
|
226
|
+
- Initial npm release
|
|
227
|
+
- 43 API tools with multi-token failover support
|
|
@@ -3,125 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { SensorTowerClient } from '../client';
|
|
5
5
|
export declare function registerMarketAnalysisTools(client: SensorTowerClient): {
|
|
6
|
-
get_top_and_trending: {
|
|
7
|
-
description: string;
|
|
8
|
-
inputSchema: {
|
|
9
|
-
type: string;
|
|
10
|
-
properties: {
|
|
11
|
-
os: {
|
|
12
|
-
type: string;
|
|
13
|
-
enum: string[];
|
|
14
|
-
description: string;
|
|
15
|
-
};
|
|
16
|
-
comparison_attribute: {
|
|
17
|
-
type: string;
|
|
18
|
-
enum: string[];
|
|
19
|
-
description: string;
|
|
20
|
-
};
|
|
21
|
-
time_range: {
|
|
22
|
-
type: string;
|
|
23
|
-
enum: string[];
|
|
24
|
-
description: string;
|
|
25
|
-
};
|
|
26
|
-
measure: {
|
|
27
|
-
type: string;
|
|
28
|
-
enum: string[];
|
|
29
|
-
description: string;
|
|
30
|
-
};
|
|
31
|
-
category: {
|
|
32
|
-
type: string;
|
|
33
|
-
description: string;
|
|
34
|
-
};
|
|
35
|
-
date: {
|
|
36
|
-
type: string;
|
|
37
|
-
description: string;
|
|
38
|
-
};
|
|
39
|
-
regions: {
|
|
40
|
-
type: string;
|
|
41
|
-
description: string;
|
|
42
|
-
};
|
|
43
|
-
device_type: {
|
|
44
|
-
type: string;
|
|
45
|
-
enum: string[];
|
|
46
|
-
description: string;
|
|
47
|
-
};
|
|
48
|
-
end_date: {
|
|
49
|
-
type: string;
|
|
50
|
-
description: string;
|
|
51
|
-
};
|
|
52
|
-
limit: {
|
|
53
|
-
type: string;
|
|
54
|
-
description: string;
|
|
55
|
-
default: number;
|
|
56
|
-
};
|
|
57
|
-
offset: {
|
|
58
|
-
type: string;
|
|
59
|
-
description: string;
|
|
60
|
-
};
|
|
61
|
-
data_model: {
|
|
62
|
-
type: string;
|
|
63
|
-
enum: string[];
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
required: string[];
|
|
68
|
-
};
|
|
69
|
-
handler: (args: any) => Promise<unknown>;
|
|
70
|
-
};
|
|
71
|
-
get_top_publishers: {
|
|
72
|
-
description: string;
|
|
73
|
-
inputSchema: {
|
|
74
|
-
type: string;
|
|
75
|
-
properties: {
|
|
76
|
-
os: {
|
|
77
|
-
type: string;
|
|
78
|
-
enum: string[];
|
|
79
|
-
description: string;
|
|
80
|
-
};
|
|
81
|
-
comparison_attribute: {
|
|
82
|
-
type: string;
|
|
83
|
-
enum: string[];
|
|
84
|
-
};
|
|
85
|
-
time_range: {
|
|
86
|
-
type: string;
|
|
87
|
-
enum: string[];
|
|
88
|
-
};
|
|
89
|
-
measure: {
|
|
90
|
-
type: string;
|
|
91
|
-
enum: string[];
|
|
92
|
-
};
|
|
93
|
-
category: {
|
|
94
|
-
type: string;
|
|
95
|
-
description: string;
|
|
96
|
-
};
|
|
97
|
-
date: {
|
|
98
|
-
type: string;
|
|
99
|
-
description: string;
|
|
100
|
-
};
|
|
101
|
-
country: {
|
|
102
|
-
type: string;
|
|
103
|
-
description: string;
|
|
104
|
-
};
|
|
105
|
-
device_type: {
|
|
106
|
-
type: string;
|
|
107
|
-
enum: string[];
|
|
108
|
-
};
|
|
109
|
-
end_date: {
|
|
110
|
-
type: string;
|
|
111
|
-
description: string;
|
|
112
|
-
};
|
|
113
|
-
limit: {
|
|
114
|
-
type: string;
|
|
115
|
-
default: number;
|
|
116
|
-
};
|
|
117
|
-
offset: {
|
|
118
|
-
type: string;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
required: string[];
|
|
122
|
-
};
|
|
123
|
-
handler: (args: any) => Promise<unknown>;
|
|
124
|
-
};
|
|
125
6
|
get_store_summary: {
|
|
126
7
|
description: string;
|
|
127
8
|
inputSchema: {
|
|
@@ -158,60 +39,6 @@ export declare function registerMarketAnalysisTools(client: SensorTowerClient):
|
|
|
158
39
|
};
|
|
159
40
|
handler: (args: any) => Promise<unknown>;
|
|
160
41
|
};
|
|
161
|
-
usage_top_apps: {
|
|
162
|
-
description: string;
|
|
163
|
-
inputSchema: {
|
|
164
|
-
type: string;
|
|
165
|
-
properties: {
|
|
166
|
-
os: {
|
|
167
|
-
type: string;
|
|
168
|
-
enum: string[];
|
|
169
|
-
};
|
|
170
|
-
comparison_attribute: {
|
|
171
|
-
type: string;
|
|
172
|
-
enum: string[];
|
|
173
|
-
};
|
|
174
|
-
time_range: {
|
|
175
|
-
type: string;
|
|
176
|
-
enum: string[];
|
|
177
|
-
};
|
|
178
|
-
measure: {
|
|
179
|
-
type: string;
|
|
180
|
-
enum: string[];
|
|
181
|
-
};
|
|
182
|
-
date: {
|
|
183
|
-
type: string;
|
|
184
|
-
description: string;
|
|
185
|
-
};
|
|
186
|
-
regions: {
|
|
187
|
-
type: string;
|
|
188
|
-
description: string;
|
|
189
|
-
};
|
|
190
|
-
category: {
|
|
191
|
-
type: string;
|
|
192
|
-
default: string;
|
|
193
|
-
};
|
|
194
|
-
device_type: {
|
|
195
|
-
type: string;
|
|
196
|
-
enum: string[];
|
|
197
|
-
};
|
|
198
|
-
limit: {
|
|
199
|
-
type: string;
|
|
200
|
-
default: number;
|
|
201
|
-
};
|
|
202
|
-
offset: {
|
|
203
|
-
type: string;
|
|
204
|
-
};
|
|
205
|
-
data_model: {
|
|
206
|
-
type: string;
|
|
207
|
-
enum: string[];
|
|
208
|
-
default: string;
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
required: string[];
|
|
212
|
-
};
|
|
213
|
-
handler: (args: any) => Promise<unknown>;
|
|
214
|
-
};
|
|
215
42
|
top_apps: {
|
|
216
43
|
description: string;
|
|
217
44
|
inputSchema: {
|
|
@@ -297,62 +124,6 @@ export declare function registerMarketAnalysisTools(client: SensorTowerClient):
|
|
|
297
124
|
};
|
|
298
125
|
handler: (args: any) => Promise<unknown>;
|
|
299
126
|
};
|
|
300
|
-
top_creatives: {
|
|
301
|
-
description: string;
|
|
302
|
-
inputSchema: {
|
|
303
|
-
type: string;
|
|
304
|
-
properties: {
|
|
305
|
-
os: {
|
|
306
|
-
type: string;
|
|
307
|
-
enum: string[];
|
|
308
|
-
};
|
|
309
|
-
date: {
|
|
310
|
-
type: string;
|
|
311
|
-
description: string;
|
|
312
|
-
};
|
|
313
|
-
period: {
|
|
314
|
-
type: string;
|
|
315
|
-
enum: string[];
|
|
316
|
-
};
|
|
317
|
-
category: {
|
|
318
|
-
type: string;
|
|
319
|
-
};
|
|
320
|
-
country: {
|
|
321
|
-
type: string;
|
|
322
|
-
};
|
|
323
|
-
network: {
|
|
324
|
-
type: string;
|
|
325
|
-
};
|
|
326
|
-
ad_types: {
|
|
327
|
-
type: string;
|
|
328
|
-
description: string;
|
|
329
|
-
};
|
|
330
|
-
limit: {
|
|
331
|
-
type: string;
|
|
332
|
-
default: number;
|
|
333
|
-
};
|
|
334
|
-
page: {
|
|
335
|
-
type: string;
|
|
336
|
-
default: number;
|
|
337
|
-
};
|
|
338
|
-
placements: {
|
|
339
|
-
type: string;
|
|
340
|
-
};
|
|
341
|
-
video_durations: {
|
|
342
|
-
type: string;
|
|
343
|
-
};
|
|
344
|
-
aspect_ratios: {
|
|
345
|
-
type: string;
|
|
346
|
-
};
|
|
347
|
-
new_creative: {
|
|
348
|
-
type: string;
|
|
349
|
-
default: boolean;
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
|
-
required: string[];
|
|
353
|
-
};
|
|
354
|
-
handler: (args: any) => Promise<unknown>;
|
|
355
|
-
};
|
|
356
127
|
games_breakdown: {
|
|
357
128
|
description: string;
|
|
358
129
|
inputSchema: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market-analysis.d.ts","sourceRoot":"","sources":["../../src/tools/market-analysis.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,iBAAiB
|
|
1
|
+
{"version":3,"file":"market-analysis.d.ts","sourceRoot":"","sources":["../../src/tools/market-analysis.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAgBzC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA+BH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAgCH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA6BH,GAAG;;EAe9B"}
|
|
@@ -7,93 +7,8 @@ exports.registerMarketAnalysisTools = registerMarketAnalysisTools;
|
|
|
7
7
|
const utils_1 = require("../utils");
|
|
8
8
|
function registerMarketAnalysisTools(client) {
|
|
9
9
|
return {
|
|
10
|
-
get_top_and_trending: {
|
|
11
|
-
description: 'Get top apps by download or revenue estimates with growth metrics.',
|
|
12
|
-
inputSchema: {
|
|
13
|
-
type: 'object',
|
|
14
|
-
properties: {
|
|
15
|
-
os: { type: 'string', enum: ['ios', 'android', 'unified'], description: 'Operating system' },
|
|
16
|
-
comparison_attribute: { type: 'string', enum: ['absolute', 'delta', 'transformed_delta'], description: 'Comparison attribute' },
|
|
17
|
-
time_range: { type: 'string', enum: ['day', 'week', 'month', 'quarter', 'year'], description: 'Time range' },
|
|
18
|
-
measure: { type: 'string', enum: ['units', 'revenue'], description: 'Metric type' },
|
|
19
|
-
category: { type: 'string', description: 'Category identifier' },
|
|
20
|
-
date: { type: 'string', description: 'Start date (YYYY-MM-DD)' },
|
|
21
|
-
regions: { type: 'string', description: 'Comma-separated region codes' },
|
|
22
|
-
device_type: { type: 'string', enum: ['iphone', 'ipad', 'total'], description: 'Device filter' },
|
|
23
|
-
end_date: { type: 'string', description: 'End date (YYYY-MM-DD)' },
|
|
24
|
-
limit: { type: 'number', description: 'Max apps (1-2000)', default: 25 },
|
|
25
|
-
offset: { type: 'number', description: 'Pagination offset' },
|
|
26
|
-
data_model: { type: 'string', enum: ['DM_2025_Q2', 'DM_2025_Q1'], default: 'DM_2025_Q2' },
|
|
27
|
-
},
|
|
28
|
-
required: ['os', 'comparison_attribute', 'time_range', 'measure', 'category', 'date', 'regions'],
|
|
29
|
-
},
|
|
30
|
-
handler: async (args) => {
|
|
31
|
-
const os = (0, utils_1.validateOsParameter)(args.os);
|
|
32
|
-
const dateValue = (0, utils_1.validateDateFormat)(args.date);
|
|
33
|
-
const endDateValue = args.end_date ? (0, utils_1.validateDateFormat)(args.end_date) : undefined;
|
|
34
|
-
const params = {
|
|
35
|
-
comparison_attribute: args.comparison_attribute,
|
|
36
|
-
time_range: args.time_range,
|
|
37
|
-
measure: args.measure,
|
|
38
|
-
category: args.category,
|
|
39
|
-
date: dateValue,
|
|
40
|
-
regions: args.regions,
|
|
41
|
-
limit: args.limit || 25,
|
|
42
|
-
data_model: args.data_model || 'DM_2025_Q2',
|
|
43
|
-
};
|
|
44
|
-
if (args.device_type)
|
|
45
|
-
params.device_type = args.device_type;
|
|
46
|
-
if (endDateValue)
|
|
47
|
-
params.end_date = endDateValue;
|
|
48
|
-
if (args.offset)
|
|
49
|
-
params.offset = args.offset;
|
|
50
|
-
return client.makeRequest(`/v1/${os}/apps/top_and_trending`, params);
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
get_top_publishers: {
|
|
54
|
-
description: 'Get top publishers by download or revenue estimates.',
|
|
55
|
-
inputSchema: {
|
|
56
|
-
type: 'object',
|
|
57
|
-
properties: {
|
|
58
|
-
os: { type: 'string', enum: ['ios', 'android', 'unified'], description: 'Operating system' },
|
|
59
|
-
comparison_attribute: { type: 'string', enum: ['absolute', 'delta', 'transformed_delta'] },
|
|
60
|
-
time_range: { type: 'string', enum: ['day', 'week', 'month', 'quarter', 'year'] },
|
|
61
|
-
measure: { type: 'string', enum: ['units', 'revenue'] },
|
|
62
|
-
category: { type: 'string', description: 'Category identifier' },
|
|
63
|
-
date: { type: 'string', description: 'Start date (YYYY-MM-DD)' },
|
|
64
|
-
country: { type: 'string', description: 'Country code' },
|
|
65
|
-
device_type: { type: 'string', enum: ['iphone', 'ipad', 'total'] },
|
|
66
|
-
end_date: { type: 'string', description: 'End date' },
|
|
67
|
-
limit: { type: 'number', default: 25 },
|
|
68
|
-
offset: { type: 'number' },
|
|
69
|
-
},
|
|
70
|
-
required: ['os', 'comparison_attribute', 'time_range', 'measure', 'category', 'date'],
|
|
71
|
-
},
|
|
72
|
-
handler: async (args) => {
|
|
73
|
-
const os = (0, utils_1.validateOsParameter)(args.os);
|
|
74
|
-
const dateValue = (0, utils_1.validateDateFormat)(args.date);
|
|
75
|
-
const endDateValue = args.end_date ? (0, utils_1.validateDateFormat)(args.end_date) : undefined;
|
|
76
|
-
const params = {
|
|
77
|
-
comparison_attribute: args.comparison_attribute,
|
|
78
|
-
time_range: args.time_range,
|
|
79
|
-
measure: args.measure,
|
|
80
|
-
category: args.category,
|
|
81
|
-
date: dateValue,
|
|
82
|
-
limit: args.limit || 25,
|
|
83
|
-
};
|
|
84
|
-
if (args.country)
|
|
85
|
-
params.country = args.country;
|
|
86
|
-
if (args.device_type)
|
|
87
|
-
params.device_type = args.device_type;
|
|
88
|
-
if (endDateValue)
|
|
89
|
-
params.end_date = endDateValue;
|
|
90
|
-
if (args.offset)
|
|
91
|
-
params.offset = args.offset;
|
|
92
|
-
return client.makeRequest(`/v1/${os}/publishers/top`, params);
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
10
|
get_store_summary: {
|
|
96
|
-
description: 'Get app store summary statistics.',
|
|
11
|
+
description: 'Get app store summary statistics.\n\n⚠️ TEMPORARILY DISABLED: This endpoint is currently returning 500 Internal Server Error from Sensor Tower\'s API. This is a server-side issue. Please contact Sensor Tower support or try again later.',
|
|
97
12
|
inputSchema: {
|
|
98
13
|
type: 'object',
|
|
99
14
|
properties: {
|
|
@@ -119,47 +34,8 @@ function registerMarketAnalysisTools(client) {
|
|
|
119
34
|
});
|
|
120
35
|
},
|
|
121
36
|
},
|
|
122
|
-
usage_top_apps: {
|
|
123
|
-
description: 'Get top apps by active users with growth metrics.',
|
|
124
|
-
inputSchema: {
|
|
125
|
-
type: 'object',
|
|
126
|
-
properties: {
|
|
127
|
-
os: { type: 'string', enum: ['ios', 'android', 'unified'] },
|
|
128
|
-
comparison_attribute: { type: 'string', enum: ['absolute', 'delta', 'transformed_delta'] },
|
|
129
|
-
time_range: { type: 'string', enum: ['week', 'month', 'quarter'] },
|
|
130
|
-
measure: { type: 'string', enum: ['DAU', 'WAU', 'MAU'] },
|
|
131
|
-
date: { type: 'string', description: 'Start date (YYYY-MM-DD)' },
|
|
132
|
-
regions: { type: 'string', description: 'Comma-separated region codes' },
|
|
133
|
-
category: { type: 'string', default: '0' },
|
|
134
|
-
device_type: { type: 'string', enum: ['iphone', 'ipad', 'total'] },
|
|
135
|
-
limit: { type: 'number', default: 25 },
|
|
136
|
-
offset: { type: 'number' },
|
|
137
|
-
data_model: { type: 'string', enum: ['DM_2025_Q2', 'DM_2025_Q1'], default: 'DM_2025_Q2' },
|
|
138
|
-
},
|
|
139
|
-
required: ['os', 'comparison_attribute', 'time_range', 'measure', 'date', 'regions'],
|
|
140
|
-
},
|
|
141
|
-
handler: async (args) => {
|
|
142
|
-
const os = (0, utils_1.validateOsParameter)(args.os);
|
|
143
|
-
const dateValue = (0, utils_1.validateDateFormat)(args.date);
|
|
144
|
-
const params = {
|
|
145
|
-
comparison_attribute: args.comparison_attribute,
|
|
146
|
-
time_range: args.time_range,
|
|
147
|
-
measure: args.measure,
|
|
148
|
-
date: dateValue,
|
|
149
|
-
regions: args.regions,
|
|
150
|
-
category: args.category || '0',
|
|
151
|
-
limit: args.limit || 25,
|
|
152
|
-
data_model: args.data_model || 'DM_2025_Q2',
|
|
153
|
-
};
|
|
154
|
-
if (args.device_type)
|
|
155
|
-
params.device_type = args.device_type;
|
|
156
|
-
if (args.offset)
|
|
157
|
-
params.offset = args.offset;
|
|
158
|
-
return client.makeRequest(`/v1/${os}/usage/top_apps`, params);
|
|
159
|
-
},
|
|
160
|
-
},
|
|
161
37
|
top_apps: {
|
|
162
|
-
description: 'Fetch Share of Voice for top advertisers or publishers.',
|
|
38
|
+
description: 'Fetch Share of Voice for top advertisers or publishers.\n\n⚠️ UNOFFICIAL API: This endpoint is not documented in the official Sensor Tower API documentation. While it currently works, it may be deprecated or changed without notice. Use with caution and consider migrating to official alternatives.',
|
|
163
39
|
inputSchema: {
|
|
164
40
|
type: 'object',
|
|
165
41
|
properties: {
|
|
@@ -191,7 +67,7 @@ function registerMarketAnalysisTools(client) {
|
|
|
191
67
|
},
|
|
192
68
|
},
|
|
193
69
|
top_apps_search: {
|
|
194
|
-
description: 'Fetch the rank of a top advertiser or publisher for given filters.',
|
|
70
|
+
description: 'Fetch the rank of a top advertiser or publisher for given filters.\n\n⚠️ UNOFFICIAL API: This endpoint is not documented in the official Sensor Tower API documentation. While it currently works, it may be deprecated or changed without notice. Use with caution and consider migrating to official alternatives.',
|
|
195
71
|
inputSchema: {
|
|
196
72
|
type: 'object',
|
|
197
73
|
properties: {
|
|
@@ -220,52 +96,8 @@ function registerMarketAnalysisTools(client) {
|
|
|
220
96
|
});
|
|
221
97
|
},
|
|
222
98
|
},
|
|
223
|
-
top_creatives: {
|
|
224
|
-
description: 'Fetch top creatives over a given time period.',
|
|
225
|
-
inputSchema: {
|
|
226
|
-
type: 'object',
|
|
227
|
-
properties: {
|
|
228
|
-
os: { type: 'string', enum: ['ios', 'android', 'unified'] },
|
|
229
|
-
date: { type: 'string', description: 'Start date (YYYY-MM-DD)' },
|
|
230
|
-
period: { type: 'string', enum: ['week', 'month', 'quarter'] },
|
|
231
|
-
category: { type: 'string' },
|
|
232
|
-
country: { type: 'string' },
|
|
233
|
-
network: { type: 'string' },
|
|
234
|
-
ad_types: { type: 'string', description: 'Comma-separated ad types' },
|
|
235
|
-
limit: { type: 'number', default: 25 },
|
|
236
|
-
page: { type: 'number', default: 1 },
|
|
237
|
-
placements: { type: 'string' },
|
|
238
|
-
video_durations: { type: 'string' },
|
|
239
|
-
aspect_ratios: { type: 'string' },
|
|
240
|
-
new_creative: { type: 'boolean', default: false },
|
|
241
|
-
},
|
|
242
|
-
required: ['os', 'date', 'period', 'category', 'country', 'network', 'ad_types'],
|
|
243
|
-
},
|
|
244
|
-
handler: async (args) => {
|
|
245
|
-
const os = (0, utils_1.validateOsParameter)(args.os);
|
|
246
|
-
const dateValue = (0, utils_1.validateDateFormat)(args.date);
|
|
247
|
-
const params = {
|
|
248
|
-
date: dateValue,
|
|
249
|
-
period: args.period,
|
|
250
|
-
category: args.category,
|
|
251
|
-
country: args.country,
|
|
252
|
-
network: (0, utils_1.normalizeNetworks)(args.network),
|
|
253
|
-
ad_types: args.ad_types,
|
|
254
|
-
limit: args.limit || 25,
|
|
255
|
-
page: args.page || 1,
|
|
256
|
-
new_creative: args.new_creative || false,
|
|
257
|
-
};
|
|
258
|
-
if (args.placements)
|
|
259
|
-
params.placements = args.placements;
|
|
260
|
-
if (args.video_durations)
|
|
261
|
-
params.video_durations = args.video_durations;
|
|
262
|
-
if (args.aspect_ratios)
|
|
263
|
-
params.aspect_ratios = args.aspect_ratios;
|
|
264
|
-
return client.makeRequest(`/v1/${os}/ad_intel/top_creatives`, params);
|
|
265
|
-
},
|
|
266
|
-
},
|
|
267
99
|
games_breakdown: {
|
|
268
|
-
description: 'Retrieve aggregated download and revenue estimates of game categories.',
|
|
100
|
+
description: 'Retrieve aggregated download and revenue estimates of game categories.\n\n⚠️ UNOFFICIAL API: This endpoint is not documented in the official Sensor Tower API documentation. While it currently works, it may be deprecated or changed without notice. Use with caution and consider migrating to official alternatives.',
|
|
269
101
|
inputSchema: {
|
|
270
102
|
type: 'object',
|
|
271
103
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market-analysis.js","sourceRoot":"","sources":["../../src/tools/market-analysis.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAKH,kEA2RC;AA7RD,oCAAsF;AAEtF,SAAgB,2BAA2B,CAAC,MAAyB;IACnE,OAAO;QACL,oBAAoB,EAAE;YACpB,WAAW,EAAE,oEAAoE;YACjF,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,CAAC,EAAE,WAAW,EAAE,kBAAkB,EAAE;oBAC5F,oBAAoB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,mBAAmB,CAAC,EAAE,WAAW,EAAE,sBAAsB,EAAE;oBAC/H,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,WAAW,EAAE,YAAY,EAAE;oBAC5G,OAAO,EA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,EAAE;iBAC9B;gBACD,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,CAAC;aACzD;YACD,OAAO,EAAE,KAAK,EAAE,IAAS,EAAE,EAAE;gBAC3B,MAAM,EAAE,GAAG,IAAA,2BAAmB,EAAC,IAAI,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC;gBAC5D,MAAM,cAAc,GAAG,IAAA,0BAAkB,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAC3D,MAAM,YAAY,GAAG,IAAA,0BAAkB,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACvD,MAAM,MAAM,GAAQ;oBAClB,UAAU,EAAE,IAAI,CAAC,UAAU;oBAC3B,UAAU,EAAE,cAAc;oBAC1B,QAAQ,EAAE,YAAY;oBACtB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,IAAI,OAAO;iBACnD,CAAC;gBACF,IAAI,IAAI,CAAC,SAAS;oBAAE,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;gBACtD,OAAO,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC;YACjE,CAAC;SACF;KACF,CAAC;AACJ,CAAC"}
|
package/dist/tools/search.d.ts
CHANGED
|
@@ -3,77 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { SensorTowerClient } from '../client';
|
|
5
5
|
export declare function registerSearchTools(client: SensorTowerClient): {
|
|
6
|
-
search_entities: {
|
|
7
|
-
description: string;
|
|
8
|
-
inputSchema: {
|
|
9
|
-
type: string;
|
|
10
|
-
properties: {
|
|
11
|
-
os: {
|
|
12
|
-
type: string;
|
|
13
|
-
enum: string[];
|
|
14
|
-
description: string;
|
|
15
|
-
};
|
|
16
|
-
entity_type: {
|
|
17
|
-
type: string;
|
|
18
|
-
enum: string[];
|
|
19
|
-
description: string;
|
|
20
|
-
};
|
|
21
|
-
term: {
|
|
22
|
-
type: string;
|
|
23
|
-
description: string;
|
|
24
|
-
};
|
|
25
|
-
limit: {
|
|
26
|
-
type: string;
|
|
27
|
-
description: string;
|
|
28
|
-
default: number;
|
|
29
|
-
};
|
|
30
|
-
country: {
|
|
31
|
-
type: string;
|
|
32
|
-
description: string;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
required: string[];
|
|
37
|
-
};
|
|
38
|
-
handler: (args: any) => Promise<unknown>;
|
|
39
|
-
};
|
|
40
|
-
get_category_rankings: {
|
|
41
|
-
description: string;
|
|
42
|
-
inputSchema: {
|
|
43
|
-
type: string;
|
|
44
|
-
properties: {
|
|
45
|
-
os: {
|
|
46
|
-
type: string;
|
|
47
|
-
enum: string[];
|
|
48
|
-
description: string;
|
|
49
|
-
};
|
|
50
|
-
category: {
|
|
51
|
-
type: string;
|
|
52
|
-
description: string;
|
|
53
|
-
};
|
|
54
|
-
chart_type: {
|
|
55
|
-
type: string;
|
|
56
|
-
description: string;
|
|
57
|
-
};
|
|
58
|
-
country: {
|
|
59
|
-
type: string;
|
|
60
|
-
description: string;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
date: {
|
|
64
|
-
type: string;
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
limit: {
|
|
68
|
-
type: string;
|
|
69
|
-
description: string;
|
|
70
|
-
default: number;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
required: string[];
|
|
74
|
-
};
|
|
75
|
-
handler: (args: any) => Promise<unknown>;
|
|
76
|
-
};
|
|
77
6
|
get_publisher_apps: {
|
|
78
7
|
description: string;
|
|
79
8
|
inputSchema: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAejC,GAAG
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAejC,GAAG;;;;;;;;;;;;;;wBAoBH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAqBH,GAAG;;EAa9B"}
|
package/dist/tools/search.js
CHANGED
|
@@ -7,54 +7,6 @@ exports.registerSearchTools = registerSearchTools;
|
|
|
7
7
|
const utils_1 = require("../utils");
|
|
8
8
|
function registerSearchTools(client) {
|
|
9
9
|
return {
|
|
10
|
-
search_entities: {
|
|
11
|
-
description: 'Search for apps and publishers by name or description.',
|
|
12
|
-
inputSchema: {
|
|
13
|
-
type: 'object',
|
|
14
|
-
properties: {
|
|
15
|
-
os: { type: 'string', enum: ['ios', 'android'], description: 'Operating system' },
|
|
16
|
-
entity_type: { type: 'string', enum: ['app', 'publisher'], description: 'Entity type to search' },
|
|
17
|
-
term: { type: 'string', description: 'Search term' },
|
|
18
|
-
limit: { type: 'number', description: 'Max results (1-100)', default: 10 },
|
|
19
|
-
country: { type: 'string', description: 'ISO country code', default: 'US' },
|
|
20
|
-
},
|
|
21
|
-
required: ['os', 'entity_type', 'term'],
|
|
22
|
-
},
|
|
23
|
-
handler: async (args) => {
|
|
24
|
-
const os = (0, utils_1.validateOsParameter)(args.os, ['ios', 'android']);
|
|
25
|
-
return client.makeRequest(`/v1/${os}/search/${args.entity_type}`, {
|
|
26
|
-
term: args.term,
|
|
27
|
-
limit: args.limit || 10,
|
|
28
|
-
country: args.country || 'US',
|
|
29
|
-
});
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
get_category_rankings: {
|
|
33
|
-
description: 'Get top apps by category.',
|
|
34
|
-
inputSchema: {
|
|
35
|
-
type: 'object',
|
|
36
|
-
properties: {
|
|
37
|
-
os: { type: 'string', enum: ['ios', 'android'], description: 'Operating system' },
|
|
38
|
-
category: { type: 'string', description: 'Category ID' },
|
|
39
|
-
chart_type: { type: 'string', description: 'Chart type (e.g., topfreeapplications)' },
|
|
40
|
-
country: { type: 'string', description: 'ISO country code', default: 'US' },
|
|
41
|
-
date: { type: 'string', description: 'Date (YYYY-MM-DD)' },
|
|
42
|
-
limit: { type: 'number', description: 'Max results', default: 100 },
|
|
43
|
-
},
|
|
44
|
-
required: ['os', 'category', 'chart_type', 'date'],
|
|
45
|
-
},
|
|
46
|
-
handler: async (args) => {
|
|
47
|
-
const os = (0, utils_1.validateOsParameter)(args.os, ['ios', 'android']);
|
|
48
|
-
const dateValue = (0, utils_1.validateDateFormat)(args.date);
|
|
49
|
-
return client.makeRequest(`/v1/${os}/category/rankings`, {
|
|
50
|
-
category: args.category,
|
|
51
|
-
chart_type: args.chart_type,
|
|
52
|
-
country: args.country || 'US',
|
|
53
|
-
date: dateValue,
|
|
54
|
-
limit: args.limit || 100,
|
|
55
|
-
});
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
10
|
get_publisher_apps: {
|
|
59
11
|
description: 'Retrieve apps for the specified publisher.',
|
|
60
12
|
inputSchema: {
|
package/dist/tools/search.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAKH,
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAKH,kDAqEC;AAvED,oCAAmE;AAEnE,SAAgB,mBAAmB,CAAC,MAAyB;IAC3D,OAAO;QACL,kBAAkB,EAAE;YAClB,WAAW,EAAE,4CAA4C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AI,IAAI;iBAC1B,CAAC;gBACF,IAAI,IAAI,CAAC,UAAU;oBAAE,MAAM,CAAC,UAAU,GAAG,IAAA,0BAAkB,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAC7E,IAAI,IAAI,CAAC,YAAY;oBAAE,MAAM,CAAC,YAAY,GAAG,IAAA,0BAAkB,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC;gBACnF,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS;oBAAE,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;gBAC3D,OAAO,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,eAAe,EAAE,MAAM,CAAC,CAAC;YAC9D,CAAC;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -88,113 +88,5 @@ export declare function registerStoreMarketingTools(client: SensorTowerClient):
|
|
|
88
88
|
};
|
|
89
89
|
handler: (args: any) => Promise<unknown>;
|
|
90
90
|
};
|
|
91
|
-
get_keywords: {
|
|
92
|
-
description: string;
|
|
93
|
-
inputSchema: {
|
|
94
|
-
type: string;
|
|
95
|
-
properties: {
|
|
96
|
-
os: {
|
|
97
|
-
type: string;
|
|
98
|
-
enum: string[];
|
|
99
|
-
description: string;
|
|
100
|
-
};
|
|
101
|
-
app_id: {
|
|
102
|
-
type: string;
|
|
103
|
-
description: string;
|
|
104
|
-
};
|
|
105
|
-
country: {
|
|
106
|
-
type: string;
|
|
107
|
-
description: string;
|
|
108
|
-
default: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
required: string[];
|
|
112
|
-
};
|
|
113
|
-
handler: (args: any) => Promise<unknown>;
|
|
114
|
-
};
|
|
115
|
-
get_reviews: {
|
|
116
|
-
description: string;
|
|
117
|
-
inputSchema: {
|
|
118
|
-
type: string;
|
|
119
|
-
properties: {
|
|
120
|
-
os: {
|
|
121
|
-
type: string;
|
|
122
|
-
enum: string[];
|
|
123
|
-
description: string;
|
|
124
|
-
};
|
|
125
|
-
app_id: {
|
|
126
|
-
type: string;
|
|
127
|
-
description: string;
|
|
128
|
-
};
|
|
129
|
-
country: {
|
|
130
|
-
type: string;
|
|
131
|
-
description: string;
|
|
132
|
-
};
|
|
133
|
-
start_date: {
|
|
134
|
-
type: string;
|
|
135
|
-
description: string;
|
|
136
|
-
};
|
|
137
|
-
end_date: {
|
|
138
|
-
type: string;
|
|
139
|
-
description: string;
|
|
140
|
-
};
|
|
141
|
-
rating_filter: {
|
|
142
|
-
type: string;
|
|
143
|
-
description: string;
|
|
144
|
-
};
|
|
145
|
-
search_term: {
|
|
146
|
-
type: string;
|
|
147
|
-
description: string;
|
|
148
|
-
};
|
|
149
|
-
username: {
|
|
150
|
-
type: string;
|
|
151
|
-
description: string;
|
|
152
|
-
};
|
|
153
|
-
limit: {
|
|
154
|
-
type: string;
|
|
155
|
-
description: string;
|
|
156
|
-
default: number;
|
|
157
|
-
};
|
|
158
|
-
page: {
|
|
159
|
-
type: string;
|
|
160
|
-
description: string;
|
|
161
|
-
default: number;
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
required: string[];
|
|
165
|
-
};
|
|
166
|
-
handler: (args: any) => Promise<unknown>;
|
|
167
|
-
};
|
|
168
|
-
research_keyword: {
|
|
169
|
-
description: string;
|
|
170
|
-
inputSchema: {
|
|
171
|
-
type: string;
|
|
172
|
-
properties: {
|
|
173
|
-
os: {
|
|
174
|
-
type: string;
|
|
175
|
-
enum: string[];
|
|
176
|
-
description: string;
|
|
177
|
-
};
|
|
178
|
-
term: {
|
|
179
|
-
type: string;
|
|
180
|
-
description: string;
|
|
181
|
-
};
|
|
182
|
-
country: {
|
|
183
|
-
type: string;
|
|
184
|
-
description: string;
|
|
185
|
-
};
|
|
186
|
-
app_id: {
|
|
187
|
-
type: string;
|
|
188
|
-
description: string;
|
|
189
|
-
};
|
|
190
|
-
page: {
|
|
191
|
-
type: string;
|
|
192
|
-
description: string;
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
required: string[];
|
|
196
|
-
};
|
|
197
|
-
handler: (args: any) => Promise<unknown>;
|
|
198
|
-
};
|
|
199
91
|
};
|
|
200
92
|
//# sourceMappingURL=store-marketing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-marketing.d.ts","sourceRoot":"","sources":["../../src/tools/store-marketing.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;wBAazC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAoBH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAyBH,GAAG
|
|
1
|
+
{"version":3,"file":"store-marketing.d.ts","sourceRoot":"","sources":["../../src/tools/store-marketing.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;wBAazC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAoBH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAyBH,GAAG;;EAW9B"}
|
|
@@ -52,7 +52,7 @@ function registerStoreMarketingTools(client) {
|
|
|
52
52
|
},
|
|
53
53
|
},
|
|
54
54
|
get_featured_creatives: {
|
|
55
|
-
description: 'Retrieve featured creatives and their positions over time.',
|
|
55
|
+
description: 'Retrieve featured creatives and their positions over time.\n\nNote: app_id is required. The API will return 422 if not provided.',
|
|
56
56
|
inputSchema: {
|
|
57
57
|
type: 'object',
|
|
58
58
|
properties: {
|
|
@@ -79,92 +79,6 @@ function registerStoreMarketingTools(client) {
|
|
|
79
79
|
return client.makeRequest(`/v1/${os}/featured/creatives`, params);
|
|
80
80
|
},
|
|
81
81
|
},
|
|
82
|
-
get_keywords: {
|
|
83
|
-
description: 'Get current keyword rankings for an app.',
|
|
84
|
-
inputSchema: {
|
|
85
|
-
type: 'object',
|
|
86
|
-
properties: {
|
|
87
|
-
os: { type: 'string', enum: ['ios', 'android'], description: 'Operating system' },
|
|
88
|
-
app_id: { type: 'string', description: 'App identifier' },
|
|
89
|
-
country: { type: 'string', description: 'ISO country code', default: 'US' },
|
|
90
|
-
},
|
|
91
|
-
required: ['os', 'app_id'],
|
|
92
|
-
},
|
|
93
|
-
handler: async (args) => {
|
|
94
|
-
const os = (0, utils_1.validateOsParameter)(args.os, ['ios', 'android']);
|
|
95
|
-
return client.makeRequest(`/v1/${os}/keywords/get_current_keywords`, {
|
|
96
|
-
app_id: args.app_id,
|
|
97
|
-
country: args.country || 'US',
|
|
98
|
-
});
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
get_reviews: {
|
|
102
|
-
description: 'Get app reviews and ratings data.',
|
|
103
|
-
inputSchema: {
|
|
104
|
-
type: 'object',
|
|
105
|
-
properties: {
|
|
106
|
-
os: { type: 'string', enum: ['ios', 'android'], description: 'Operating system' },
|
|
107
|
-
app_id: { type: 'string', description: 'App identifier' },
|
|
108
|
-
country: { type: 'string', description: 'ISO country code' },
|
|
109
|
-
start_date: { type: 'string', description: 'Filter reviews from this date' },
|
|
110
|
-
end_date: { type: 'string', description: 'Filter reviews up to this date' },
|
|
111
|
-
rating_filter: { type: 'string', description: 'Filter by rating or sentiment' },
|
|
112
|
-
search_term: { type: 'string', description: 'Filter by review content' },
|
|
113
|
-
username: { type: 'string', description: 'Filter by reviewer username' },
|
|
114
|
-
limit: { type: 'number', description: 'Max reviews (1-200)', default: 50 },
|
|
115
|
-
page: { type: 'number', description: 'Page number', default: 1 },
|
|
116
|
-
},
|
|
117
|
-
required: ['os', 'app_id', 'country'],
|
|
118
|
-
},
|
|
119
|
-
handler: async (args) => {
|
|
120
|
-
const os = (0, utils_1.validateOsParameter)(args.os, ['ios', 'android']);
|
|
121
|
-
const params = {
|
|
122
|
-
app_id: args.app_id,
|
|
123
|
-
country: args.country,
|
|
124
|
-
};
|
|
125
|
-
if (args.start_date)
|
|
126
|
-
params.start_date = (0, utils_1.validateDateFormat)(args.start_date);
|
|
127
|
-
if (args.end_date)
|
|
128
|
-
params.end_date = (0, utils_1.validateDateFormat)(args.end_date);
|
|
129
|
-
if (args.rating_filter)
|
|
130
|
-
params.rating_filter = args.rating_filter;
|
|
131
|
-
if (args.search_term)
|
|
132
|
-
params.search_term = args.search_term;
|
|
133
|
-
if (args.username)
|
|
134
|
-
params.username = args.username;
|
|
135
|
-
if (args.limit)
|
|
136
|
-
params.limit = args.limit;
|
|
137
|
-
if (args.page)
|
|
138
|
-
params.page = args.page;
|
|
139
|
-
return client.makeRequest(`/v1/${os}/review/get_reviews`, params);
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
research_keyword: {
|
|
143
|
-
description: 'Retrieve keyword research metadata including related terms and difficulty.',
|
|
144
|
-
inputSchema: {
|
|
145
|
-
type: 'object',
|
|
146
|
-
properties: {
|
|
147
|
-
os: { type: 'string', enum: ['ios', 'android'], description: 'Operating system' },
|
|
148
|
-
term: { type: 'string', description: 'Keyword term to research' },
|
|
149
|
-
country: { type: 'string', description: 'ISO country code' },
|
|
150
|
-
app_id: { type: 'number', description: 'App ID for ranking prediction (iOS only)' },
|
|
151
|
-
page: { type: 'number', description: 'Page number' },
|
|
152
|
-
},
|
|
153
|
-
required: ['os', 'term', 'country'],
|
|
154
|
-
},
|
|
155
|
-
handler: async (args) => {
|
|
156
|
-
const os = (0, utils_1.validateOsParameter)(args.os, ['ios', 'android']);
|
|
157
|
-
const params = {
|
|
158
|
-
term: args.term,
|
|
159
|
-
country: args.country,
|
|
160
|
-
};
|
|
161
|
-
if (args.app_id)
|
|
162
|
-
params.app_id = args.app_id;
|
|
163
|
-
if (args.page)
|
|
164
|
-
params.page = args.page;
|
|
165
|
-
return client.makeRequest(`/v1/${os}/keywords/research_keyword`, params);
|
|
166
|
-
},
|
|
167
|
-
},
|
|
168
82
|
};
|
|
169
83
|
}
|
|
170
84
|
//# sourceMappingURL=store-marketing.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-marketing.js","sourceRoot":"","sources":["../../src/tools/store-marketing.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAKH,
|
|
1
|
+
{"version":3,"file":"store-marketing.js","sourceRoot":"","sources":["../../src/tools/store-marketing.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAKH,kEAqEC;AAvED,oCAAmE;AAEnE,SAAgB,2BAA2B,CAAC,MAAyB;IACnE,OAAO;QACL,0BAA0B,EAAE;YAC1B,WAAW,EAAE,qDAAqD;YAClE,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,kBAAkB,EAAE,OAAO,EAAE,IAAI,EAAE;oBAC3E,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,yBAAyB,EAAE;oBACtE,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,uBAAuB,EAAE;iBACnE;gBACD,QAAQ,EAAE,EAAE;aACb;YACD,OAAO,EAAE,KAAK,EAAE,IAAS,EAAE,EAAE;gBAC3B,MAAM,MAAM,GAAQ,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;gBACtD,IAAI,IAAI,CAAC,UAAU;oBAAE,MAAM,CAAC,UAAU,GAAG,IAAA,0BAAkB,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAC7E,IAAI,IAAI,CAAC,QAAQ;oBAAE,MAAM,CAAC,QAAQ,GAAG,IAAA,0BAAkB,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACvE,OAAO,MAAM,CAAC,WAAW,CAAC,gCAAgC,EAAE,MAAM,CAAC,CA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
@@ -3,66 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { SensorTowerClient } from '../client';
|
|
5
5
|
export declare function registerYourMetricsTools(client: SensorTowerClient): {
|
|
6
|
-
analytics_metrics: {
|
|
7
|
-
description: string;
|
|
8
|
-
inputSchema: {
|
|
9
|
-
type: string;
|
|
10
|
-
properties: {
|
|
11
|
-
app_ids: {
|
|
12
|
-
type: string;
|
|
13
|
-
description: string;
|
|
14
|
-
};
|
|
15
|
-
countries: {
|
|
16
|
-
type: string;
|
|
17
|
-
description: string;
|
|
18
|
-
};
|
|
19
|
-
start_date: {
|
|
20
|
-
type: string;
|
|
21
|
-
description: string;
|
|
22
|
-
};
|
|
23
|
-
end_date: {
|
|
24
|
-
type: string;
|
|
25
|
-
description: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
required: string[];
|
|
29
|
-
};
|
|
30
|
-
handler: (args: any) => Promise<unknown>;
|
|
31
|
-
};
|
|
32
|
-
sources_metrics: {
|
|
33
|
-
description: string;
|
|
34
|
-
inputSchema: {
|
|
35
|
-
type: string;
|
|
36
|
-
properties: {
|
|
37
|
-
app_ids: {
|
|
38
|
-
type: string;
|
|
39
|
-
description: string;
|
|
40
|
-
};
|
|
41
|
-
countries: {
|
|
42
|
-
type: string;
|
|
43
|
-
description: string;
|
|
44
|
-
};
|
|
45
|
-
start_date: {
|
|
46
|
-
type: string;
|
|
47
|
-
description: string;
|
|
48
|
-
};
|
|
49
|
-
end_date: {
|
|
50
|
-
type: string;
|
|
51
|
-
description: string;
|
|
52
|
-
};
|
|
53
|
-
limit: {
|
|
54
|
-
type: string;
|
|
55
|
-
description: string;
|
|
56
|
-
};
|
|
57
|
-
offset: {
|
|
58
|
-
type: string;
|
|
59
|
-
description: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
required: string[];
|
|
63
|
-
};
|
|
64
|
-
handler: (args: any) => Promise<unknown>;
|
|
65
|
-
};
|
|
66
6
|
sales_reports: {
|
|
67
7
|
description: string;
|
|
68
8
|
inputSchema: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"your-metrics.d.ts","sourceRoot":"","sources":["../../src/tools/your-metrics.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,iBAAiB
|
|
1
|
+
{"version":3,"file":"your-metrics.d.ts","sourceRoot":"","sources":["../../src/tools/your-metrics.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAgBtC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA+BH,GAAG;;EAoB9B"}
|
|
@@ -7,61 +7,8 @@ exports.registerYourMetricsTools = registerYourMetricsTools;
|
|
|
7
7
|
const utils_1 = require("../utils");
|
|
8
8
|
function registerYourMetricsTools(client) {
|
|
9
9
|
return {
|
|
10
|
-
analytics_metrics: {
|
|
11
|
-
description: 'Get detailed App Store analytics report for connected apps.',
|
|
12
|
-
inputSchema: {
|
|
13
|
-
type: 'object',
|
|
14
|
-
properties: {
|
|
15
|
-
app_ids: { type: 'string', description: 'Comma-separated app IDs you manage' },
|
|
16
|
-
countries: { type: 'string', description: 'Comma-separated iTunes country codes' },
|
|
17
|
-
start_date: { type: 'string', description: 'Start date (YYYY-MM-DD)' },
|
|
18
|
-
end_date: { type: 'string', description: 'End date (YYYY-MM-DD)' },
|
|
19
|
-
},
|
|
20
|
-
required: ['app_ids', 'countries', 'start_date', 'end_date'],
|
|
21
|
-
},
|
|
22
|
-
handler: async (args) => {
|
|
23
|
-
const startDateValue = (0, utils_1.validateDateFormat)(args.start_date);
|
|
24
|
-
const endDateValue = (0, utils_1.validateDateFormat)(args.end_date);
|
|
25
|
-
return client.makeRequest('/v1/sales/reports/analytics', {
|
|
26
|
-
app_ids: args.app_ids,
|
|
27
|
-
countries: args.countries,
|
|
28
|
-
start_date: startDateValue,
|
|
29
|
-
end_date: endDateValue,
|
|
30
|
-
});
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
sources_metrics: {
|
|
34
|
-
description: 'Get App Store metrics by traffic source for connected apps.',
|
|
35
|
-
inputSchema: {
|
|
36
|
-
type: 'object',
|
|
37
|
-
properties: {
|
|
38
|
-
app_ids: { type: 'string', description: 'Comma-separated app IDs you manage' },
|
|
39
|
-
countries: { type: 'string', description: 'Comma-separated iTunes country codes' },
|
|
40
|
-
start_date: { type: 'string', description: 'Start date (YYYY-MM-DD)' },
|
|
41
|
-
end_date: { type: 'string', description: 'End date (YYYY-MM-DD)' },
|
|
42
|
-
limit: { type: 'number', description: 'Max reports (1-6000)' },
|
|
43
|
-
offset: { type: 'number', description: 'Offset for pagination' },
|
|
44
|
-
},
|
|
45
|
-
required: ['app_ids', 'countries', 'start_date', 'end_date'],
|
|
46
|
-
},
|
|
47
|
-
handler: async (args) => {
|
|
48
|
-
const startDateValue = (0, utils_1.validateDateFormat)(args.start_date);
|
|
49
|
-
const endDateValue = (0, utils_1.validateDateFormat)(args.end_date);
|
|
50
|
-
const params = {
|
|
51
|
-
app_ids: args.app_ids,
|
|
52
|
-
countries: args.countries,
|
|
53
|
-
start_date: startDateValue,
|
|
54
|
-
end_date: endDateValue,
|
|
55
|
-
};
|
|
56
|
-
if (args.limit)
|
|
57
|
-
params.limit = args.limit;
|
|
58
|
-
if (args.offset !== undefined)
|
|
59
|
-
params.offset = args.offset;
|
|
60
|
-
return client.makeRequest('/v1/sales/reports/sources', params);
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
10
|
sales_reports: {
|
|
64
|
-
description: 'Get
|
|
11
|
+
description: 'Get sales reports for connected apps.\n\n⚠️ PERMISSION REQUIRED: This endpoint requires special API authorization. If you receive a 401 Unauthorized error, your API key does not have access to this feature. Contact Sensor Tower support to request access.',
|
|
65
12
|
inputSchema: {
|
|
66
13
|
type: 'object',
|
|
67
14
|
properties: {
|
|
@@ -102,7 +49,7 @@ function registerYourMetricsTools(client) {
|
|
|
102
49
|
android_app_ids: { type: 'string', description: 'Comma-separated Android app IDs' },
|
|
103
50
|
countries: { type: 'string', description: 'Comma-separated country codes' },
|
|
104
51
|
},
|
|
105
|
-
required: ['os', 'start_date', 'end_date', 'date_granularity'],
|
|
52
|
+
required: ['os', 'start_date', 'end_date', 'date_granularity', 'unified_app_ids'],
|
|
106
53
|
},
|
|
107
54
|
handler: async (args) => {
|
|
108
55
|
const os = (0, utils_1.validateOsParameter)(args.os, ['ios', 'android']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"your-metrics.js","sourceRoot":"","sources":["../../src/tools/your-metrics.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAKH,
|
|
1
|
+
{"version":3,"file":"your-metrics.js","sourceRoot":"","sources":["../../src/tools/your-metrics.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAKH,4DAmEC;AArED,oCAAmE;AAEnE,SAAgB,wBAAwB,CAAC,MAAyB;IAChE,OAAO;QACL,aAAa,EAAE;YACb,WAAW,EAAE,gQAAgQ;YAC7Q,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,WAAW,EAAE,kBAAkB,EAAE;oBACjF,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,oCAAoC,EAAE;oBAC9E,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,+BAA+B,EAAE;oBAC3E,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,OAAO,EAA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D,IAAI,IAAI,CAAC,eAAe;oBAAE,MAAM,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;gBACxE,IAAI,IAAI,CAAC,cAAc;oBAAE,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;gBACrE,IAAI,IAAI,CAAC,eAAe;oBAAE,MAAM,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;gBACxE,IAAI,IAAI,CAAC,SAAS;oBAAE,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;gBACtD,OAAO,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,iCAAiC,EAAE,MAAM,CAAC,CAAC;YAChF,CAAC;SACF;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sensor-tower-mcp-pro",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Model Context Protocol server for Sensor Tower APIs - Access mobile app intelligence data with dual token support",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|