Skip to main content
Glama

initialize_session

LEGACY wallet flow — new integrations should use create_account and launch_campaign (API key + prepaid balance, no wallet). Creates a new agent session, proving the wallet with a signature from get_session_nonce. Returns a sessionId and paymentRequired. While sessions are free (paymentRequired false), the response also carries the one-time accessToken for create_campaign, and no payment step follows. If paymentRequired is true, send the stated USDC amount to the treasury address on-chain, then call verify_payment with the transaction signature to receive the access token. The wallet you prove here becomes the campaign's creator, and is the only wallet that will be able to read its results from the dashboard.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesExact message string returned by get_session_nonce (must match byte for byte)
signatureYesBase58-encoded Ed25519 signature of the message returned by get_session_nonce
walletAddressYesYour Solana wallet public key (base58)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so well: it discloses signature-based proof-of-wallet, the one-time nature of accessToken, the free-vs-paid branching, the on-chain USDC payment to a treasury followed by verify_payment, and the consequential side effect that the proven wallet becomes the campaign creator and the sole wallet able to read dashboard results.

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

Conciseness4/5

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

The legacy/deprecation warning and the alternative tools are correctly front-loaded, and the payment branch follows logically. It is dense and sentence-heavy, with the ownership consequence tacked onto the end, but no sentence is filler.

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?

With no output schema, the description compensates by naming the return payload (sessionId, paymentRequired, and conditionally accessToken) and the follow-up call required. For a session-bootstrap tool with conditional payment branching, an agent has everything needed to call it and act on the result.

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 description coverage is 100%, so the baseline is 3; the description still adds value by tying 'signature' and 'message' to the get_session_nonce handshake and the wallet-proof semantics, beyond the schema's byte-for-byte and base58 notes. It stops short of documenting failure modes for a mismatched or stale signature.

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 resource ('Creates a new agent session') and immediately scopes it as the 'LEGACY wallet flow', naming create_account and launch_campaign as the modern replacement. An agent can distinguish this from every sibling without opening a schema.

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

Usage Guidelines5/5

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

Explicit when-not guidance ('new integrations should use create_account and launch_campaign') and an explicit conditional branch: if paymentRequired is false, no payment step follows; if true, send USDC then call verify_payment. It also names get_session_nonce as the prerequisite source of the message. Nothing is left to inference.

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.

Resources