Skip to main content
Glama

Create landing

create_landing

Create a landing: a URL-type landing (an external page; {offer_url} and other macros are substituted in links — name and url required) or, with type game, a game landing rendered from a game pack (name and game_pack_id required; game_settings keys come from list_game_packs). Uploaded landings need a zip and are panel-only.

Input Schema

NameRequiredDescriptionDefault
urlNohttps:// page URL (URL-type landings)
nameYes
tagsNo
typeNoCreate only: url (default) or game
notesNo
statusNo
group_idNo
languageNoLocale code, e.g. en
pwa_nameNoGame landings: install (add-to-home-screen) title
collect_pushNoInject the push-subscription collector
game_pack_idNoGame landings: pack id from list_game_packs
game_settingsNoGame landings: {key: text} limited to the pack settings keys (+ soundEnabled / soundSpin / soundWin when the pack has sounds); unknown keys are dropped
heatmap_enabledNo
protect_enabledNoURL-type landings: token protection — only visitors sent by the campaign reach the offer (and, with the PHP script from the panel installed, the page); everyone else gets the campaign whitepage
push_activationNo
game_localizationsNoGame landings: [{locale, settings}] per-language overrides picked by the visitor's browser language; empty values inherit the default texts
protect_ttl_minutesNoToken lifetime, 5–1440 minutes (default 30)

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive create, so the safety profile is covered. The description adds genuinely new behavior (macro substitution such as {offer_url} in URLs, and that uploaded landings cannot be created through this API), but says nothing about permissions, failure modes, or whether repeated calls create duplicates.

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?

A single compact sentence that front-loads the core action and then branches into the two variants with parenthetical details. No filler, no restatement of the title, and every clause carries a usable constraint.

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 17-parameter mutating tool with nested objects, 3 enums, and no output schema, the description covers the critical creation paths and the game_settings key constraint. It stops short of covering the large block of optional behavioral flags, and gives no hint about what the call returns (e.g., the new landing id).

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?

Adds meaning the schema does not carry: conditional required fields per type (url for URL landings, game_pack_id for game landings despite only name being globally required) and the origin of game_settings keys. With 59% schema coverage and 17 parameters, many optional fields (tags, notes, status, group_id, pwa_name, collect_push, heatmap_enabled, push_activation) remain undocumented in both places.

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?

States a specific verb and resource ('Create a landing') and immediately decomposes it into its two API-reachable variants (URL-type and type=game), which is well beyond what the name alone conveys. It also rules out a third variant ('uploaded landings ... panel-only'), though 'uploaded' has no corresponding value in the type enum, which slightly muddies the mapping between prose and schema.

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?

Gives per-mode conditions ('name and url required' vs 'name and game_pack_id required') and a prerequisite pointer to list_game_packs for the allowed game_settings keys. It does not contrast itself with update_landing or list_landings/get_landing, so an agent gets creation-mode guidance but no 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