Skip to main content
Glama

init_session

Initialize a game wallet by providing a private key. This wallet signs all on-chain actions including chat, voting, and joining.

Instructions

初始化一个用于游戏的钱包。传入私钥以创建一个钱包,该钱包将签名所有链上操作(聊天、投票、加入等)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
privateKeyYes用于游戏的钱包私钥(十六进制格式,带或不带 0x 前缀)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description takes on the full behavioral burden. It usefully discloses that the wallet will sign all chain operations, but it does not mention whether an existing session is overwritten, how the private key is stored, or any security/side-effect implications.

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?

The description is two short sentences that front-load the primary purpose and then add a consequential behavioral detail. There is no redundant or filler content, and every clause earns its place.

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 simple single-parameter tool with full schema coverage and no output schema, the description adequately covers what the tool does and its key behavioral effect. It omits return-value details and session-overwrite behavior, but these are less critical given the tool's simplicity and the explicit signing side effect.

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 privateKey parameter is already fully documented in the schema. The description only repeats that a private key is passed in, adding no new semantic detail beyond what the schema provides.

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 states a specific action ('initialize') on a specific resource ('wallet for the game') and clarifies that the wallet will sign all on-chain operations, which distinguishes it from sibling tools like check_session_status or create_room. The purpose is unambiguous and non-tautological.

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 word 'initialize' implies this should be called before other on-chain operations, and the mention of signing all operations suggests a session prerequisite. However, it does not explicitly state when to use this tool versus alternatives, nor does it provide exclusions or compare with sibling tools.

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