Skip to main content
Glama

Save Blockchain settings

save_blockchain
Destructive

PARTIAL SAVE: writes ONLY the 'Blockchain' field of TitlePublicConfigurationModel; all other v1/v2 fields stay untouched. On-chain integration config — chain selectors, smart contract addresses, RPC overrides, gas policy, supported networks for Crypto currencies. Built largely from Currency.CryptoCurrencies[].Networks; this is the title-level companion config.

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

Input Schema

NameRequiredDescriptionDefault
valueYesV2 definition of the title's blockchain integration. Contains only public data safe for clients (chain IDs, contracts, feature switches, safety policies). Private data lives in TitlePrivateConfiguration.
title_idYesTitleID, для которого сохраняются данные.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / value / properties / CreditsPaymentsDisabled
      Added value: +{
      +  "description": "Players may NOT pay for platform currency (Credits) with their in-game token balance when true. Default false = allowed: the token is swapped to USDC by the platform pool, only the platform burn applies, withdrawal rules do not.",
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / definitions / PlayerWithdrawalsSwitch
      Added value: +{
      +  "description": "Player withdrawal switch of the title. Read-only for config writes; changed only by the owner's consent action.",
      +  "properties": {
      +    "ChangedAt": {
      +      "description": "When the switch was last changed (UTC).",
      +      "format": "date-time",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "ChangedBy": {
      +      "description": "Publisher user who last changed the switch.",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "ConsentID": {
      +      "description": "ID of the consent journal record of the last change.",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "Enabled": {
      +      "description": "Whether players may withdraw crypto from this title.",
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / value / properties / PlayerWithdrawals
      Added value: +{
      +  "description": "Read-only. Whether players of this title may withdraw crypto out of the game. Absent = off. Only the title owner can switch it, in the dashboard, after accepting the legal responsibility terms; config writes (dashboard, MCP, DEV/PROD transfer) never change it. Works only while the platform also allows player withdrawals.",
      +  "oneOf": [
      +    {
      +      "type": "null"
      +    },
      +    {
      +      "$ref": "#/definitions/PlayerWithdrawalsSwitch"
      +    }
      +  ]
      +}
  3. Changed1 schema field changed
    • addedInput schema / definitions / BlockchainWalletLoginPolicy / properties / ShowOnLoginScreen
      Added value: +{
      +  "description": "Show the 'Sign in with wallet' button on the game's sign-in screen even when the title's login mode is Open. By default the button appears only in a token-gated login mode. Takes effect only together with Enabled.",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A4/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; the description usefully narrows the blast radius to a single config field and explains where the data is derived from. It omits one behaviorally important point for a required full `value` object: whether sub-fields not supplied are cleared (replace) or preserved (merge) within the Blockchain field.

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?

Three sentences with the most decision-relevant constraint (partial save) front-loaded, followed by content and derivation. Some internal-model jargon ("TitlePublicConfigurationModel", "v1/v2 fields") adds noise for an agent that only sees this API.

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?

The schema is extremely rich and carries most of the burden, so the description only needs the top-level framing, which it provides. For a destructive write of a deeply nested object with no output schema, however, it should state the overwrite semantics and whether the current state must be fetched first.

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?

With 100% schema description coverage the schema already documents every parameter and nested definition. The description adds only modest mapping value by identifying `value` as the Blockchain field of TitlePublicConfigurationModel and its relation to Currency.CryptoCurrencies[].Networks; it says nothing about title_id, so the baseline of 3 applies.

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?

States a specific verb and scope: "writes ONLY the 'Blockchain' field of TitlePublicConfigurationModel" and enumerates the content (chain selectors, contract addresses, RPC overrides, gas policy, networks). This distinguishes it immediately from the read sibling get_blockchain and from the other save_* tools that write different config sections.

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?

The 'PARTIAL SAVE ... all other v1/v2 fields stay untouched' sentence effectively tells the agent when this tool is the right choice versus a broader config write, and the closing note frames it as the title-level companion of Currency.CryptoCurrencies[].Networks. It stops short of naming a concrete alternative or stating a prerequisite (e.g. read current config via get_blockchain first).

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.