Skip to main content
Glama

Save Item settings

save_item
Destructive

PARTIAL SAVE: writes ONLY the 'Item' field of TitlePublicConfigurationModel; all other v1/v2 fields stay untouched. Item catalogue — every consumable, equipment piece, resource, gear or generic inventory entity the player can own. Defines item IDs, names, categories, stack rules, rarities. Referenced by Store SKUs (as contents), Lootbox loot tables, Quest rewards, Craft recipes, and Reward payouts. For premium-tier bundles use Premium; for character entities use Character.

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

Input Schema

NameRequiredDescriptionDefault
valueYesRoot container for all item catalogs of a title. Source of truth for every ItemID used in the game.
title_idYesTitleID, для которого сохраняются данные.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +]
  2. Changed6 schema fields changed
    • addedInput schema / definitions / ItemSetBonusMode
      Added value: +{
      +  "description": "",
      +  "enum": [
      +    "Cumulative",
      +    "HighestOnly"
      +  ],
      +  "type": "string",
      +  "x-enumNames": [
      +    "Cumulative",
      +    "HighestOnly"
      +  ]
      +}
    • addedInput schema / definitions / ItemSetBonusTier
      Added value: +{
      +  "description": "Set tier. Bonuses of the same kind as ItemStats and merged into the same calculation layers: flat into gear flat, percent into gear percent, Power into explicit item Power. Item levels do not scale set bonuses.",
      +  "properties": {
      +    "FlatBonuses": {
      +      "additionalProperties": {
      +        "format": "double",
      +        "type": "number"
      +      },
      +      "description": "Flat bonuses by StatID, same as ItemStats.FlatBonuses.",
      +      "type": [
      +        "null",
      +        "object"
      +      ]
      +    },
      +    "PercentBonuses": {
      +      "additionalProperties": {
      +        "format": "double",
      +        "type": "number"
      +      },
      +      "description": "Percent bonuses by StatID as a fraction of 1.0, same as ItemStats.PercentBonuses.",
      +      "type": [
      +        "null",
      +        "object"
      +      ]
      +    },
      +    "Pieces": {
      +      "description": "Number of set pieces required. A tier with Pieces <= 0 never applies.",
      +      "format": "int32",
      +      "type": "integer"
      +    },
      +    "Power": {
      +      "description": "Explicit addition to character Power.",
      +      "format": "int32",
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / definitions / ItemSetDefinition
      Added value: +{
      +  "description": "Equipment set. Members are items whose Metadata.CollectionID equals the SetID (the Sets dictionary key); each equipped member counts as one piece.",
      +  "properties": {
      +    "AssetPaths": {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "description": "Set assets keyed by purpose (e.g. \"icon\").",
      +      "type": [
      +        "null",
      +        "object"
      +      ]
      +    },
      +    "BonusMode": {
      +      "description": "Bonus mode for THIS set. Null = the shared SetSettings.BonusMode.",
      +      "oneOf": [
      +        {
      +          "type": "null"
      +        },
      +        {
      +          "$ref": "#/definitions/ItemSetBonusMode"
      +        }
      +      ]
      +    },
      +    "Bonuses": {
      +      "description": "Bonus tiers: 'N pieces equipped grants a bonus'. Order does not matter — tiers are sorted by Pieces.",
      +      "items": {
      +        "$ref": "#/definitions/ItemSetBonusTier"
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "Description": {
      +      "description": "Set description (localization key or literal string).",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "DisplayName": {
      +      "description": "Set display name (localization key or literal string).",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / definitions / ItemSetSettings
      Added value: +{
      +  "description": "Title-wide set settings.",
      +  "properties": {
      +    "BonusMode": {
      +      "description": "How set tiers combine by default. A set may override it with its own BonusMode.",
      +      "oneOf": [
      +        {
      +          "$ref": "#/definitions/ItemSetBonusMode"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / value / properties / SetSettings
      Added value: +{
      +  "description": "Shared set settings (default bonus mode). Null = defaults (Cumulative).",
      +  "oneOf": [
      +    {
      +      "type": "null"
      +    },
      +    {
      +      "$ref": "#/definitions/ItemSetSettings"
      +    }
      +  ]
      +}
    • addedInput schema / properties / value / properties / Sets
      Added value: +{
      +  "additionalProperties": {
      +    "$ref": "#/definitions/ItemSetDefinition"
      +  },
      +  "description": "Equipment sets: a bonus for wearing several items of one set. Key is SetID; an item belongs to the set when its Metadata.CollectionID equals the key. Null/empty = no sets.",
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
  3. 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."
      +]
  4. 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"
      +]
  5. 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"
      +]
  6. First observed

TDQS

A4.1/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 the crucial nuance those hints cannot convey: this is a PARTIAL save scoped to one field, so the destruction is confined to the Item section while other configuration fields survive. What it omits is whether the Item field is replaced wholesale (items absent from the payload being deleted) or merged, which is the main remaining behavioral risk for a destructive write.

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 constraint — PARTIAL SAVE, only the Item field — is front-loaded in the first sentence, and the sibling routing lands at the end. The middle sentence enumerating item types and fields is somewhat padded, but it does orient the agent to the domain being edited, so it mostly earns its place.

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 a two-parameter tool with a very deep nested schema and no output schema, the description supplies the domain model and the partial-save scope, which are the two things the structured fields do not convey. The gap is the replace-vs-merge semantics of the Item field under a destructive write, which an agent would need in order to avoid unintended data loss.

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 ItemDefinitions tree is documented in exhaustive detail in the schema itself, so parameter documentation is already carried there. The description adds domain framing for what belongs in the value object (catalogues, sets, items) but no field-level meaning, syntax notes, or constraints beyond the schema. Baseline 3 is appropriate.

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 opens with a specific verb and target: it writes only the 'Item' field of TitlePublicConfigurationModel, leaving other v1/v2 fields untouched. It then defines what the Item domain covers (IDs, names, categories, stack rules, rarities) and names the entities it is not responsible for (Premium bundles, Character), so an agent can distinguish it from save_character and the premium-related siblings.

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 explicit context for when this tool is the right one — saving item catalogue data referenced by Store SKUs, Lootboxes, Quests, Craft, and Rewards — and names two alternative destinations (Premium, Character). It does not say whether a read of get_item should precede the save or what happens to items omitted from the payload, so it stops short of full when/when-not guidance.

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.