Skip to main content
Glama

Save Ban settings

save_ban
Destructive

PARTIAL SAVE: writes ONLY the 'Ban' field of TitlePublicConfigurationModel; all other v1/v2 fields stay untouched. Ban levels and the level ban gates apply to a player. The publisher defines any number of named levels (e.g. "low"/"medium"/"hard") — each with capability checkboxes (BanCapability: block withdrawals, deposits, leaderboards, trading, PvP, chat, social, coop, referral, push, community marketing, crypto convert, purchases) plus an optional BlockLogin flag that shuts the player out of the game entirely and overrides everything else on that level. DefaultLevelID is the level a manual ban applies when the caller does not pick one. Two built-in ids always work even when not listed here: "hard" (blocks login) and "soft" (synthesized from the legacy Soft section below). Use PLAYER-facing tools (SetPlayerBanStatus) to actually ban a player with a level ID from here — this section only defines what each level MEANS.

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

Input Schema

NameRequiredDescriptionDefault
valueYesNew value for the Ban field.
title_idYesTitleID, для которого сохраняются данные.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / definitions / BanCapability / enum
      Previous value: -[
      -  0,
      -  1,
      -  2,
      -  3,
      -  4,
      -  5,
      -  6,
      -  7,
      -  8,
      -  9,
      -  10,
      -  11,
      -  12
      -]New value: +[
      +  0,
      +  1,
      +  2,
      +  3,
      +  4,
      +  5,
      +  6,
      +  7,
      +  8,
      +  9,
      +  10,
      +  11,
      +  12,
      +  13
      +]
    • changedInput schema / definitions / BanCapability / x-enum-descriptions
      Previous value: -[
      -  "Blocks crypto/NFT withdrawal. Deposits are never blocked by any ban level — funds already committed on-chain must land somewhere.",
      -  "Player stops earning leaderboard scores and is removed from the ranked top.",
      -  "Blocks claiming leaderboard cycle/milestone rewards.",
      -  "Blocks the player-to-player marketplace and trade offers (send/accept).",
      -  "Blocks PvP matches, board attacks/raids and the community chest, and hides the player from other players' opponent/bot pools.",
      -  "Blocks the chat module entirely (read included).",
      -  "Blocks the social/friends module entirely.",
      -  "Blocks cooperative events entirely.",
      -  "Blocks the referral module entirely.",
      -  "Blocks push subscription actions.",
      -  "Blocks Community Marketing entirely (earnings become unreachable).",
      -  "Blocks converting virtual currency to/from crypto.",
      -  "Blocks real-money purchases (Purchase module — Google/Apple IAP)."
      -]New value: +[
      +  "Blocks crypto/NFT withdrawal. Deposits are never blocked by any ban level — funds already committed on-chain must land somewhere.",
      +  "Player stops earning leaderboard scores and is removed from the ranked top.",
      +  "Blocks claiming leaderboard cycle/milestone rewards.",
      +  "Blocks the player-to-player marketplace and trade offers (send/accept).",
      +  "Blocks PvP matches, board attacks/raids and the community chest, and hides the player from other players' opponent/bot pools.",
      +  "Blocks the chat module entirely (read included).",
      +  "Blocks the social/friends module entirely.",
      +  "Blocks cooperative events entirely.",
      +  "Blocks the referral module entirely.",
      +  "Blocks push subscription actions.",
      +  "Blocks Community Marketing entirely (earnings become unreachable).",
      +  "Blocks converting virtual currency to/from crypto.",
      +  "Blocks real-money purchases (Purchase module — Google/Apple IAP).",
      +  "Blocks the Clan module: creating, joining, requests, donations, gifts. Clan XP and counters from this player stop too."
      +]
    • changedInput schema / definitions / BanCapability / x-enumNames
      Previous value: -[
      -  "BlockWithdrawals",
      -  "ExcludeFromLeaderboards",
      -  "BlockLeaderboardRewards",
      -  "BlockTrading",
      -  "BlockPvP",
      -  "BlockChat",
      -  "BlockSocial",
      -  "BlockCoop",
      -  "BlockReferral",
      -  "BlockPush",
      -  "BlockCommunityMarketing",
      -  "BlockCryptoConvert",
      -  "BlockPurchases"
      -]New value: +[
      +  "BlockWithdrawals",
      +  "ExcludeFromLeaderboards",
      +  "BlockLeaderboardRewards",
      +  "BlockTrading",
      +  "BlockPvP",
      +  "BlockChat",
      +  "BlockSocial",
      +  "BlockCoop",
      +  "BlockReferral",
      +  "BlockPush",
      +  "BlockCommunityMarketing",
      +  "BlockCryptoConvert",
      +  "BlockPurchases",
      +  "BlockClan"
      +]
  2. First observed

TDQS

A4.4/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 adds real value on top by specifying that only the Ban field is written while all other v1/v2 fields stay untouched, which is the key risk fact for a partial save. It does not say whether the Levels map is merged or fully replaced, nor what permissions are required, so it stops short of full behavioral disclosure.

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 critical constraint is correctly front-loaded in the first clause, but the body is one dense paragraph that re-enumerates all fourteen BanCapability values in prose, duplicating the schema's x-enum-descriptions. Trimming that list would make the definition materially shorter without losing information.

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 deeply nested value object, the description covers field scope, level semantics, defaults, reserved ids, and the sibling that performs the actual ban. The remaining gaps are merge-vs-replace semantics for Levels and any permission requirements, both minor given the rich schema.

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?

Schema description coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: two built-in level ids always work even when absent from Levels, and "soft" is synthesized from the legacy Soft section. It also explains the publisher-defined nature of levels and the override behavior of BlockLogin beyond the raw field descriptions.

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?

"PARTIAL SAVE: writes ONLY the 'Ban' field of TitlePublicConfigurationModel" gives a specific verb, a specific resource, and a scope boundary that separates it from the other save_* siblings. The closing sentence further separates it from SetPlayerBanStatus by declaring this tool only defines what levels mean, not who is banned.

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

Usage Guidelines5/5

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

It states the exclusion explicitly: use PLAYER-facing tools (SetPlayerBanStatus) to actually ban a player, this section only defines level semantics. It also tells the caller which ids always resolve ("hard", "soft") and how DefaultLevelID is consumed by manual bans and AutoBan rules, so the agent knows when this tool is the right one.

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.