Skip to main content
Glama

Create offer

create_offer

Create an offer. Only name is required — payout_type defaults to Auto (the payout comes with the postback, no planned amount), status to active. Use {click_id} and other {macros} in the URL. payout is in payout_currency (default USD); incoming postbacks without a currency parameter are converted from it. A local offer (dest_kind local) is a page the tracker hosts: pass its ZIP (with index.html at the root) as zip_base64.

Input Schema

NameRequiredDescriptionDefault
urlNoOffer URL; {click_id} and other {macros} are substituted per click
nameYes
tagsNo
notesNo
payoutNoExpected payout in payout_currency
statusNo
group_idNo
cap_limitNo
countriesNoISO alpha-2 codes
dest_kindNoredirect (default) sends the click to url; action performs a server-side action; telegram attributes a Telegram channel; local serves an uploaded ZIP page hosted by the tracker (send zip_base64)
languagesNo
cap_periodNo
zip_base64NoLocal offers: the page ZIP (index.html at the root), base64-encoded, up to 10 MB
cap_enabledNoEnable conversion caps (needs cap_period + cap_limit)
payout_typeNoAuto (payout from the postback, default), CPA, CPL, RevShare, CPC or Fixed
cap_priorityNo
collect_pushNoLocal offers: collect web-push subscriptions on the page
redirect_typeNoRedirect mechanism for dest_kind redirect (default http)
aff_network_idNo
heatmap_enabledNoLocal offers: collect click / scroll heatmap data on the page
payout_currencyNoISO code the network pays this offer in (default USD); postbacks without a currency parameter are converted from it
push_activationNoLocal offers: when the push prompt shows
cap_alt_offer_idNoFallback offer when capped

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already flag the write, non-idempotent, non-destructive profile, and the description adds meaningful behavior: default status is active, incoming postbacks without a currency are converted from payout_currency, and dest_kind local means the tracker hosts the page. It does not mention duplicate-name handling, permission requirements, or error behavior, so it stops short of 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?

A single dense paragraph that front-loads the required-field and default information, then explains macros and the local-offer case. Every sentence carries content, though the run-together style makes the local-offer clause easy to miss.

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 23-parameter creation tool with no output schema, the description covers the common path well but omits what is returned on success (presumably an offer id), and leaves a large block of parameters unexplained. Annotations carry the safety profile, so the gap is moderate rather than critical.

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?

With 23 parameters and 57% schema coverage, the description explains several important ones (payout_type, status default, payout_currency, URL macros, dest_kind local plus ZIP). But much of this restates schema text, and roughly a dozen parameters (caps, tags, group_id, aff_network_id, redirect_type, push/heatmap options) get no mention in either prose or 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 opens with a specific verb and resource ('Create an offer.') and immediately scopes what is required versus defaulted. It does not explicitly contrast with update_offer or upload_offer_archive, but the create semantics are unambiguous.

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 conveys real usage context: only name is required, payout_type defaults to Auto meaning payout comes from the postback, and local offers require a ZIP with index.html at the root. However, it never states when to choose this over update_offer or upload_offer_archive, so routing guidance is only implied.

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