Skip to main content
Glama

Update an Onlure campaign draft

update_campaign_draft
DestructiveIdempotent

Use this to change a draft campaign before launch: name, offer, pitch, brief, budget, number of creators, posts, dates, commission, who can apply or bonus payouts. Only fields you send change, and each replaces what was there. Drafts only; it charges nothing. Returns the draft with what is still needed 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": {
      "campaign": "<campaign>"
    },
    "name": "update_campaign_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe campaign name creators see.
briefNoThe full brief accepted creators follow (plain text).
nichesNoCreator niches that may apply.
campaignYesThe campaign reference, like cmp_…, from create_campaign_draft or list_campaigns.
creatorsNoHow many creators to book.
end_dateNoYYYY-MM-DD, or null for an ongoing campaign.
templateNoRestart from this template (same goal), then apply the other fields.
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.
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.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses partial-update semantics ('Only fields you send change, and each replaces what was there'), states that the action charges nothing, and explains what the response includes. These details materially reduce ambiguity for a destructive mutation.

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?

The description is front-loaded and tight: field scope, patch behavior, draft/charge constraint, and return value are covered in four sentences. The field list is dense but every item is relevant.

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 19-parameter mutation with no output schema, the description supplies the missing behavioral and return context: draft-only scope, no charge, replacement semantics, and what comes back. The schema and annotations cover the remaining structured details.

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

Parameters4/5

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

With 95% schema coverage, the schema already documents nearly every parameter; the description adds useful replacement semantics for omitted versus sent fields and groups the editable fields in prose. It does not add syntax or per-parameter rules beyond what the schema provides.

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 begins with a specific verb and resource ('change a draft campaign') and scopes it to 'before launch' and 'Drafts only,' making clear it edits existing drafts rather than creating or deleting them.

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 clear usage context (draft campaigns before launch) and an exclusion (drafts only), but does not name sibling alternatives such as create_campaign_draft or delete_campaign_draft, so it falls short of explicit alternative routing.

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