Launch offer: service fee 10% 4% until 31 Dec, just enough to cover card processing. See pricing

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 Markdown

Everyone

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.

status
optional
"open" | "closed" | "all"

open: still in progress (default). closed: finished, declined or cancelled. Default "open".

limit
optional
integer

1 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}.

dealId
required
uuid

The deal's id.

messages
optional
integer

How 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.

dealId
required
uuid

The deal's id.

body
required
string

The 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.

query
optional
string

Words to match in names, summaries and niches. Up to 100 characters.

niches
optional
string[]

Only creators in these niches, e.g. skincare, fitness, pets. Up to 10 items.

country
optional
string

ISO country code such as US or GB. Up to 10 characters.

platform
optional
"tiktok" | "instagram" | "youtube"

Only creators with this platform linked.

priceBand
optional
"new" | "intermediate" | "specialist"

Rate per video: new (lowest), intermediate (rising creators) or specialist (established creators).

verifiedOnly
optional
boolean

Only creators who passed an ID check.

minRating
optional
number

Only creators rated at least this, out of 5. 0 to 5.

campaignId
optional
uuid

One of your live campaigns, to rank and show fit for it.

sort
optional
"relevance" | "price" | "rating"

relevance: best fit first (default). price: lowest rate first. rating: best rated first.

page
optional
integer

1 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}.

creatorId
required
uuid

The creator's id.

campaignId
optional
uuid

One 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.

status
optional
"draft" | "live" | "paused" | "closed" | "any"

Only 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}.

campaignId
required
uuid

The 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.

productId
optional
uuid

From list_products.

product
optional
object

A new product, when productId isn't given.

product.name
required
string

The product's name. 1 to 80 characters.

product.url
optional
url

App Store, Play Store or website link. Up to 500 characters.

product.platform
required
"ios" | "android" | "web"

Where people use it.

product.description
optional
string

What it is and who it's for. Up to 2000 characters.

title
required
string

The campaign's name, as creators see it. 3 to 100 characters.

template
optional
"one_video" | "test_openings" | "ad_bundle"

one_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".

videos
optional
integer

Videos per creator (overrides the template). 1 to 20.

adRights
optional
"organic" | "paid_3m" | "paid_6m" | "paid_12m" | "paid_forever"

organic = your own channels, no ads. paid_*: how long you can run it as an ad.

targetCountries
optional
("GB" | "US" | "IE" | "CA" | "AU")[]

Where the creators' audiences should be. Left out: your own country. 1 to 5 items.

lengthSeconds
optional
15 | 30 | 60

How long each video runs. Default 30.

deadline
optional
date

yyyy-mm-dd, at least 5 days away. Default: the template's (2-3 weeks).

brief
required
object
brief.keyMessage
optional
string

What the video must get across. Leave out to let the creator decide. Up to 600 characters.

brief.hooks
optional
string[]

Opening lines to try. Leave out to let the creator decide. Up to 5 items.

brief.cta
optional
string

Closing call to action. Leave out to let the creator decide. Up to 200 characters.

brief.dos
optional
string[]

Things the video should do. Up to 8 items.

brief.donts
optional
string[]

Things it must not do or say. Up to 8 items.

brief.exampleVideoUrl
optional
url

A 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.

campaignId
required
uuid

The campaign's id.

title
optional
string

The campaign's name, as creators see it. 3 to 100 characters.

keyMessage
optional
string

The one thing the video should get across. Up to 600 characters.

hooks
optional
string[]

Opening lines to use. Replaces the whole list. Up to 5 items.

cta
optional
string

What the viewer should do at the end. Up to 200 characters.

dos
optional
string[]

Things the video should do. Replaces the whole list. Up to 8 items.

donts
optional
string[]

Things 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.

campaignId
required
uuid

The 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.

campaignId
required
uuid

The campaign's id.

status
required
"live" | "paused" | "closed"

paused: 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.

campaignId
required
uuid

The campaign's id.

creatorIds
required
uuid[]

Creator 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.

dealId
required
uuid

The deal's id.

reason
optional
string

A 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.

dealId
required
uuid

The deal's id.

notes
required
string

What 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}.

accountId
required
uuid

The 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.

accountId
required
uuid

The account the file is for.

filename
required
string

The file's name, with its extension. 1 to 200 characters.

contentType
required
string

video/mp4, video/quicktime or image/jpeg.

sizeBytes
required
integer

The 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.

accounts
required
object[]

The accounts to post to, from list_post_accounts. 1 to 10 items.

accounts[].accountId
required
uuid

The account's id.

accounts[].mode
optional
"direct" | "drafts"

direct posts it; drafts sends it to the TikTok app's drafts for the person to finish (TikTok only). Default "direct".

media
required
({ deliverableId } | { upload })[]

One video, one photo, or several photos (a carousel), in order. 1 to 35 items.

caption
optional
string

The words under the post, hashtags included. Up to 2200 characters. Default "".

publishAt
required
datetime

When it goes out, ISO 8601 with a time zone, e.g. 2026-12-10T18:00:00Z.

timeZone
optional
string

The person's IANA time zone, for how times are shown to them, e.g. Europe/London. Up to 60 characters. Default "UTC".

tiktok
optional
object

Needed when posting directly to a TikTok account.

tiktok.privacy
required
"PUBLIC_TO_EVERYONE" | "MUTUAL_FOLLOW_FRIENDS" | "FOLLOWER_OF_CREATOR" | "SELF_ONLY"

Who can see it: the person's choice, from get_post_account.

tiktok.allowComments
optional
boolean

Let people comment, if get_post_account says the account allows it. Default false.

tiktok.allowDuet
optional
boolean

Let people Duet it (videos only). Default false.

tiktok.allowStitch
optional
boolean

Let people Stitch it (videos only). Default false.

tiktok.disclose
optional
boolean

Disclose commercial content. Default false.

tiktok.yourBrand
optional
boolean

Promotional content for your own brand. Default false.

tiktok.brandedContent
optional
boolean

A paid partnership for another brand (can't be Only me). Default false.

instagram
optional
object
instagram.shareToFeed
optional
boolean

Reels 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.

status
optional
"upcoming" | "live" | "needs_action" | "all"

upcoming: not out yet. live: posted. needs_action: stopped and needs the person. Default "all".

from
optional
datetime

Start of the range (default: 7 days ago).

to
optional
datetime

End 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}.

postId
required
uuid

The post's id.

caption
optional
string

The new caption. Up to 2200 characters.

publishAt
optional
datetime

The 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.

postId
required
uuid

The 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.

query
optional
string

Words to look for in the product or brief. Up to 100 characters.

category
optional
string

Only this product category, e.g. Health & Fitness. Up to 60 characters.

country
optional
string

Only campaigns for this audience country, e.g. US. Up to 10 characters.

sort
optional
"fit" | "newest" | "pay" | "rating"

fit: best match for your profile first. pay: what you'd earn, highest first. rating: best rated brands first. Default "fit".

page
optional
integer

1 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}.

campaignId
required
uuid

The 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.

campaignId
required
uuid

The 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.

dealId
required
uuid

The deal's id.

accept
required
boolean

true: I'm in. false: not this time.

reason
optional
string

When 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.

PromptForWhat it does
run_campaignBrandsPlan, draft and publish a campaign, then line up creators. Not for checking on deals already running (use check_deals).
find_creatorsBrandsShortlist and invite creators for one live campaign. Not for writing the brief (use run_campaign).
check_dealsBrandsGo through open deals and say what's waiting on me: creators who said yes, drafts to review, messages. Not for starting new campaigns.
write_briefBrandsTurn a product and a goal into a short creator brief, and save it to a draft. Not for publishing or inviting.
schedule_postsBrandsPlan and schedule finished videos to the brand's own TikTok and Instagram accounts. Not for finding creators or reviewing drafts.
find_workCreatorsBrowse live campaigns, read the briefs that fit and ask to join. Not for answering invites (use answer_invites).
answer_invitesCreatorsGo through invites from brands and answer them with me. Not for finding new campaigns (use find_work).