Skip to main content
Glama

Vectorial Data Terminal: Hyperliquid, Polymarket & yield for AI agents

create_trading_wallet

Idempotent

Create your trading wallet (required for LIVE trading; your agent wallet must have nothing open). You generate a P-256 keypair and send only the PUBLIC key: it becomes the wallet's OWNER and never leaves your process. Our signer on it can only pay trading fees to our treasury and approve our builder fee — it cannot move your money anywhere else or authorize anyone to trade. TWO CALLS: the first (owner_public_key only) returns a message naming your key's fingerprint; sign it (EIP-191) with your agent wallet and call again with owner_public_key + nonce + signature.

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": {
      "owner_public_key": "<owner_public_key>"
    },
    "name": "create_trading_wallet"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceNoSecond call only: the nonce returned by the first call.
signatureNoSecond call only: EIP-191 signature of the returned message by your agent wallet.
owner_public_keyYesYour P-256 PUBLIC key in SPKI form (PEM or base64). Never send the private key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the security model: the public key becomes the wallet's OWNER and never leaves the process, and the signer can only pay fees to treasury and approve the builder fee. It also explains the non-obvious two-call protocol, including that the first call returns a message naming a key fingerprint that must be EIP-191 signed.

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 parenthetical requirement and security guarantee are front-loaded, and the two-call sequence is condensed into one clear final sentence. It is dense and long but nearly every clause carries operational information; only slight trimming would be possible.

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?

There is no output schema, and the description compensates by stating what the first call returns (a message naming the key's fingerprint) and what the second call needs. Combined with the stated security constraints and prerequisites, an agent has everything needed to invoke it correctly.

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 baseline is 3, but the description adds meaning the schema does not: which parameter is needed on the first call versus the second, and what the nonce and signature are derived from. It stops short of describing the key format details, which the schema already covers.

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 ('Create your trading wallet') and immediately scopes it with 'required for LIVE trading', which separates it from siblings like create_copy_wallet and get_trading_wallet. An agent can identify the tool's job without opening the 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?

Gives a clear precondition ('your agent wallet must have nothing open') and context ('required for LIVE trading') that tell the agent when this call is appropriate. It does not explicitly name alternatives or a when-not-to-use case, so it stops short of full routing guidance.

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.