Skip to main content
Glama

get_wallet_info

Read-only

Retrieve a summary of a managed GDEX wallet on a specified chain, including managed address, native balance, token count, and USD total. Requires an active session.

Instructions

Summary of the managed GDEX wallet on one chain: managed address, native balance (approximate, /v1/user), token count and USD total (/v1/portfolio). Needs the session (accountRef); there is no address-only read.

Input Schema

NameRequiredDescriptionDefault
dataNoEncrypted session data, instead of sessionPrivateKey + apiKey
chainYesChain identifier
apiKeyNoGDEX API key (with sessionPrivateKey)
accountRefNoConnected account from gdex_connect. Supplies session key, wallet address, API key and session data so no secret is passed in chat
walletAddressNoControl wallet address (the GDEX userId), not the managed trading wallet
sessionPrivateKeyNoSession private key from sign-in (with apiKey)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv5.1.0
    • addedInput schema / properties / accountRef
      Added value: +{
      +  "description": "Connected account from gdex_connect. Supplies session key, wallet address, API key and session data so no secret is passed in chat",
      +  "type": "string"
      +}
    • addedInput schema / properties / apiKey
      Added value: +{
      +  "description": "GDEX API key (with sessionPrivateKey)",
      +  "type": "string"
      +}
    • addedInput schema / properties / data
      Added value: +{
      +  "description": "Encrypted session data, instead of sessionPrivateKey + apiKey",
      +  "type": "string"
      +}
    • addedInput schema / properties / sessionPrivateKey
      Added value: +{
      +  "description": "Session private key from sign-in (with apiKey)",
      +  "type": "string"
      +}
    • changedInput schema / properties / walletAddress / description
      Previous value: -"Wallet address"New value: +"Control wallet address (the GDEX userId), not the managed trading wallet"
    • changedInput schema / required
      Previous value: -[
      -  "walletAddress",
      -  "chain"
      -]New value: +[
      +  "chain"
      +]
  2. First observedv4.11.3

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint and openWorldHint, but the description adds substantive behavior: the native balance is approximate, the data is sourced from two distinct endpoints (/v1/user and /v1/portfolio), and a session is mandatory. The one unexplained behavior is why a session is required for a read-only summary, but overall this is well beyond what annotations convey.

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?

A single dense sentence with the returned fields front-loaded, followed by the session requirement and the address-only exclusion. Every clause carries information; nothing is repeated or padded.

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?

With no output schema, the description does the work of naming the return fields (address, approximate native balance, token count, USD total), which is exactly what an agent needs. It covers the mandatory session requirement and the key limitation; a brief note on staleness or refresh behavior would make it complete.

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 baseline is 3. The description's note that accountRef carries the session and that walletAddress alone cannot be used does add a bit of semantic value, but it doesn't explain the chain parameter or the data/apiKey/sessionPrivateKey alternatives beyond what the schema already states.

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?

It names the specific resource — a summary of the managed GDEX wallet on one chain — and enumerates exactly what is returned (managed address, native balance, token count, USD total), which tells an agent what it gets without opening the schema. It does not explicitly differentiate itself from siblings like get_balances, get_portfolio or get_trading_funds, so it falls short of a 5.

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?

It provides one real usage constraint — a session/accountRef is required and there is no address-only read — which is genuinely useful gating information. However, it never says when to prefer this over get_balances, get_portfolio or get_account_state, so the agent must infer the choice among overlapping read tools.

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

Deploy Server

Other Tools