Skip to main content
Glama

Create an Onlure campaign draft

create_campaign_draft

Use this when a signed-in brand wants to create an Onlure Marketplace campaign (a listing creators apply to). It starts from Onlure’s template for the brand and applies any details given; it saves a draft and charges nothing. Make one request_id (a UUID) per new draft and reuse it if you retry, so a retry never makes a second draft. Returns the draft, its reference, what is still needed before launch and the link to review and launch it on onlure.ca.

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": {
      "request_id": "<request_id>"
    },
    "name": "create_campaign_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe campaign name creators see.
briefNoThe full brief accepted creators follow (plain text).
nichesNoCreator niches that may apply.
creatorsNoHow many creators to book.
end_dateNoYYYY-MM-DD, or null for an ongoing campaign.
templateNoAn Onlure template to start from.
objectiveNostore_visits (foot traffic) or online_sales. Defaults to what fits the brand.
platformsNoPlatforms an applicant must have connected.
radius_kmNoHow far from the store creators may be, or null for anywhere.
apply_daysNoDays applications stay open after launch.
request_idYesA UUID you make once for this new draft and reuse on retry.
start_dateNoYYYY-MM-DD. Launching moves dates to the launch day, keeping their length.
deliverablesNoWhat each creator posts. instagram: reel or post; tiktok: video; youtube: short or video; facebook: reel or post.
public_pitchNoThe short pitch creators read before applying.
min_followersNo
budget_dollarsNoThe whole campaign budget in Canadian dollars; Onlure splits it into production fees and performance pay.
custom_payoutsNoBonuses for specific actions, paid from each creator’s performance reserve when you approve them.
customer_offerNoWhat the creator’s followers get, e.g. "Free pastry with any drink".
post_within_daysNoDays a creator has to post after being accepted.
commission_percentNoOnline sales only: the creator’s commission on each sale.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, it discloses that the draft is built from Onlure's template for the brand, that unspecified details are left for later, that it "charges nothing," and that the required request_id makes retries safe rather than creating a duplicate draft. It also states what comes back (the draft, its reference, remaining requirements, and a review/launch link), which the annotations do not cover.

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

Conciseness5/5

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

Three sentences, front-loaded with the when-to-use condition, then the side-effect/cost posture, then the retry rule and return shape. No sentence restates the tool name or repeats the schema, and nothing is padded.

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

Completeness5/5

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

For a 20-parameter mutation tool with no output schema, the description covers the essentials an agent needs before calling: authorization context, that this is a non-billing draft, the idempotency contract, and a summary of the return payload including the follow-up link. The remaining field-level detail is already in the schema.

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 95%, so the schema already carries the per-field meaning for all 20 parameters. The description adds genuine semantics for request_id (one per new draft, reused on retry) and clarifies that all other details are optional overlays on a template, but it says nothing about the other 18 fields beyond what the schema states.

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

Purpose5/5

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

The description names a specific verb and resource ("create an Onlure Marketplace campaign") and parenthetically defines what a campaign is ("a listing creators apply to"). It also distinguishes the outcome from siblings by stating it "saves a draft" rather than launching, which separates it from update_campaign_draft and the launch/review path.

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

Usage Guidelines4/5

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

It gives a clear trigger condition ("when a signed-in brand wants to create") plus a prerequisite (signed-in brand), which is real guidance. It does not explicitly name alternatives such as update_campaign_draft for existing drafts or estimate_campaign for pricing, so the routing is implied rather than stated.

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