Skip to main content
Glama
bellsanct
by bellsanct

init_game

Initialize a new dungeon crawler game by creating encrypted save files and setting up required encryption keys for gameplay operations.

Instructions

新しいゲームを初期化します。セーブファイルと暗号化キーを作成します。他の操作の前に必須です。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
save_keyYesセーブデータを暗号化するセーブキー。このキーは覚えておいてください!すべてのゲーム操作で必要になります。

Implementation Reference

  • The 'initializeGame' function handles the "init_game" tool logic, which checks if a game exists in storage and initializes it if not.
    export async function initializeGame(saveKey: string): Promise<string> {
      if (storage.exists()) {
        return `ゲームは既に初期化されています: ${storage.getSaveLocation()}\n別のコマンドでプレイヤーを読み込んでください。`;
      }
    
      await storage.initialize(saveKey);
      return `ゲームを初期化しました!\n保存場所: ${storage.getSaveLocation()}\n\n'create_player'でキャラクターを作成してください。`;
    }
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses that the tool creates save files and encryption keys (a write operation) and is a prerequisite, but doesn't mention permissions needed, error conditions, or what happens if called multiple times. It adds some behavioral context but leaves gaps.

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

Conciseness5/5

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

Two concise sentences with zero waste. The first states the purpose, the second provides crucial usage context. Every word earns its place in this well-structured description.

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?

For a tool with 1 parameter (100% schema coverage) and no annotations or output schema, the description is adequate but minimal. It covers purpose and prerequisites but lacks details about what 'initializing a game' entails or what the tool returns. Given the simplicity, it's complete enough but not rich.

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 the single parameter thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema, maintaining the baseline score of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: '新しいゲームを初期化します' (initialize a new game) and specifies it creates save files and encryption keys. It distinguishes from siblings by being a prerequisite for other operations, though it doesn't explicitly name alternatives.

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 description provides clear context: '他の操作の前に必須です' (required before other operations). This gives explicit when-to-use guidance, but doesn't specify when NOT to use it or name specific alternatives among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bellsanct/mcp-dungeon-game'

If you have feedback or need assistance with the MCP directory API, please join our Discord server