Skip to main content
Glama

createCampaign

Create and launch a new campaign for the calling business. Returns the campaign id, name, and dashboard URL. The campaign goes live immediately — no separate publish step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCustomer-facing campaign name
actionsYesAction IDs the campaign accepts (e.g. ['ig_st'] for an Instagram Story Tag).
businessIdYesThe business owning this campaign. Must match the API key's business.
descriptionNoOptional internal description
discountTypeYesDiscount denomination: 'pct' for percentage, 'dol' for dollars off.
discountValueYesDiscount amount. Capped at 100 for pct, 10000 for dol.
expiresInDaysNoDays until the campaign auto-expires. Default 60.
maxCompletionsNoOptional cap on total completions. Null = no cap.

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the burden, and it does disclose a key behavior: the campaign goes live immediately with no separate publish step. It also states the return values. However, it doesn't mention permissions, idempotency, or failure modes, which are important for a mutating operation.

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 three concise sentences, each adding value: purpose, return values, and the immediate-launch behavior. No filler or repetition.

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

Completeness4/5

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

For an 8-parameter tool with no output schema and no annotations, the description explains the essential behavior and return values. The schema covers parameter details, and the 'goes live immediately' note clarifies the lifecycle. It doesn't cover edge cases, but it's sufficiently complete for the core function.

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 coverage is 100%, so the baseline is 3. The description does not add any additional parameter meaning beyond the schema, nor does it need to since the schema entries are self-explanatory.

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 clearly states the action ('Create and launch a new campaign') and identifies the resource (a campaign for the calling business). It also mentions return values (id, name, dashboard URL), which further distinguishes it from sibling tools that read or review campaigns.

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?

The description provides clear context: it is for creating and immediately launching a campaign, which distinguishes it from list/view/review siblings. It doesn't explicitly name alternatives, but the 'goes live immediately' note implies when this tool is appropriate (creation) versus a draft/publish workflow absent here.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: campaigns, submissions, benchmarks, pricing, actions, influencers. No two tools have overlapping purposes; even getBenchmarks vs getPricing are clearly separated by context.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in camelCase (e.g., createCampaign, listActions, reviewSubmission). The verbs are varied but the structure is uniform, making the set predictable.

Tool Count5/5

10 tools is well within the ideal 3-15 range and matches the server's scope: campaign creation, stats, submissions, and reference lookups. Each tool earns its place without bloat.

Completeness4/5

Core lifecycle coverage is solid: create/list/get stats for campaigns, submit/review submissions. Minor gaps exist (no update/delete campaign, no single-submission detail view), but agents can work around them using existing tools.