Repository navigation
Expand file tree
/
Copy pathmcp-tools.json
More file actions
599 lines (599 loc) · 22.2 KB
/
Copy pathmcp-tools.json
File metadata and controls
599 lines (599 loc) · 22.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
[
{
"name": "find",
"title": "Find a capability",
"description": "Find the capability for a need described in plain words, English or Chinese, among 214 on 17 platforms: up to 5, best first, each with what it needs, its price and a ready call. With a platform and no match it lists everything that platform has; never use another platform's capability in its place. Free, no key.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 200,
"description": "What is needed, in words, e.g. \"小红书笔记评论\" or \"comments under a TikTok video\"."
},
"platform": {
"type": "string",
"maxLength": 40,
"description": "A platform ID or name (douyin, xiaohongshu, wechat_mp, bilibili, weibo, tiktok, x, youtube, meta, google, instagram, reddit, kuaishou, zhihu, wechat_channels, wechat, telegram). Alone, it lists everything the platform has."
},
"category": {
"type": "string",
"enum": [
"ads",
"commerce",
"creator",
"social"
],
"description": "Only capabilities of this kind."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "How many matches, 5 when left out."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Find a capability",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
},
{
"name": "describe",
"title": "Describe capabilities",
"description": "The contract of 1 to 5 capabilities: each parameter with its meaning and an example, the links url takes, price and the most one call can cost, paging, the fields returned, what the platform cannot give, an example call and an example item with its size. Free, no key. Use it when unsure of a parameter.",
"inputSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"minItems": 1,
"maxItems": 5,
"description": "Capability IDs, e.g. [\"x.trends.list\"]."
}
},
"required": [
"ids"
],
"additionalProperties": false
},
"annotations": {
"title": "Describe capabilities",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
},
{
"name": "call",
"title": "Call a capability",
"description": "One page from one capability, charged per call or per item returned; failed calls are free. Give the capability and only the parameters describe lists for it. The first lines of the answer give the items, the charge, the balance, the result ID and how to go on: cursor for the next page (a new charged call), read_more for the rest of an answer cut at about 20 KB (free). Then one JSON item per line. Needs an API key.",
"inputSchema": {
"type": "object",
"properties": {
"capability": {
"type": "string",
"enum": [
"douyin.videos.search",
"douyin.videos.get",
"douyin.videos.comments.list",
"douyin.users.get",
"douyin.users.videos.list",
"douyin.trends.list",
"xiaohongshu.notes.search",
"xiaohongshu.notes.get",
"xiaohongshu.notes.comments.list",
"xiaohongshu.users.get",
"xiaohongshu.users.notes.list",
"xiaohongshu.trends.list",
"wechat_mp.accounts.search",
"wechat_mp.accounts.articles.list",
"wechat_mp.articles.get",
"bilibili.videos.search",
"bilibili.videos.get",
"bilibili.videos.comments.list",
"bilibili.trends.list",
"weibo.posts.search",
"weibo.trends.list",
"weibo.users.get",
"tiktok.videos.search",
"tiktok.videos.get",
"tiktok.videos.comments.list",
"tiktok.users.get",
"x.posts.get",
"x.posts.search",
"x.users.get",
"x.users.posts.list",
"x.trends.list",
"youtube.videos.search",
"youtube.videos.get",
"youtube.videos.comments.list",
"youtube.videos.transcript.get",
"douyin.xingtu.creators.search",
"douyin.xingtu.creators.rates.get",
"xiaohongshu.pgy.creators.search",
"xiaohongshu.pgy.creators.get",
"meta.ads.search",
"meta.ads.get",
"meta.advertisers.ads.list",
"google.advertisers.search",
"google.advertisers.ads.list",
"tiktok.ads.search",
"tiktok.creative_center.ads.search",
"tiktok.shop.products.search",
"tiktok.shop.products.get",
"tiktok.shop.products.reviews.list",
"xiaohongshu.shop.products.search",
"xiaohongshu.shop.products.reviews.list",
"instagram.users.get",
"instagram.users.posts.list",
"instagram.posts.get",
"instagram.posts.comments.list",
"instagram.comments.replies.list",
"instagram.hashtags.posts.list",
"instagram.posts.transcript.get",
"instagram.users.search",
"reddit.posts.search",
"reddit.posts.get",
"reddit.posts.comments.list",
"reddit.popular.posts.list",
"reddit.subreddits.posts.list",
"reddit.subreddits.get",
"reddit.trends.list",
"reddit.users.get",
"reddit.users.posts.list",
"reddit.users.subreddits.list",
"reddit.posts.transcript.get",
"kuaishou.videos.search",
"kuaishou.videos.get",
"kuaishou.videos.comments.list",
"kuaishou.comments.replies.list",
"kuaishou.users.get",
"kuaishou.users.search",
"kuaishou.users.videos.list",
"kuaishou.trends.list",
"zhihu.posts.search",
"zhihu.questions.answers.list",
"zhihu.questions.get",
"zhihu.answers.get",
"zhihu.answers.comments.list",
"zhihu.comments.replies.list",
"zhihu.articles.get",
"zhihu.columns.articles.list",
"zhihu.pins.get",
"zhihu.users.get",
"zhihu.users.search",
"zhihu.users.followers.list",
"zhihu.users.answers.list",
"zhihu.users.articles.list",
"zhihu.users.pins.list",
"wechat_channels.videos.search",
"wechat_channels.users.search",
"wechat_channels.users.get",
"wechat_channels.users.videos.list",
"wechat_channels.videos.get",
"wechat_channels.videos.comments.list",
"wechat_channels.comments.replies.list",
"wechat_channels.users.live_replays.list",
"douyin.comments.replies.list",
"douyin.hashtags.videos.list",
"douyin.users.search",
"douyin.videos.metrics",
"douyin.videos.related",
"douyin.videos.trending",
"douyin.keywords.related",
"douyin.index.brands.history",
"douyin.index.brands.metrics",
"douyin.index.creators.videos.list",
"douyin.index.creators.audience.get",
"douyin.index.creators.metrics",
"douyin.index.keywords.audience.get",
"douyin.index.keywords.history",
"douyin.index.keywords.related",
"douyin.index.trends.list",
"douyin.index.videos.search",
"douyin.users.history",
"douyin.xingtu.creators.get",
"douyin.xingtu.creators.audience.get",
"douyin.xingtu.creators.metrics",
"douyin.xingtu.creators.videos.list",
"douyin.xingtu.creators.keywords.get",
"douyin.xingtu.creators.scores.get",
"douyin.xingtu.creators.content_mix.get",
"douyin.xingtu.creators.conversion.get",
"douyin.xingtu.campaigns.list",
"douyin.xingtu.videos.get",
"xiaohongshu.images.search",
"xiaohongshu.comments.replies.list",
"xiaohongshu.topics.notes.list",
"xiaohongshu.topics.get",
"xiaohongshu.users.search",
"xiaohongshu.shop.products.get",
"xiaohongshu.keywords.related",
"xiaohongshu.videos.get",
"xiaohongshu.pgy.keywords.history",
"xiaohongshu.pgy.keywords.related",
"xiaohongshu.pgy.creators.audience.get",
"xiaohongshu.pgy.creators.metrics",
"xiaohongshu.pgy.creators.notes.list",
"xiaohongshu.pgy.creators.followers.history",
"xiaohongshu.pgy.creators.related",
"xiaohongshu.pgy.notes.trending",
"xiaohongshu.pgy.creators.costs.metrics",
"xiaohongshu.pgy.creators.followers.metrics",
"xiaohongshu.pgy.creators.costs.history",
"xiaohongshu.pgy.notes.get",
"weibo.posts.get",
"weibo.posts.comments.list",
"weibo.comments.replies.list",
"weibo.posts.likers.list",
"weibo.users.posts.list",
"weibo.users.followers.list",
"weibo.users.search",
"bilibili.users.get",
"bilibili.users.videos.list",
"bilibili.comments.replies.list",
"bilibili.videos.trending",
"wechat_channels.videos.share_link.get",
"wechat_channels.users.collections.list",
"wechat_channels.collections.videos.list",
"wechat.posts.search",
"wechat.accounts.search",
"wechat_mp.accounts.get",
"wechat_mp.articles.comments.list",
"wechat_mp.articles.metrics",
"wechat_mp.comments.replies.list",
"wechat_mp.accounts.owner.get",
"wechat_channels.videos.metrics",
"wechat.index.keywords.history",
"wechat.keywords.related",
"wechat.miniprograms.search",
"wechat_channels.backup.users.get",
"wechat_channels.backup.users.videos.list",
"wechat_channels.backup.videos.search",
"wechat.backup.posts.search",
"telegram.channels.get",
"telegram.channels.messages.list",
"telegram.messages.get",
"youtube.comments.replies.list",
"youtube.channels.posts.list",
"youtube.posts.get",
"youtube.channels.get",
"youtube.channels.search",
"youtube.channels.videos.list",
"tiktok.videos.transcript.get",
"tiktok.comments.replies.list",
"tiktok.users.search",
"tiktok.users.videos.list",
"tiktok.creative_center.ads.get",
"tiktok.shop.sellers.products.list",
"tiktok.users.followers.list",
"tiktok.hashtags.videos.list",
"x.posts.replies.list",
"x.posts.quotes.list",
"x.posts.retweeters.list",
"x.posts.article.get",
"x.threads.posts.list",
"x.users.search",
"x.users.followers.list",
"x.users.following.list",
"x.users.mentions.list",
"x.lists.posts.list",
"x.lists.members.list",
"x.lists.followers.list",
"x.communities.get",
"x.communities.posts.list",
"x.communities.members.list",
"douyin.backup.users.videos.list",
"douyin.backup.videos.search",
"weibo.backup.trends.list",
"bilibili.backup.users.videos.list"
],
"description": "The capability ID, from find or this list."
},
"id": {
"type": "string",
"description": "The ID of the post, account, video... the capability is about."
},
"cursor": {
"type": "string",
"description": "page.next_cursor of the previous call, for the next page (a new, charged call)."
},
"query": {
"type": "string",
"description": "Keywords, as typed into the platform's search box."
},
"url": {
"type": "string",
"description": "A share link or page address, in place of id."
},
"sort": {
"type": "string",
"description": "Order; describe lists the values each capability takes."
},
"username": {
"type": "string",
"description": "A handle, in place of id."
},
"country": {
"type": "string",
"description": "ISO country code, e.g. US, JP."
},
"keyword": {
"type": "string",
"description": "One keyword, as typed into the search box."
},
"type": {
"type": "string",
"description": "Note type."
},
"post_id": {
"type": "string",
"description": "The shortcode of the comment's post."
},
"published_within": {
"type": "string",
"description": "Only posts from the last day, week, month or year."
},
"until": {
"type": "string",
"description": "Up to this date (YYYY-MM-DD)."
},
"window": {
"type": "string",
"description": "Look back this many days; 30 by default."
},
"since": {
"type": "string",
"description": "From this date (YYYY-MM-DD)."
},
"board": {
"type": "string",
"description": "Which list: hot searches is the only one."
},
"tab": {
"type": "string",
"description": "Which tab of the account's page: articles (the default), videos or pictures."
},
"ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Several IDs for one batch call; describe gives the most it takes."
},
"brand": {
"type": "string",
"description": "The brand name, spelled the way the Douyin index lists it."
},
"followers_max": {
"type": "integer",
"description": "At most this many followers."
},
"followers_min": {
"type": "integer",
"description": "At least this many followers."
},
"gender": {
"type": "string",
"description": "Only female or only male creators."
},
"lang": {
"type": "string",
"description": "Preferred transcript language. The result's lang is the track actually returned."
},
"media": {
"type": "string",
"description": "Only image or only video ads; all by default."
},
"search_by": {
"type": "string",
"description": "Match the words against what creators post (the default) or against their names."
},
"status": {
"type": "string",
"description": "Ads running now (the default), stopped ones, or both."
},
"advertiser": {
"type": "string",
"description": "The advertiser's name. Give query or advertiser. (one capability takes it)"
},
"category": {
"type": "string",
"description": "Only notes of this content category, as written in the creator detail’s categories. A category that does not exist finds nothing. (one capability takes it)"
},
"domain": {
"type": "string",
"description": "The brand's website domain. Give id or domain. (one capability takes it)"
},
"duration": {
"type": "string",
"description": "Only videos of this length. (one capability takes it)"
},
"engagement_min": {
"type": "integer",
"description": "Engagement rate of the last 30 days at least this, in percent: 3 means 3%. (one capability takes it)"
},
"feature_tag": {
"type": "string",
"description": "Only notes with this content feature tag, as written in the creator detail’s ext.feature_tags. A tag that does not exist finds nothing. (one capability takes it)"
},
"filter": {
"type": "string",
"description": "Only verified accounts, or only those live now. (one capability takes it)"
},
"format": {
"type": "string",
"description": "Only text, image or video ads; all by default. (one capability takes it)"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "One to five keywords, each without a comma. Give keyword or keywords. (one capability takes it)"
},
"name": {
"type": "string",
"description": "The advertiser's name as on its Facebook page. Give id or name. (one capability takes it)"
},
"traffic": {
"type": "string",
"description": "Which traffic the reads count: all, promoted traffic included (the default), or organic traffic alone. Likes and saves stay the same. (one capability takes it)"
},
"view": {
"type": "string",
"enum": [
"compact",
"standard",
"full"
],
"description": "How much of each object: compact leaves out empty fields, standard keeps them, full adds platform extras under ext. compact when left out."
},
"fields": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 50,
"description": "Keep only these fields, by dotted path (author.name), to save tokens."
},
"max_price": {
"type": "string",
"pattern": "^\\d{1,7}(\\.\\d{1,6})?$",
"description": "The most this call may cost, in US dollars as text, e.g. \"0.05\". A call that could cost more is refused and not charged."
},
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "Optional. A new unique value (a UUID) lets you resend a call whose answer did not arrive: the same value returns the first result, charged once."
}
},
"required": [
"capability"
],
"additionalProperties": false
},
"annotations": {
"title": "Call a capability",
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true
}
},
{
"name": "read_more",
"title": "Read the rest of a result",
"description": "The rest of an answer call cut to fit, or the whole result in another view or with other fields. Free: nothing is fetched again. Results are kept 24 hours and read with the key's account that made the call.",
"inputSchema": {
"type": "object",
"properties": {
"result_id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "The result ID call printed."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Where to go on, as the cut notice printed it; 0 or left out: from the start."
},
"view": {
"type": "string",
"enum": [
"compact",
"standard",
"full"
],
"description": "How much of each object: compact leaves out empty fields, standard keeps them, full adds platform extras under ext. The call's own view when left out."
},
"fields": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 50,
"description": "Keep only these fields, by dotted path (author.name), to save tokens."
}
},
"required": [
"result_id"
],
"additionalProperties": false
},
"annotations": {
"title": "Read the rest of a result",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
},
{
"name": "account",
"title": "Account, receipts, usage and status",
"description": "balance: the balance, the key's spending limits and what it spent. receipt: what one call was charged (request_id). usage: calls and charges by day, capability, key_id, entry, source or end_user (since, until, group_by). status: which capabilities are up, no key needed. Free.",
"inputSchema": {
"type": "object",
"properties": {
"what": {
"type": "string",
"enum": [
"balance",
"receipt",
"usage",
"status"
],
"description": "balance with a key, status without one, when left out."
},
"request_id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "For receipt: the call's request ID (its result ID)."
},
"since": {
"type": "string",
"maxLength": 40,
"description": "For usage: from this date (YYYY-MM-DD) or ISO time; 30 days back when left out."
},
"until": {
"type": "string",
"maxLength": 40,
"description": "For usage: up to this date (the whole day) or ISO time; now when left out."
},
"group_by": {
"type": "string",
"maxLength": 80,
"description": "For usage: day, capability, key_id, entry, source, end_user, comma-separated; day when left out."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Account, receipts, usage and status",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
}
]