Skip to main content
Glama

Save Challenge settings

save_challenge
Destructive

PARTIAL SAVE: writes ONLY the 'Challenge' field of TitlePublicConfigurationModel; all other v1/v2 fields stay untouched. Challenges — scheduled chains of side events (Arena, Boss, ...) paid with ONE shared ticket per chain. Milestones of main events and leaderboards grant the ticket with the short address {Type: Challenge, EntityID: ChainID}; it lands in whichever phase is running. Each phase has its own points (earned only by successful attempts) and milestones. Leftover tickets convert at phase end via Ticket.BurnConversion (e.g. into dice).

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_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesRoot of the Challenges section: scheduled chains of challenges (Arena, Boss, ...) paid with a shared ticket. Key of Chains = ChainID.
title_idYesTitleID, для которого сохраняются данные.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / definitions / EventTokenSourceType / enum
      Previous value: -[
      -  "BoardTileLanding",
      -  "BoardPassStart",
      -  "BoardAttack",
      -  "BoardRaid",
      -  "BoardBuild",
      -  "BoardStageComplete",
      -  "BoardSpecialComplete",
      -  "QuestComplete",
      -  "StorePurchase",
      -  "DailyLogin",
      -  "ReferralInvite",
      -  "MilestoneReward",
      -  "CustomAction",
      -  "LeaderboardRankReward",
      -  "MarketplaceSell",
      -  "MarketplaceBuy",
      -  "CurrencySpent",
      -  "LootboxOpened",
      -  "IapPurchase",
      -  "CryptoDeposit",
      -  "CryptoWithdraw",
      -  "CryptoSpent",
      -  "CurrencyEarned",
      -  "CryptoEarned",
      -  "ClientScore"
      -]New value: +[
      +  "BoardTileLanding",
      +  "BoardPassStart",
      +  "BoardAttack",
      +  "BoardRaid",
      +  "BoardBuild",
      +  "BoardStageComplete",
      +  "BoardSpecialComplete",
      +  "QuestComplete",
      +  "StorePurchase",
      +  "DailyLogin",
      +  "ReferralInvite",
      +  "MilestoneReward",
      +  "CustomAction",
      +  "LeaderboardRankReward",
      +  "MarketplaceSell",
      +  "MarketplaceBuy",
      +  "CurrencySpent",
      +  "LootboxOpened",
      +  "IapPurchase",
      +  "CryptoDeposit",
      +  "CryptoWithdraw",
      +  "CryptoSpent",
      +  "CurrencyEarned",
      +  "CryptoEarned",
      +  "ClientScore",
      +  "ClanJoined",
      +  "ClanDonation",
      +  "ClanGiftClaimed",
      +  "ItemUpgraded",
      +  "ClanRevenge"
      +]
    • changedInput schema / definitions / EventTokenSourceType / x-enum-descriptions
      Previous value: -[
      -  "Landing on an EventToken tile on the board.",
      -  "Passing start (GO) on the board.",
      -  "Successful board attack.",
      -  "Successful board raid.",
      -  "Building or repairing a structure on the board.",
      -  "Completing a board stage.",
      -  "Completing a board Special mode — either via Instant choice or via Claim after the Timed window. Post-resolution source (mirrors BoardAttack/BoardRaid): fires at the final Special reward grant, separately from BoardTileLanding (which fires on the actual tile landing during Roll).",
      -  "Completing a quest.",
      -  "Store purchase.",
      -  "Daily login.",
      -  "Referral invite.",
      -  "Token grant as a reward for a milestone or streak in another event. Server-only source — the client cannot invoke it directly.",
      -  "Arbitrary action — the developer calls the server API with ActionName in Params.",
      -  null,
      -  "Marketplace (v2) sale — deal settlement on the seller side. Server-only source. Filter Params: CatalogID / ItemID / OfferType.",
      -  "Marketplace (v2) purchase — deal settlement on the buyer side. Server-only source. Filter Params: CatalogID / ItemID / OfferType.",
      -  "In-game currency spend — any scenario where a resource operation actually consumed currency. Server-only source. The multiplier equals the amount spent. Filter Params: CurrencyID.",
      -  "Opening a lootbox/chest. Server-only source. The multiplier equals how many boxes were opened in the call. Filter Params: LootboxID.",
      -  "Real-money store purchase (IAP). Server-only source: fired in PurchaseV2 AFTER the receipt is verified and rewards are granted. The multiplier equals the number of product units granted. Filter Params: ProductID, Store. Deliberately separate from StorePurchase, which covers in-game currency spending.",
      -  "Crypto deposit credited to the in-game balance. Multiplier is 1 (one operation). Filter Params: CurrencyID, NetworkID.",
      -  "Crypto withdrawal CONFIRMED on chain. Multiplier is 1 (one operation). Filter Params: CurrencyID, NetworkID.",
      -  "Spending crypto currency in-game. The multiplier equals the amount spent. Filter Params: CurrencyID.",
      -  "In-game currency GRANT — mirror of CurrencySpent. The multiplier equals the amount granted, so ScaleWithRollMultiplier picks the meaning: \"earn N currency\" or \"receive currency N times\". Filter Params: CurrencyID and Origin (\"Gameplay\" | \"RewardClaim\"), the latter separating gameplay earnings from reward payouts — without it a goal like \"earn N\" would be closed by another quest's reward.",
      -  "CRYPTO currency GRANT in-game (wallet deposits are NOT included — that is CryptoDeposit). The multiplier equals the amount granted. Filter Params: CurrencyID, Origin.",
      -  "Leaderboard ScoreSources only: the board accepts the NUMBER the game submits itself (SubmitScore / SubmitScoresBatch). Not an event — it grants nothing and matches nothing, it only allows. Without it the board refuses a score from the game: an empty ScoreSources list means the board is not set up. Caps live in Limits: PerActivationCap = max score of ONE submission, DailyCap / DailyWeightCap = submissions / total score per UTC day, CooldownSeconds, MaxPerWindow + WindowSeconds, TotalCap = submissions for all time. A submission over a cap is refused, not trimmed. BaseWeight is not read. Set caps the game can really reach: the client is not trusted, they are the only limit on a forged score."
      -]New value: +[
      +  "Landing on an EventToken tile on the board.",
      +  "Passing start (GO) on the board.",
      +  "Successful board attack.",
      +  "Successful board raid.",
      +  "Building or repairing a structure on the board.",
      +  "Completing a board stage.",
      +  "Completing a board Special mode — either via Instant choice or via Claim after the Timed window. Post-resolution source (mirrors BoardAttack/BoardRaid): fires at the final Special reward grant, separately from BoardTileLanding (which fires on the actual tile landing during Roll).",
      +  "Completing a quest.",
      +  "Store purchase.",
      +  "Daily login.",
      +  "Referral invite.",
      +  "Token grant as a reward for a milestone or streak in another event. Server-only source — the client cannot invoke it directly.",
      +  "Arbitrary action — the developer calls the server API with ActionName in Params.",
      +  null,
      +  "Marketplace (v2) sale — deal settlement on the seller side. Server-only source. Filter Params: CatalogID / ItemID / OfferType.",
      +  "Marketplace (v2) purchase — deal settlement on the buyer side. Server-only source. Filter Params: CatalogID / ItemID / OfferType.",
      +  "In-game currency spend — any scenario where a resource operation actually consumed currency. Server-only source. The multiplier equals the amount spent. Filter Params: CurrencyID.",
      +  "Opening a lootbox/chest. Server-only source. The multiplier equals how many boxes were opened in the call. Filter Params: LootboxID.",
      +  "Real-money store purchase (IAP). Server-only source: fired in PurchaseV2 AFTER the receipt is verified and rewards are granted. The multiplier equals the number of product units granted. Filter Params: ProductID, Store. Deliberately separate from StorePurchase, which covers in-game currency spending.",
      +  "Crypto deposit credited to the in-game balance. Multiplier is 1 (one operation). Filter Params: CurrencyID, NetworkID.",
      +  "Crypto withdrawal CONFIRMED on chain. Multiplier is 1 (one operation). Filter Params: CurrencyID, NetworkID.",
      +  "Spending crypto currency in-game. The multiplier equals the amount spent. Filter Params: CurrencyID.",
      +  "In-game currency GRANT — mirror of CurrencySpent. The multiplier equals the amount granted, so ScaleWithRollMultiplier picks the meaning: \"earn N currency\" or \"receive currency N times\". Filter Params: CurrencyID and Origin (\"Gameplay\" | \"RewardClaim\"), the latter separating gameplay earnings from reward payouts — without it a goal like \"earn N\" would be closed by another quest's reward.",
      +  "CRYPTO currency GRANT in-game (wallet deposits are NOT included — that is CryptoDeposit). The multiplier equals the amount granted. Filter Params: CurrencyID, Origin.",
      +  "Leaderboard ScoreSources only: the board accepts the NUMBER the game submits itself (SubmitScore / SubmitScoresBatch). Not an event — it grants nothing and matches nothing, it only allows. Without it the board refuses a score from the game: an empty ScoreSources list means the board is not set up. Caps live in Limits: PerActivationCap = max score of ONE submission, DailyCap / DailyWeightCap = submissions / total score per UTC day, CooldownSeconds, MaxPerWindow + WindowSeconds, TotalCap = submissions for all time. A submission over a cap is refused, not trimmed. BaseWeight is not read. Set caps the game can really reach: the client is not trusted, they are the only limit on a forged score.",
      +  "The player joined a clan (Clan section): by themselves, by application or by invitation. Params: KindID, ClanID. Use for a tutorial step 'join a clan', quests, event tokens.",
      +  "The player helped the clan: donated to a request (Params.Kind = Request, weight = units) or helped a timer (Params.Kind = Help, weight = 1). Params: KindID, Kind, RequestKindID, ResourceID. Filter by Params.Kind.",
      +  "The player claimed a clan gift. Params: KindID, GiftID.",
      +  "The player upgraded an item (Item upgrade, batch included). Weight = levels gained. Params: ItemID, CatalogID, Level (the new level). Server-side only.",
      +  "The player took revenge for a clanmate on the board (clan Revenge): an attack or raid on the offender of a taken revenge. Params: KindID, ClanID, Action (Attack / Raid). Server-side only."
      +]
    • changedInput schema / definitions / EventTokenSourceType / x-enumNames
      Previous value: -[
      -  "BoardTileLanding",
      -  "BoardPassStart",
      -  "BoardAttack",
      -  "BoardRaid",
      -  "BoardBuild",
      -  "BoardStageComplete",
      -  "BoardSpecialComplete",
      -  "QuestComplete",
      -  "StorePurchase",
      -  "DailyLogin",
      -  "ReferralInvite",
      -  "MilestoneReward",
      -  "CustomAction",
      -  "LeaderboardRankReward",
      -  "MarketplaceSell",
      -  "MarketplaceBuy",
      -  "CurrencySpent",
      -  "LootboxOpened",
      -  "IapPurchase",
      -  "CryptoDeposit",
      -  "CryptoWithdraw",
      -  "CryptoSpent",
      -  "CurrencyEarned",
      -  "CryptoEarned",
      -  "ClientScore"
      -]New value: +[
      +  "BoardTileLanding",
      +  "BoardPassStart",
      +  "BoardAttack",
      +  "BoardRaid",
      +  "BoardBuild",
      +  "BoardStageComplete",
      +  "BoardSpecialComplete",
      +  "QuestComplete",
      +  "StorePurchase",
      +  "DailyLogin",
      +  "ReferralInvite",
      +  "MilestoneReward",
      +  "CustomAction",
      +  "LeaderboardRankReward",
      +  "MarketplaceSell",
      +  "MarketplaceBuy",
      +  "CurrencySpent",
      +  "LootboxOpened",
      +  "IapPurchase",
      +  "CryptoDeposit",
      +  "CryptoWithdraw",
      +  "CryptoSpent",
      +  "CurrencyEarned",
      +  "CryptoEarned",
      +  "ClientScore",
      +  "ClanJoined",
      +  "ClanDonation",
      +  "ClanGiftClaimed",
      +  "ItemUpgraded",
      +  "ClanRevenge"
      +]
    • 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. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds genuinely useful context beyond them: the write is scoped to one field, so the rest of the title configuration survives. That directly answers the 'what gets destroyed' question the destructive hint raises. It stops short of stating auth requirements, validation behavior, or whether a missing chain is created or rejected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is excellent and front-loaded, but the remaining four sentences are domain exposition about ticket addresses, per-phase points and burn conversion that largely restate the already-verbose schema definitions for ChallengeChainDefinition, EventTokenAddress and EventTokenConversion. Useful for payload construction, redundant as tool-selection signal.

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 two-parameter but deeply nested mutation with no output schema, the partial-save guarantee plus the domain model covers the essentials. Gaps remain around lifecycle: whether this creates or replaces, whether existing chains not present in value are deleted, what errors look like, and no pointer to get_challenge for reading the current state.

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 definitions document Chains, Ticket, BurnConversion, Schedule and ChallengeDefinition in depth, so the schema carries parameter meaning. The description never mentions title_id or the shape of value, but with this coverage the baseline 3 is appropriate rather than a penalty.

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 opening sentence gives a specific verb and target: it writes ONLY the 'Challenge' field of TitlePublicConfigurationModel, leaving all other v1/v2 fields untouched. That scope statement also implicitly separates it from the other save_* siblings, which each own a different config section, so an agent can pick it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance: nothing says to call get_challenge first to read the current chains, nothing says what happens on a first-time save versus an update, and no alternative is named. The 'PARTIAL SAVE' framing hints at the use case but leaves the operational decision to inference.

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.