Developers
MCP tools reference
The 28 tools on the MCP server, plus one that returns the rules and 7 prompts. An agent only sees the tools for your side, and only the ones that read on a read-only connection. No tool moves money.
View as MarkdownEveryone
For brands and creators alike.
Your Yap Factory accountget_account
Reads
Who is signed in: brand and/or creator, country and currency, what this connection is allowed to do, and the one next thing worth doing (gettingStarted). Shows which tools apply to this account. REST: GET /me.
No inputs.
List dealslist_deals
Reads
Deals you're part of, newest activity first, with each one's status and what happens next. A deal is one creator making videos for one campaign. REST: GET /deals.
statusopen: still in progress (default). closed: finished, declined or cancelled. Default "open".
limit1 to 50. Default 20.
Get a dealget_deal
Reads
One deal in full: the offer, status, whose move it is, the latest draft's review state, recent messages and the link to the deal page. Paying, approving a draft and cancelling happen on that page. REST: GET /deals/{dealId}.
dealIdThe deal's id.
messagesHow many recent messages to include. 0 to 50. Default 10.
Message the other side of a dealsend_deal_message
Changes thingsTells other people
Send a message in a deal's chat. The other side gets it in the app (and by email if they allow it). Contact details and off-platform payment talk are blocked. Feedback on a draft goes through request_revision, which gives the creator the notes to work from. For use once the person has agreed the words. REST: POST /deals/{dealId}/messages.
dealIdThe deal's id.
bodyThe message, in plain words. No contact details or payment talk. 1 to 2000 characters.
Brands
Only on a brand account.
Search creatorssearch_creators
Reads
Browse UGC creators you can invite: niches, rating, delivery record, rate per video and sample videos (each with a link that plays it on Yap Factory). With campaignId, results are ranked by fit for that campaign. A live campaign's ranked shortlist is already in get_campaign; search finds more or different creators. REST: GET /creators.
queryWords to match in names, summaries and niches. Up to 100 characters.
nichesOnly creators in these niches, e.g. skincare, fitness, pets. Up to 10 items.
countryISO country code such as US or GB. Up to 10 characters.
platformOnly creators with this platform linked.
priceBandRate per video: new (lowest), intermediate (rising creators) or specialist (established creators).
verifiedOnlyOnly creators who passed an ID check.
minRatingOnly creators rated at least this, out of 5. 0 to 5.
campaignIdOne of your live campaigns, to rank and show fit for it.
sortrelevance: best fit first (default). price: lowest rate first. rating: best rated first.
page1 to 50. Default 1.
Get a creatorget_creator
Reads
A creator's profile as brands see it: summary, niches, audience, rating, delivery record, rate and their videos per platform. Each video has a watch link that plays it on Yap Factory; social handles and links to the creator's own accounts are never included. REST: GET /creators/{creatorId}.
creatorIdThe creator's id.
campaignIdOne of your campaigns, to see how this creator fits it.
List your productslist_products
Reads
The products (apps, sites or brands) on your account. Every campaign is for one of them. REST: GET /products.
No inputs.
List campaignslist_campaigns
Reads
Your campaigns with status (draft, live, paused, closed), price per video and how many creators are invited, working or done. REST: GET /campaigns.
statusOnly campaigns in this status. Default "any".
Get a campaignget_campaign
Reads
One of your campaigns: the brief, the deal terms, the ranked shortlist of creators (with who asked to join) and every deal on it. REST: GET /campaigns/{campaignId}.
campaignIdThe campaign's id.
Draft a campaigncreate_campaign_draft
Changes things
Create a campaign draft with its brief. Nobody sees a draft until publish_campaign makes it live, so the person can review it first. Takes productId, or product to add a new one. REST: POST /campaigns.
productIdFrom list_products.
productA new product, when productId isn't given.
product.nameThe product's name. 1 to 80 characters.
product.urlApp Store, Play Store or website link. Up to 500 characters.
product.platformWhere people use it.
product.descriptionWhat it is and who it's for. Up to 2000 characters.
titleThe campaign's name, as creators see it. 3 to 100 characters.
templateone_video: 1 video for your own channels. test_openings: 1 video with 3 openings. ad_bundle: 3 videos you can run as ads for 3 months. Default "one_video".
videosVideos per creator (overrides the template). 1 to 20.
adRightsorganic = your own channels, no ads. paid_*: how long you can run it as an ad.
targetCountriesWhere the creators' audiences should be. Left out: your own country. 1 to 5 items.
lengthSecondsHow long each video runs. Default 30.
deadlineyyyy-mm-dd, at least 5 days away. Default: the template's (2-3 weeks).
briefbrief.keyMessageWhat the video must get across. Leave out to let the creator decide. Up to 600 characters.
brief.hooksOpening lines to try. Leave out to let the creator decide. Up to 5 items.
brief.ctaClosing call to action. Leave out to let the creator decide. Up to 200 characters.
brief.dosThings the video should do. Up to 8 items.
brief.dontsThings it must not do or say. Up to 8 items.
brief.exampleVideoUrlA video in the style you want. Up to 500 characters.
Edit a campaign briefupdate_campaign_brief
Changes things
Change the creative brief of a draft or paused campaign (title, message, openings, call to action, dos and don'ts). Only the fields sent change: a field sent replaces what was there, and fields left out keep their value. A live campaign has to be paused before its brief can change. REST: PATCH /campaigns/{campaignId}/brief.
campaignIdThe campaign's id.
titleThe campaign's name, as creators see it. 3 to 100 characters.
keyMessageThe one thing the video should get across. Up to 600 characters.
hooksOpening lines to use. Replaces the whole list. Up to 5 items.
ctaWhat the viewer should do at the end. Up to 200 characters.
dosThings the video should do. Replaces the whole list. Up to 8 items.
dontsThings it must not do or say. Replaces the whole list. Up to 8 items.
Publish a campaignpublish_campaign
Changes thingsTells other people
Make a draft campaign live: matching creators see the brief and can ask to join. Free; nothing is charged until you start a deal. For use once the person has agreed to go live. REST: POST /campaigns/{campaignId}/publish.
campaignIdThe campaign's id.
Pause, resume or close a campaignset_campaign_status
Changes thingsTells other peopleCan't be undone
Pause a live campaign (hidden from new creators), resume it, or close it (creators who asked are told it closed). Deals already running carry on. A draft goes live through publish_campaign. For use once the person has agreed. REST: POST /campaigns/{campaignId}/status.
campaignIdThe campaign's id.
statuspaused: hidden from new creators. live: resume a paused or closed campaign. closed: finished; creators who asked are told.
Invite creatorsinvite_creators
Changes thingsTells other people
Invite hand-picked creators to a live campaign: up to 8 per campaign in all. Invites are free; each creator gets the offer and has 2 days to say yes. You only pay when you start a deal with someone who said yes (on yapfactory.com). The result lists who was invited and who couldn't be, with why. For use once the person has agreed the list. REST: POST /campaigns/{campaignId}/invites.
campaignIdThe campaign's id.
creatorIdsCreator ids from search_creators or get_campaign. 1 to 8 items.
Pass on a creatorpass_on_creator
Changes thingsTells other peopleCan't be undone
Say "Not this time" to a creator who said yes but you won't start a deal with. They're told politely, and it can't be taken back. Only for deals not yet started. For use once the person has agreed. REST: POST /deals/{dealId}/pass.
dealIdThe deal's id.
reasonA short, kind reason. The creator sees it. Up to 500 characters.
Ask for changes to a draftrequest_revision
Changes thingsTells other peopleCan't be undone
Send a draft back with notes, once the person has agreed them. Uses one of the included revision rounds (get_deal says how many are left). Once they're used, another round is paid and can only be asked for on the deal page: this returns the link instead. Approving a draft pays the creator, so that happens on the deal page too. REST: POST /deals/{dealId}/revisions.
dealIdThe deal's id.
notesWhat to change, specifically. 10 to 4000 characters.
List accounts you can post tolist_post_accounts
Reads
The brand's own TikTok and Instagram accounts connected to Yap Factory that can take a scheduled post now, with what each allows (post directly, or send to TikTok drafts). Connect accounts on yapfactory.com under Accounts. REST: GET /posts/accounts.
No inputs.
Get posting options for an accountget_post_account
Reads
Live posting options for one account, straight from TikTok or Instagram: its name, who a post can be shown to (TikTok audiences), whether comments, Duet and Stitch can be on, the longest video, and whether it can post right now. Scheduling to a TikTok account needs these options, and the audience is the person's choice. REST: GET /posts/accounts/{accountId}.
accountIdThe account's id.
List videos you can postlist_postable_videos
Reads
Finished videos the brand may post: approved videos from completed deals. An id from here is the video for schedule_post; prepare_post_upload is for posting your own file. REST: GET /posts/videos.
No inputs.
Upload your own video or photo to postprepare_post_upload
Changes things
Get a one-time upload link for a video (MP4 or MOV, up to 300 MB) or photo (JPG) to post on one of the brand's accounts. The file goes to uploadUrl with the given method and headers, and the returned upload object is what schedule_post takes. Only for clients that can send files. REST: POST /posts/uploads.
accountIdThe account the file is for.
filenameThe file's name, with its extension. 1 to 200 characters.
contentTypevideo/mp4, video/quicktime or image/jpeg.
sizeBytesThe file's size in bytes. Up to 9007199254740991.
Schedule a postschedule_post
Changes thingsTells other people
Schedule a video or photos to go out on one or more of the brand's own TikTok and Instagram accounts at a set time (at least 10 minutes and at most 60 days ahead). It posts publicly at that time, so it is for use once the person has seen the account, video, caption, time and (TikTok) audience and agreed. For TikTok the audience is the person's own choice from get_post_account. Not for creators' accounts. REST: POST /posts.
accountsThe accounts to post to, from list_post_accounts. 1 to 10 items.
accounts[].accountIdThe account's id.
accounts[].modedirect posts it; drafts sends it to the TikTok app's drafts for the person to finish (TikTok only). Default "direct".
mediaOne video, one photo, or several photos (a carousel), in order. 1 to 35 items.
captionThe words under the post, hashtags included. Up to 2200 characters. Default "".
publishAtWhen it goes out, ISO 8601 with a time zone, e.g. 2026-12-10T18:00:00Z.
timeZoneThe person's IANA time zone, for how times are shown to them, e.g. Europe/London. Up to 60 characters. Default "UTC".
tiktokNeeded when posting directly to a TikTok account.
tiktok.privacyWho can see it: the person's choice, from get_post_account.
tiktok.allowCommentsLet people comment, if get_post_account says the account allows it. Default false.
tiktok.allowDuetLet people Duet it (videos only). Default false.
tiktok.allowStitchLet people Stitch it (videos only). Default false.
tiktok.discloseDisclose commercial content. Default false.
tiktok.yourBrandPromotional content for your own brand. Default false.
tiktok.brandedContentA paid partnership for another brand (can't be Only me). Default false.
instagraminstagram.shareToFeedReels also show in the main feed. Default true.
List scheduled postslist_posts
Reads
The brand's posts across its accounts: what's coming up, what went live (with its link) and anything that needs the person (a failed post says why). Defaults to the last 7 days and everything ahead. REST: GET /posts.
statusupcoming: not out yet. live: posted. needs_action: stopped and needs the person. Default "all".
fromStart of the range (default: 7 days ago).
toEnd of the range (default: 60 days ahead).
Change a scheduled postupdate_post
Changes things
Change the caption or time of a post that hasn't gone out. For use once the person has agreed the change. REST: PATCH /posts/{postId}.
postIdThe post's id.
captionThe new caption. Up to 2200 characters.
publishAtThe new time, ISO 8601 with a time zone, 10 minutes to 60 days ahead.
Cancel a scheduled postcancel_post
Changes thingsCan't be undone
Cancel a post that hasn't gone out, so it never posts. It can't be undone, though the post can be scheduled again. A post that's already live has to be deleted in TikTok or Instagram. REST: POST /posts/{postId}/cancel.
postIdThe post's id.
Creators
Only on a creator account.
Browse campaignsbrowse_campaigns
Reads
Live campaigns you could work on, with what each pays you, its fit with your profile and the brand's rating. REST: GET /marketplace/campaigns.
queryWords to look for in the product or brief. Up to 100 characters.
categoryOnly this product category, e.g. Health & Fitness. Up to 60 characters.
countryOnly campaigns for this audience country, e.g. US. Up to 10 characters.
sortfit: best match for your profile first. pay: what you'd earn, highest first. rating: best rated brands first. Default "fit".
page1 to 50. Default 1.
Read a campaign briefview_campaign_brief
Reads
A live campaign's full brief as a creator sees it: what to make, the deadline, the ad rights, what it pays you line by line, and whether you can ask to join. REST: GET /marketplace/campaigns/{campaignId}.
campaignIdThe campaign's id.
Ask to join a campaignask_to_join
Changes thingsTells other people
Tell the brand you'd like to make this campaign. You go on their shortlist; some brands invite straight away. Free, no limit. For use once the person has agreed. REST: POST /marketplace/campaigns/{campaignId}/ask.
campaignIdThe campaign's id.
Answer an inviterespond_to_invite
Changes thingsTells other peopleCan't be undone
Say yes ("I'm in") or no to a brand's invite. A yes commits you to the offer if the brand starts the deal within 3 days. For use once the person has agreed. REST: POST /deals/{dealId}/answer.
dealIdThe deal's id.
accepttrue: I'm in. false: not this time.
reasonWhen declining, a short reason for the brand. Up to 500 characters.
Also on the server
How to use Yap Factory wellget_usage_instructions
EveryoneReads
Returns the server's rules for working on someone's account: what needs their OK first, what happens on the website, and how amounts and links work. The same text the server sends as its instructions, for apps that don't pass those to the model. No inputs, and no REST twin.
Prompts
Ready-made workflows a person can pick in apps that support MCP prompts. Each gives the assistant the steps and the rules.
| Prompt | For | What it does |
|---|---|---|
run_campaign | Brands | Plan, draft and publish a campaign, then line up creators. Not for checking on deals already running (use check_deals). |
find_creators | Brands | Shortlist and invite creators for one live campaign. Not for writing the brief (use run_campaign). |
check_deals | Brands | Go through open deals and say what's waiting on me: creators who said yes, drafts to review, messages. Not for starting new campaigns. |
write_brief | Brands | Turn a product and a goal into a short creator brief, and save it to a draft. Not for publishing or inviting. |
schedule_posts | Brands | Plan and schedule finished videos to the brand's own TikTok and Instagram accounts. Not for finding creators or reviewing drafts. |
find_work | Creators | Browse live campaigns, read the briefs that fit and ask to join. Not for answering invites (use answer_invites). |
answer_invites | Creators | Go through invites from brands and answer them with me. Not for finding new campaigns (use find_work). |