Skip to main content
Glama

Save Clan settings

save_clan
Destructive

PARTIAL SAVE: writes ONLY the 'Clan' field of TitlePublicConfigurationModel; all other v1/v2 fields stay untouched. Clan - clans of the game for any genre: 4X alliances, midcore clans, casual teams. IsEnabled (empty = on) and Kinds: a map KindID -> kind; usually ONE kind with id 'clan' (then clients never pass KindID); a second kind (guild + club) is just another key. Each kind: Identity {NounKey - localization key of the word the player sees: Clan/Alliance/Guild/Team, DisplayName fallback, Icon}; Create {Gate (SegmentGate who may create), Price (PriceOption map: what creating costs, several payment options), NameMin/MaxLength (3/20), TagRequired, TagMin/MaxLength (2/5), DescriptionMaxLength/AnnouncementMaxLength (300), Emblem {Backgrounds, Symbols, Colors atlas keys}, Languages, Attributes (own clan attributes with allowed Values), RenamePrice, RenameCooldownHours, ReservedNames}; Membership {BaseCapacity (default 30), JoinModes (Open/Request/InviteOnly), DefaultJoinMode, JoinGate, ApplicationHours/InviteHours (72), MaxApplicationsPerPlayer (5)/PerClan (50), JoinCooldownHours (after leaving any clan), RejoinSameClanHours, TenureHoursForRewards (membership age before gifts and level rewards), MaxKicksPerDay (10)}; MemberStats {Power, Trophies: source PlayerLevel / CharacterLevel / CurrencyBalance (Key=CurrencyID) / Reported (the game reports it via CloudCode server.SetClanMemberStat), PowerTopN}; Roles {Roles: RoleID -> {Rank (higher = more power), NameKey, DisplayName, MaxCount, Permissions}, LeaderRoleID, DefaultRoleID, LeaderInactiveDays (leadership passes to the most senior active member)}; empty Roles = built-in leader/coleader/elder/member; built-in permissions: invite, manage_applications, kick, set_role, edit_info, edit_announcement, moderate_chat, create_request; any OTHER permission id is the game's own (e.g. start_rally) checked by the game via MyPermissions or server.HasClanPermission. Counters: CounterID -> {NameKey, Sources (TriggerSource list), Reset Never/Daily/Weekly, DailyCapPerMember} - own clan counters for rankings. Rankings {Metrics: Power, Level, Trophies, Members, counter:{id}; ByLanguage; ByRegion; PageSize}. Hooks: clan event (Created, Joined, Left, Kicked, RoleChanged, LeaderChanged, Updated, Donated, Helped, LevelUp, GiftCreated, Disbanded) -> CloudCode function name, run after the write. Progression {XpSources (TriggerSource list; events of members bring clan XP), DailyXpCapPerMember, Levels (explicit table; index 0 is LEVEL 2, level 1 needs 0 XP; each row RequiredXp, Capacity, RoleCaps, Perks: request_amount_percent, help_cap) or XpCurve/BaseXp/MaxLevel, CapacityPerLevel, LevelRewards (MilestoneDefinition list, RequiredProgress = clan level, every member present at that moment claims)}. Requests: RequestKindID -> {Type 'Resource' (members ask for a resource: Resources whitelist of VirtualCurrency or stackable Item with the asked Amount, Funding Donor (the donor pays) or System (free, like lives; SystemDailyCap per title per day), MaxPerDonor, DailyDonateCap, DonorReward per unit) or 'Help' (one tap help on the game's task key: MaxHelps, DailyHelpCap, DonorReward), Gate, CooldownMinutes, LifetimeHours, MaxOpenPerMember}. Gifts {Gifts: GiftID -> {Triggers (TriggerSource list, e.g. IapPurchase or StorePurchase of a member), Points (clan gift points), Content (ResourceGrant), ContentByLevel}, Levels (MilestoneDefinition list by gift points: gift levels and their rewards), LifetimeHours (72), ShowSender, IncludeSender}. A feature block left empty is off. Crypto and event tokens are never allowed in clan flows. Clan data of the game itself lives in DataCollections with the access rule Mode=Clan (ClanField = Indexed String field with the ClanID).

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

Input Schema

NameRequiredDescriptionDefault
valueYesTitle clans: 4X alliances, midcore clans, casual teams. Core (kinds, creation, membership, roles, counters, rankings) plus pluggable features (Progression, Requests, Gifts) — a feature is on when its block is set. The word the player sees (Clan / Alliance / Guild / Team) comes from Identity.NounKey of the kind.
title_idYesTitleID, для которого сохраняются данные.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is covered. The description adds meaningful context beyond annotations: it discloses that only the Clan field is written while other fields remain untouched, that empty feature blocks are treated as off, and that crypto and event tokens are never allowed in clan flows. It does not mention authentication, rate limits, or whether the existing Clan configuration is fully replaced or merged.

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

Conciseness2/5

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

The operational content is front-loaded in the first sentence, but the description then becomes an extremely long, dense wall of configuration reference material. Much of it duplicates the 100%-covered schema and is not necessary for an agent to invoke the tool correctly, so it is poorly sized and not concise despite being information-rich.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool that writes a deeply nested Clan configuration object, the description is highly complete: it covers the purpose, partial-save behavior, major feature blocks, defaults, and constraints. With no output schema, it does not need to describe return values, and the combination of annotations plus this description gives an agent enough context to understand the scope.

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%, so the schema already documents both parameters and their nested definitions thoroughly. The description offers a readable narrative of the Clan model, but most of it repeats or paraphrases what is already in the schema's nested descriptions; the added meaning beyond structured data is modest, such as noting that usually one kind with id 'clan' is used.

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 resource: 'PARTIAL SAVE: writes ONLY the 'Clan' field of TitlePublicConfigurationModel; all other v1/v2 fields stay untouched.' This clearly distinguishes the tool's scope from other save_* tools by specifying exactly which configuration field it modifies and that it will not touch unrelated fields.

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

Usage Guidelines3/5

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

The 'PARTIAL SAVE' framing and the explicit note that other fields stay untouched imply the tool should be used only for Clan configuration, which is useful scope guidance. However, there is no explicit when-to-use guidance versus alternatives like get_clan or other save tools, and no prerequisites, exclusions, or confirmation requirements are stated.

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.