Skip to main content
Glama

Save Reward settings

save_reward
Destructive

PARTIAL SAVE: writes ONLY the 'Reward' field of TitlePublicConfigurationModel; all other v1/v2 fields stay untouched. Reward templates — reusable bundles of currency + items + buffs that can be granted to a player. Referenced by Quest, TimedEvent, CoopEvent, Season, DailyLogin, Referral, etc. Define a reward once here, then reference it everywhere instead of inlining payouts.

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": {
      "title_id": "<title_id>",
      "value": "<value>"
    },
    "name": "save_reward"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesRoot config for universal, system-agnostic rewards. Umbrella over four independent subsystems: DailyCalendars, IdleAccruals, Comebacks, Claims.
title_idYesTitleID, для которого сохраняются данные.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / definitions / ProgressionSource / enum
      Previous value: -[
      -  "BoardStageLevel",
      -  "BoardRank",
      -  "BoardCyclesCompleted",
      -  "CharacterLevel",
      -  "SeasonTier",
      -  "EventTokenTotalEarned",
      -  "VirtualCurrencyBalance",
      -  "PlayerLevel"
      -]New value: +[
      +  "BoardStageLevel",
      +  "BoardRank",
      +  "BoardCyclesCompleted",
      +  "CharacterLevel",
      +  "SeasonTier",
      +  "EventTokenTotalEarned",
      +  "VirtualCurrencyBalance",
      +  "PlayerLevel",
      +  "ClanLevel"
      +]
    • changedInput schema / definitions / ProgressionSource / x-enumNames
      Previous value: -[
      -  "BoardStageLevel",
      -  "BoardRank",
      -  "BoardCyclesCompleted",
      -  "CharacterLevel",
      -  "SeasonTier",
      -  "EventTokenTotalEarned",
      -  "VirtualCurrencyBalance",
      -  "PlayerLevel"
      -]New value: +[
      +  "BoardStageLevel",
      +  "BoardRank",
      +  "BoardCyclesCompleted",
      +  "CharacterLevel",
      +  "SeasonTier",
      +  "EventTokenTotalEarned",
      +  "VirtualCurrencyBalance",
      +  "PlayerLevel",
      +  "ClanLevel"
      +]
    • addedInput schema / definitions / SegmentClanCondition
      Added value: +{
      +  "description": "Gate condition on the player's clan. All fields are AND-ed; an empty field = no restriction.",
      +  "properties": {
      +    "InClan": {
      +      "description": "true = must be in a clan of the kind; false = must NOT be in one. Empty = true when any other field is set, otherwise no restriction.",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "KindID": {
      +      "description": "Kind of clan (KindID). Empty = the default kind.",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "MinClanLevel": {
      +      "description": "Minimum clan level. 0 = no restriction.",
      +      "format": "int32",
      +      "type": "integer"
      +    },
      +    "MinMembershipHours": {
      +      "description": "Hours in the clan at least. 0 = no restriction.",
      +      "format": "int32",
      +      "type": "integer"
      +    },
      +    "Permission": {
      +      "description": "The member's role must have this permission (built-in or the game's own). Empty = no restriction.",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "RoleIDs": {
      +      "description": "The member's role must be one of these RoleIDs. Empty = any role.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / definitions / SegmentGate / properties / Clan
      Added value: +{
      +  "description": "Clan condition (clans, stage 2): in a clan or not, clan level, role, membership age, a role permission. null = not applied. Read from the player's clan snapshot of the request, not from the player document; outside a client request the condition fails closed.",
      +  "oneOf": [
      +    {
      +      "type": "null"
      +    },
      +    {
      +      "$ref": "#/definitions/SegmentClanCondition"
      +    }
      +  ]
      +}
  2. Changed2 schema fields changed
    • changedInput schema / definitions / EventTokenType / enum
      Previous value: -[
      -  "TimedEvent",
      -  "Leaderboard",
      -  "CoopEvent",
      -  "Season",
      -  "Quest",
      -  "DealOffer"
      -]New value: +[
      +  "TimedEvent",
      +  "Leaderboard",
      +  "CoopEvent",
      +  "Season",
      +  "Quest",
      +  "DealOffer",
      +  "Challenge",
      +  "ChallengePoints"
      +]
    • changedInput schema / definitions / EventTokenType / x-enumNames
      Previous value: -[
      -  "TimedEvent",
      -  "Leaderboard",
      -  "CoopEvent",
      -  "Season",
      -  "Quest",
      -  "DealOffer"
      -]New value: +[
      +  "TimedEvent",
      +  "Leaderboard",
      +  "CoopEvent",
      +  "Season",
      +  "Quest",
      +  "DealOffer",
      +  "Challenge",
      +  "ChallengePoints"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / definitions / RewardWindowDefinition
      Added value: +{
      +  "description": "Reward window: the end-of-round screen 'Claim N / x3 for an ad / x5 VIP'. The game reports the round's amount; the server caps it (MaxBaseAmount, daily limits) and picks the multiplier itself: AdMultiplier only after a verified view of AdPlacementID (one view = one window), VipMultiplier only with an active premium subscription.",
      +  "properties": {
      +    "AdMultiplier": {
      +      "description": "Multiplier after a verified ad view. Null = 3.",
      +      "format": "double",
      +      "type": [
      +        "null",
      +        "number"
      +      ]
      +    },
      +    "AdPlacementID": {
      +      "description": "Rewarded placement (Advertising.Placements) whose verified view unlocks AdMultiplier. Empty = no ad button.",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "CurrencyID": {
      +      "description": "Currency the window grants (a virtual currency id of the title).",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "Limits": {
      +      "description": "Limits: DailyCap (windows per UTC day), DailyWeightCap (amount granted per UTC day, after the multiplier), CooldownSeconds, TotalCap. Null = defaults (200 windows a day, 5 s cooldown).",
      +      "oneOf": [
      +        {
      +          "type": "null"
      +        },
      +        {
      +          "$ref": "#/definitions/LimitSpec"
      +        }
      +      ]
      +    },
      +    "MaxBaseAmount": {
      +      "description": "Cap on the base amount of one window: the game may report more, the player gets at most this before the multiplier.",
      +      "format": "int64",
      +      "type": "integer"
      +    },
      +    "VipMultiplier": {
      +      "description": "Multiplier for a VIP player, no ad. Null = 5; 0 or 1 = no VIP button.",
      +      "format": "double",
      +      "type": [
      +        "null",
      +        "number"
      +      ]
      +    },
      +    "VipPremiumID": {
      +      "description": "Which premium subscription counts as VIP. Empty = any active subscription of the title.",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / value / properties / Windows
      Added value: +{
      +  "additionalProperties": {
      +    "$ref": "#/definitions/RewardWindowDefinition"
      +  },
      +  "description": "Reward windows: the end-of-round 'Claim N / x3 for an ad / x5 VIP' screen. Key = window id the game sends. Empty/null disables the subsystem.",
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
  4. Changed1 schema field changed
    • changedInput schema / definitions / ResourceEntryType / x-enum-descriptions
      Previous value: -[
      -  "Catalog item. Requires CatalogID, ItemID and Amount.",
      -  "In-game (off-chain) virtual currency. Requires CurrencyID and Amount. Looked up in cfg.Currency.VirtualCurrencies.",
      -  "On-chain cryptocurrency. Requires CurrencyID and Amount. Looked up in cfg.Currency.CryptoCurrencies.",
      -  "Real-money payment in a store. Requires only ProductID (a product from cfg.Purchase.Products); the amount and currency are decided by the store from the SKU price tier. NOT a storable resource and never passes through ResourceService — the money is paid outside before the server learns about it, so the entry is consumed by the receipt check (ExternalPaymentGate) and stripped before the resource operation. Allowed only in Consume and only for Consumable products.",
      -  "Rewarded-video credit. One credit equals one verified ad view that can be spent in systems requiring rewarded video (lootbox open, reward double, re-roll, booster). Granted +1 per server-verified view, or as N from milestones/quests/premium perks; spent -1 per gated action.",
      -  "Payment in Credits, the PLATFORM currency on the player's iDos Games account (players see it as \"Aspis\" — write Aspis in player-facing text). Requires only Amount — the price in whole Credits. Like Purchase it is NOT a player resource and never enters ResourceService: it is settled by PlatformCreditsPayment in the same transaction as the grant (buyer charged, author credited). Accepted only by the store (Store.Purchase) for now; allowed only in Consume."
      -]New value: +[
      +  "Catalog item. Requires CatalogID, ItemID and Amount.",
      +  "In-game (off-chain) virtual currency. Requires CurrencyID and Amount. Looked up in cfg.Currency.VirtualCurrencies.",
      +  "On-chain cryptocurrency. Requires CurrencyID and Amount. Looked up in cfg.Currency.CryptoCurrencies.",
      +  "Real-money payment in a store. Requires only ProductID (a product from cfg.Purchase.Products); the amount and currency are decided by the store from the SKU price tier. NOT a storable resource and never passes through ResourceService — the money is paid outside before the server learns about it, so the entry is consumed by the receipt check (ExternalPaymentGate) and stripped before the resource operation. Allowed only in Consume and only for Consumable products.",
      +  "Rewarded-video credit. One credit equals one verified ad view that can be spent in systems requiring rewarded video (lootbox open, reward double, re-roll, booster). Granted +1 per server-verified view, or as N from milestones/quests/premium perks; spent -1 per gated action.",
      +  "Payment in Credits, the PLATFORM currency on the player's iDos Games account (players see it as \"Aspis\" — write Aspis in player-facing text). Requires only Amount — the price in whole Credits. Like Purchase it is NOT a player resource and never enters ResourceService: it is settled by PlatformCreditsPayment in the same transaction as the grant (buyer charged, author credited). Accepted by every sale of the game author: Store, Lootbox, Collection packs, Craft, DealOffer, TimedBoost, Premium, Item and Character upgrades, skins, CoopEvent spins, GameLoop special mode entry, Workshop publish fee, InApp AI (charged only when the generation is ready). NOT accepted in player-to-player prices or refundable fees (Marketplace listing fee, PvP Match creation) - those refuse with CREDITS_NOT_ALLOWED_HERE; batch calls refuse too. Allowed only in Consume: Credits are never a reward anywhere."
      +]
  5. Changed3 schema fields changed
    • changedInput schema / definitions / ResourceEntryType / enum
      Previous value: -[
      -  "Item",
      -  "VirtualCurrency",
      -  "CryptoCurrency",
      -  "Purchase",
      -  "RewardedVideoCredit",
      -  "PlatformCoin"
      -]New value: +[
      +  "Item",
      +  "VirtualCurrency",
      +  "CryptoCurrency",
      +  "Purchase",
      +  "RewardedVideoCredit",
      +  "PlatformCredits"
      +]
    • changedInput schema / definitions / ResourceEntryType / x-enum-descriptions
      Previous value: -[
      -  "Catalog item. Requires CatalogID, ItemID and Amount.",
      -  "In-game (off-chain) virtual currency. Requires CurrencyID and Amount. Looked up in cfg.Currency.VirtualCurrencies.",
      -  "On-chain cryptocurrency. Requires CurrencyID and Amount. Looked up in cfg.Currency.CryptoCurrencies.",
      -  "Real-money payment in a store. Requires only ProductID (a product from cfg.Purchase.Products); the amount and currency are decided by the store from the SKU price tier. NOT a storable resource and never passes through ResourceService — the money is paid outside before the server learns about it, so the entry is consumed by the receipt check (ExternalPaymentGate) and stripped before the resource operation. Allowed only in Consume and only for Consumable products.",
      -  "Rewarded-video credit. One credit equals one verified ad view that can be spent in systems requiring rewarded video (lootbox open, reward double, re-roll, booster). Granted +1 per server-verified view, or as N from milestones/quests/premium perks; spent -1 per gated action.",
      -  "Payment in Coin, the PLATFORM currency on the player's iDos Games account. Requires only Amount — the price in whole Coin. Like Purchase it is NOT a player resource and never enters ResourceService: it is settled by PlatformCoinPayment in the same transaction as the grant (buyer charged, author credited). Accepted only by the store (Store.Purchase) for now; allowed only in Consume."
      -]New value: +[
      +  "Catalog item. Requires CatalogID, ItemID and Amount.",
      +  "In-game (off-chain) virtual currency. Requires CurrencyID and Amount. Looked up in cfg.Currency.VirtualCurrencies.",
      +  "On-chain cryptocurrency. Requires CurrencyID and Amount. Looked up in cfg.Currency.CryptoCurrencies.",
      +  "Real-money payment in a store. Requires only ProductID (a product from cfg.Purchase.Products); the amount and currency are decided by the store from the SKU price tier. NOT a storable resource and never passes through ResourceService — the money is paid outside before the server learns about it, so the entry is consumed by the receipt check (ExternalPaymentGate) and stripped before the resource operation. Allowed only in Consume and only for Consumable products.",
      +  "Rewarded-video credit. One credit equals one verified ad view that can be spent in systems requiring rewarded video (lootbox open, reward double, re-roll, booster). Granted +1 per server-verified view, or as N from milestones/quests/premium perks; spent -1 per gated action.",
      +  "Payment in Credits, the PLATFORM currency on the player's iDos Games account (players see it as \"Aspis\" — write Aspis in player-facing text). Requires only Amount — the price in whole Credits. Like Purchase it is NOT a player resource and never enters ResourceService: it is settled by PlatformCreditsPayment in the same transaction as the grant (buyer charged, author credited). Accepted only by the store (Store.Purchase) for now; allowed only in Consume."
      +]
    • changedInput schema / definitions / ResourceEntryType / x-enumNames
      Previous value: -[
      -  "Item",
      -  "VirtualCurrency",
      -  "CryptoCurrency",
      -  "Purchase",
      -  "RewardedVideoCredit",
      -  "PlatformCoin"
      -]New value: +[
      +  "Item",
      +  "VirtualCurrency",
      +  "CryptoCurrency",
      +  "Purchase",
      +  "RewardedVideoCredit",
      +  "PlatformCredits"
      +]
  6. Changed3 schema fields changed
    • changedInput schema / definitions / ResourceEntryType / enum
      Previous value: -[
      -  "Item",
      -  "VirtualCurrency",
      -  "CryptoCurrency",
      -  "Purchase",
      -  "RewardedVideoCredit"
      -]New value: +[
      +  "Item",
      +  "VirtualCurrency",
      +  "CryptoCurrency",
      +  "Purchase",
      +  "RewardedVideoCredit",
      +  "PlatformCoin"
      +]
    • changedInput schema / definitions / ResourceEntryType / x-enum-descriptions
      Previous value: -[
      -  "Catalog item. Requires CatalogID, ItemID and Amount.",
      -  "In-game (off-chain) virtual currency. Requires CurrencyID and Amount. Looked up in cfg.Currency.VirtualCurrencies.",
      -  "On-chain cryptocurrency. Requires CurrencyID and Amount. Looked up in cfg.Currency.CryptoCurrencies.",
      -  "Real-money payment in a store. Requires only ProductID (a product from cfg.Purchase.Products); the amount and currency are decided by the store from the SKU price tier. NOT a storable resource and never passes through ResourceService — the money is paid outside before the server learns about it, so the entry is consumed by the receipt check (ExternalPaymentGate) and stripped before the resource operation. Allowed only in Consume and only for Consumable products.",
      -  "Rewarded-video credit. One credit equals one verified ad view that can be spent in systems requiring rewarded video (lootbox open, reward double, re-roll, booster). Granted +1 per server-verified view, or as N from milestones/quests/premium perks; spent -1 per gated action."
      -]New value: +[
      +  "Catalog item. Requires CatalogID, ItemID and Amount.",
      +  "In-game (off-chain) virtual currency. Requires CurrencyID and Amount. Looked up in cfg.Currency.VirtualCurrencies.",
      +  "On-chain cryptocurrency. Requires CurrencyID and Amount. Looked up in cfg.Currency.CryptoCurrencies.",
      +  "Real-money payment in a store. Requires only ProductID (a product from cfg.Purchase.Products); the amount and currency are decided by the store from the SKU price tier. NOT a storable resource and never passes through ResourceService — the money is paid outside before the server learns about it, so the entry is consumed by the receipt check (ExternalPaymentGate) and stripped before the resource operation. Allowed only in Consume and only for Consumable products.",
      +  "Rewarded-video credit. One credit equals one verified ad view that can be spent in systems requiring rewarded video (lootbox open, reward double, re-roll, booster). Granted +1 per server-verified view, or as N from milestones/quests/premium perks; spent -1 per gated action.",
      +  "Payment in Coin, the PLATFORM currency on the player's iDos Games account. Requires only Amount — the price in whole Coin. Like Purchase it is NOT a player resource and never enters ResourceService: it is settled by PlatformCoinPayment in the same transaction as the grant (buyer charged, author credited). Accepted only by the store (Store.Purchase) for now; allowed only in Consume."
      +]
    • changedInput schema / definitions / ResourceEntryType / x-enumNames
      Previous value: -[
      -  "Item",
      -  "VirtualCurrency",
      -  "CryptoCurrency",
      -  "Purchase",
      -  "RewardedVideoCredit"
      -]New value: +[
      +  "Item",
      +  "VirtualCurrency",
      +  "CryptoCurrency",
      +  "Purchase",
      +  "RewardedVideoCredit",
      +  "PlatformCoin"
      +]
  7. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds useful scope context by stating that only the Reward subtree is written, but it never discloses the critical mutation semantics: whether the supplied value replaces the entire Reward object (thereby implicitly dropping any subsystem omitted) or is merged, nor what permissions or validation failures apply. For a destructive nested config write, that is a meaningful gap beyond what annotations cover.

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?

The most important fact — PARTIAL SAVE with field-level scope — is front-loaded in the first clause, and the remaining sentences build domain context. The closing 'Define a reward once here, then reference it everywhere instead of inlining payouts' is slightly promotional but still conveys referencing behavior, so little is wasted.

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 destructive writer with a very large nested schema and no output schema, the description does well on domain context but leaves the operationally decisive question unanswered: what happens to existing reward subsystems not present in the payload. An agent could reasonably believe it is patching when it may be replacing. Auth requirements and success/failure signaling are also unaddressed.

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 description coverage is 100% and the nested RewardDefinitions schema is densely self-documented, so the schema carries parameter meaning. The description adds only conceptual framing (what a reward template is and how it is referenced), not semantics for title_id or the value object beyond what is already documented; 3 is the correct baseline.

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 names a specific verb and resource (save the 'Reward' field of TitlePublicConfigurationModel) and immediately scopes it: 'PARTIAL SAVE: writes ONLY the Reward field ... all other v1/v2 fields stay untouched.' That distinguishes it from the many full-config save_* siblings without the agent needing to open any 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?

It gives clear context for when this is the right tool — defining reusable reward templates that systems like Quest, TimedEvent, Season and DailyLogin reference instead of inlining payouts — and the 'partial save, other fields untouched' framing tells the agent not to use it for whole-config writes. It stops short of naming an alternative (e.g. get_reward for reading, or the full-config save) or stating explicit exclusions, so it is strong but not a 5.

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.