# save_data_collections

PARTIAL SAVE: writes ONLY the 'DataCollections' field of TitlePublicConfigurationModel; all other v1/v2 fields stay untouched. Data collections - the creator's own data structures, a Firebase/Supabase-like store inside the platform for games, apps and sites. USE A READY PLATFORM MODULE FIRST (currencies, items, store, lootboxes, quests, leaderboards, chat, social, workshop, match, season, tutorial, localization, push, analytics); declare a collection only for what no module provides (guilds, auctions, orders, catalogs, articles, saved levels, feeds, mail) or for extra data attached to module entities. NEVER store currencies or items inside a record: reference them with a Ref field (Kind Item/Currency/User/…) and move value with Economy (Cost/Grant in engine resource format, charged in the same transaction as the write). Collections maps a collection id (letters, digits, '_', '-', ':' up to 64; a front-end module prefixes its namespace, e.g. 'guild-system:guilds') to: Kind (UserOwned: each record belongs to one user; Shared: records used by many users; Temporary: short-lived, mandatory TTL up to 30 days; Log: append-only, read by time); Mode (Strict = only declared fields); Fields (String, Text = searchable by words, Int, Number, Bool, Date, Json, Array with ItemType, Ref with Ref.Kind, File) with Required/Default (JSON literal)/Min/Max/MaxLength/MaxItems/Enum/Unique/Indexed/Visibility (Everyone/Owner/Server)/ClientWritable=false for server-only fields/Immutable; SortKeys (id + 1..4 components, each a scalar field or createdAt/updatedAt, optionally Descending) - every ordered query uses one, and equality filters on its leading components narrow the range; Access with Read/Create/Update/Delete lists of rules OR-ed together (Anyone - Read only, Authenticated, Owner, Members with MembersField = an Array of Ref(User), Role with a role id from Roles, Server); Limits (MaxItemBytes, MaxItemsPerOwner, TtlSeconds); OnOwnerDeleted (Delete/Anonymize/Keep); Counters (Count or Sum, optional GroupBy - maintained atomically, not allowed for expiring records); Integrations (QuestMetricOnCreate/Update/Delete advance quest objectives with Source ServerApi, AnalyticsEventOn*, TriggerOn* run a CloudCode handler asynchronously); Moderation.BlockedTerms; WriteGate (SegmentGate); PublicViews (published to the CDN for anonymous/site reads: SortKey, optional PartitionField, PageSize, MaxItems, PublishItems) and AnonymousSearch. Queries from a game may filter ONLY by Indexed fields and sort ONLY by declared SortKeys - there are no table scans on the shared cluster. Roles lists title user roles; they are assigned only by CloudCode (server.SetUserRoles) and the dashboard. The count of collections, searchable fields, sort keys, record size and storage are capped by the plan. Records themselves are NOT here - they live in the engine's DataCollection* collections; CloudCode reads and writes them with server.GetDataItem/QueryDataItems/CreateDataItem/UpdateDataItem/DeleteDataItem/BatchDataItems/GetDataCounter.

Agent View of the PolicyLayer registry record for `save_data_collections`. HTML page: https://policylayer.com/tools/com-idosgames-platform/save-data-collections

## Facts

- Tool: `save_data_collections`
- Server: iDos Games (`https://site.idosgames.com/api/v2/mcp`) — https://policylayer.com/tools/com-idosgames-platform.md
- Homepage: https://github.com/iDos-Games/idosgames-mcp
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server CORS policy: *
- Server rate-limited: no
- Parameters: 2 (2 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `value` | object | yes | Title data collections: a Firebase/Supabase-like store inside the platform. The creator declares structures (collections) with typed fields, searchable fields, |
| `title_id` | string | yes | TitleID, для которого сохраняются данные. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "save_data_collections",
    "arguments": {
      "value": {},
      "title_id": "<title_id>"
    }
  }
}
```

## Why save_data_collections is rated Medium

An AI agent can call save_data_collections faster than any human can review: one bad instruction and it creates or modifies resources in iDos Games by the hundred, each call as confident as the last.

## Use case

AI agents use save_data_collections to create or update resources in iDos Games, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your iDos Games environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches iDos Games:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "save_data_collections": {
      "limits": [
        {
          "counter": "save_data_collections_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on iDos Games (158)

- `delete_kanban_card` — Destructive — https://policylayer.com/tools/com-idosgames-platform/delete-kanban-card.md
- `delete_kanban_column` — Destructive — https://policylayer.com/tools/com-idosgames-platform/delete-kanban-column.md
- `delete_kanban_project` — Destructive — https://policylayer.com/tools/com-idosgames-platform/delete-kanban-project.md
- `get_push` — Destructive — https://policylayer.com/tools/com-idosgames-platform/get-push.md
- `get_usage` — Destructive — https://policylayer.com/tools/com-idosgames-platform/get-usage.md
- `save_push` — Destructive — https://policylayer.com/tools/com-idosgames-platform/save-push.md
- `save_usage` — Destructive — https://policylayer.com/tools/com-idosgames-platform/save-usage.md
- `begin_build_upload` — Execute — https://policylayer.com/tools/com-idosgames-platform/begin-build-upload.md
- `finish_build_upload` — Execute — https://policylayer.com/tools/com-idosgames-platform/finish-build-upload.md
- `draft_social_reply` — Read — https://policylayer.com/tools/com-idosgames-platform/draft-social-reply.md
- `estimate_media_cost` — Read — https://policylayer.com/tools/com-idosgames-platform/estimate-media-cost.md
- `get_advertising` — Read — https://policylayer.com/tools/com-idosgames-platform/get-advertising.md
- `get_ai` — Read — https://policylayer.com/tools/com-idosgames-platform/get-ai.md
- `get_analytics` — Read — https://policylayer.com/tools/com-idosgames-platform/get-analytics.md
- `get_asset_bundle` — Read — https://policylayer.com/tools/com-idosgames-platform/get-asset-bundle.md
- `get_attribution` — Read — https://policylayer.com/tools/com-idosgames-platform/get-attribution.md
- `get_authentication` — Read — https://policylayer.com/tools/com-idosgames-platform/get-authentication.md
- `get_ban` — Read — https://policylayer.com/tools/com-idosgames-platform/get-ban.md
- `get_blockchain` — Read — https://policylayer.com/tools/com-idosgames-platform/get-blockchain.md
- `get_build` — Read — https://policylayer.com/tools/com-idosgames-platform/get-build.md
- `get_character` — Read — https://policylayer.com/tools/com-idosgames-platform/get-character.md
- `get_chat` — Read — https://policylayer.com/tools/com-idosgames-platform/get-chat.md
- `get_cloud_code` — Read — https://policylayer.com/tools/com-idosgames-platform/get-cloud-code.md
- `get_collection` — Read — https://policylayer.com/tools/com-idosgames-platform/get-collection.md
- `get_community_marketing` — Read — https://policylayer.com/tools/com-idosgames-platform/get-community-marketing.md
- `get_coop_event` — Read — https://policylayer.com/tools/com-idosgames-platform/get-coop-event.md
- `get_craft` — Read — https://policylayer.com/tools/com-idosgames-platform/get-craft.md
- `get_currency` — Read — https://policylayer.com/tools/com-idosgames-platform/get-currency.md
- `get_data_collections` — Read — https://policylayer.com/tools/com-idosgames-platform/get-data-collections.md
- `get_deal_offer` — Read — https://policylayer.com/tools/com-idosgames-platform/get-deal-offer.md
- …and 128 more: https://policylayer.com/tools/com-idosgames-platform.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-idosgames-platform · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-idosgames-platform
