Skip to main content
Glama

Save Advertising settings

save_advertising
Destructive

PARTIAL SAVE: writes ONLY the 'Advertising' field of TitlePublicConfigurationModel; all other v1/v2 fields stay untouched. Advertising — logical ad Placements (rewarded video, interstitial, banner, app-open), the mediation Providers that serve them (AppLovin MAX, LevelPlay, ...) with per-platform app IDs and ad unit IDs, per-format settings, frequency capping, premium ad-removal perks, GDPR/ATT consent policy, rewarded-video server-side verification (SSV) and the daily revenue import from the provider's Reporting API. Shared secrets (SSV keys, report keys) are NOT stored here — only the NAME of the TitleSecrets entry that holds them.

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

Input Schema

NameRequiredDescriptionDefault
valueYesTitle-level advertising configuration: placements, SDK providers, per-format settings, frequency capping, premium ad reductions, consent and rewarded-video server-side verification.
title_idYesTitleID, для которого сохраняются данные.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • 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. First observed

TDQS

A4.2/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, so the safety profile is covered. The description adds real behavioral context beyond that: the write is scoped to a single document field, and — critically — shared secrets (SSV keys, report keys) are never stored here, only the TitleSecrets entry NAME. What it leaves out is whether the supplied 'value' replaces the entire Advertising block or merges into it, which matters 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.

Conciseness3/5

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

The 'PARTIAL SAVE' constraint is correctly front-loaded and is the most valuable sentence. The second sentence, however, is a ~120-word run-on that re-enumerates what the nested schema descriptions already spell out in detail (placement types, provider names, consent, SSV, Reporting API import), so a meaningful share of the text does not earn its place. The secrets caveat buried at the end would be better placed near the front.

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 save of a deeply nested config object with 100% schema coverage and no output schema, this is close to sufficient: scope, partial-write semantics, and secret-by-reference are all covered. The remaining gap is replace-vs-merge behavior on the Advertising block and any concurrency/versioning requirement, which an agent would want before issuing a destructive write.

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 coverage is 100%, so the schema already documents every nested field; baseline would be 3. The description earns above baseline by explaining the one semantic trap the schema cannot: the several SecretName / SecretNameByProvider fields hold identifiers, not credentials, and the actual keys stay server-side. It also frames 'value' as the whole advertising system (placements, providers, formats, caps, SSV, reporting) rather than a single setting.

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 an unusually precise resource: 'writes ONLY the Advertising field of TitlePublicConfigurationModel'. The 'PARTIAL SAVE' prefix immediately separates it from the other ~30 save_* siblings that each write a different config section, so an agent can pick the right one without opening any schema.

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 scope statement ('all other v1/v2 fields stay untouched') implicitly tells the agent when NOT to use this tool — for anything outside advertising you need the corresponding save_* sibling. It does not name an explicit alternative or say to call get_advertising first to avoid clobbering an untouched block, which keeps it short of a 5.

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.