Skip to main content
Glama

Create launch draft

create_launch_draft

Prepare a new campaign as a proposal in the Loop inbox (needs a propose key). Same checks as the Loop form: connected channel, unique name, budget plan, guardrails. Nothing is sent to the ad platform; a person approves it in Loop.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "channel": "<channel>",
      "amount": "<amount>",
      "endTime": "<endTime>"
    },
    "name": "create_launch_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkNoDestination URL (store or website).
nameYesCampaign name. Must not exist in the workspace or wait in the inbox already.
ageMaxNoMeta only: oldest age the ad is shown to, as a hard limit (turns Advantage+ audience off). Omit for no limit.
ageMinNoMeta only: youngest age the ad is shown to. Omit for no limit.
amountYesTotal budget in major units of the currency the channel's ad account bills in (e.g. 30000 for ¥30,000). Channels whose account currency cannot be read use the workspace currency.
channelYesAd platform key, e.g. meta, google_ads, tiktok, apple_search_ads, microsoft_ads, linkedin_ads, amazon_ads. Must be connected.
draftIdNoId of a pending draft to replace. Omit for a new draft.
endTimeYesEnd, ISO 8601 with offset, e.g. 2026-11-30T23:59:59+09:00.
appEventNoMeta app event to optimise for instead of installs; only events list_app_events returns are accepted. TUTORIAL_COMPLETION and COMPLETE_REGISTRATION happen before payment: use them when payment events are too few for Meta to learn from. Whether the ads paid back is still judged from the payments Loop records, not from these events.
bodyTextNo
deviceOsNoMeta only: show the ad only on this device OS, as a hard limit (turns Advantage+ audience off). Omit for every device.
headlineNo
countriesNoISO country codes, e.g. ["JP"].
startTimeNoOptional start, ISO 8601 with offset.
placementsNoMeta placements. Omit to let Meta choose.
moreHeadlinesNoGoogle Ads App campaigns only: the 2nd to 5th headlines (Google needs 2–5, each up to 30 wide; full-width counts as 2).
amountCurrencyNoThe currency you mean the amount in (ISO 4217, e.g. JPY). If the ad account bills in another currency, nothing is saved.
libraryAssetIdNoLibrary file id from this workspace.
imageCreativeIdNoCreative id from this workspace.
youtubeVideoIdsNo
customProductPageIdNoMeta app ads linking to the App Store only: the custom product page (its UUID, the ppid) the ad sends people to instead of the default store page. list_custom_product_pages lists the approved ones when the workspace has an App Store Connect key. In a creative test, set customProductPageId on each item of variants instead. Omit for the default store page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / customProductPageId
      Added value: +{
      +  "description": "Meta app ads linking to the App Store only: the custom product page (its UUID, the ppid) the ad sends people to instead of the default store page. list_custom_product_pages lists the approved ones when the workspace has an App Store Connect key. In a creative test, set customProductPageId on each item of variants instead. Omit for the default store page.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / appEvent / description
      Previous value: -"Meta app event to optimise for instead of installs (see list_app_events)."New value: +"Meta app event to optimise for instead of installs; only events list_app_events returns are accepted. TUTORIAL_COMPLETION and COMPLETE_REGISTRATION happen before payment: use them when payment events are too few for Meta to learn from. Whether the ads paid back is still judged from the payments Loop records, not from these events."
    • addedInput schema / properties / appEvent / enum
      Added value: +[
      +  "START_TRIAL",
      +  "SUBSCRIBE",
      +  "PURCHASE",
      +  "TUTORIAL_COMPLETION",
      +  "COMPLETE_REGISTRATION"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / deviceOs
      Added value: +{
      +  "description": "Meta only: show the ad only on this device OS, as a hard limit (turns Advantage+ audience off). Omit for every device.",
      +  "enum": [
      +    "android",
      +    "ios"
      +  ],
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / ageMax
      Added value: +{
      +  "description": "Meta only: oldest age the ad is shown to, as a hard limit (turns Advantage+ audience off). Omit for no limit.",
      +  "maximum": 65,
      +  "minimum": 18,
      +  "type": "integer"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / ageMin
      Added value: +{
      +  "description": "Meta only: youngest age the ad is shown to. Omit for no limit.",
      +  "maximum": 25,
      +  "minimum": 18,
      +  "type": "integer"
      +}
  6. First observed

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already say readOnlyHint=false and destructiveHint=false, so the description's real contribution is the propose-key auth requirement, the guarantee that nothing reaches the ad platform, and the explicit list of pre-flight validations (connected channel, unique name, budget plan, guardrails) that can reject the call. That is meaningful behavior beyond the annotations. It does not say what is returned on success or how failures surface, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and the auth requirement, then validation, then the safety guarantee. Every sentence carries information. The only mild weakness is the appeal to 'the Loop form' as a reference point an agent cannot inspect, though the following clause enumerates the checks anyway.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 21-parameter, 4-required mutation tool with no output schema, the description covers the essential risk profile and prerequisites but leaves the agent guessing about the result (presumably a draft id to chain into approval) and about how the many optional creative fields interact. The rich schema carries most of the load, so the gap is moderate rather than severe.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 86%, so the schema already carries parameter meaning and a 3 is the baseline. The description adds only a loose mapping ('connected channel, unique name, budget plan, guardrails') onto the four required fields, and says nothing about currency mismatch, draftId replacement, or creative-test variants that the schema documents. It neither compensates for nor undermines the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: it prepares a new campaign as a proposal in the Loop inbox, rather than launching it live. The 'Nothing is sent to the ad platform; a person approves it in Loop' clause sharply bounds what the tool produces, so an agent can distinguish it from live-launch or edit paths. It stops short of naming a sibling (e.g. prepare_campaign_change for existing campaigns), so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It establishes the operating context (draft/proposal requiring human approval) and one hard prerequisite ('needs a propose key'), which is genuinely useful routing information. However, it never states when an agent should pick this over the sibling prepare_campaign_change, or what to do if a draft already exists beyond the draftId parameter description. Usage is implied by the workflow framing rather than spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources