Skip to main content
Glama

Update landing

update_landing
DestructiveIdempotent

Edit a landing (partial). url can be changed on URL-type landings only; game_pack_id / game_settings / game_localizations / pwa_name on game landings only (settings are re-validated against the pack); the type never changes.

Input Schema

NameRequiredDescriptionDefault
idYesLanding id
urlNohttps:// page URL (URL-type landings)
nameNo
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.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds non-obvious behavior — pack settings are re-validated and the landing type is immutable — but it never addresses what makes this destructive or what happens to fields left out of a partial update.

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 dense sentence with the core edit semantics first and the field-constraint clauses after. No filler, and every clause carries a rule an agent would otherwise get wrong.

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 18-parameter partial-update tool with no output schema, the description covers the highest-risk ambiguities (type immutability, cross-type field validity, settings re-validation). Remaining gaps are minor: no statement on return value or on error behavior when a game field is sent to a URL landing.

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 18 parameters, 61% coverage and nested objects, the schema leaves conditional logic unstated; the description supplies exactly that by partitioning url vs. game-only fields and flagging re-validation against the pack. It does not cover tags, status, group_id, language, collect_push or the protect_* interaction with URL landings.

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?

"Edit a landing (partial)" names a specific verb and resource and immediately signals partial-update semantics, which distinguishes it from create_landing. It also states an invariant ("the type never changes"), but it never names the read/creation siblings it is adjacent to.

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 conditional applicability rules: url only on URL-type landings, game fields only on game landings, type immutable. That is real when-to-use guidance for each field group, though it says nothing about when to prefer update_landing over create_landing or get_landing.

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