Skip to main content
Glama

Who am I

whoami
Read-onlyIdempotent

The account behind the API key: its scopes (read/taker/maker) and, per chain, login (the wallet it signed in with, and where the account is PAID) plus proven (wallets it proved). Over an API key you may GIVE from the login wallet on any chain and from a proven wallet on EVM. To trade on another chain (TRON, Solana, Bitcoin) prove that wallet WITH an authorisation from your login wallet (wallet_proof_message with login, then prove_wallet with authorization): it then pays, refunds and funds like a login wallet. Verify auth, and check what you may give before quoting.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "whoami"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
scopesNo
userIdNo
walletsNoPer chain: login and proven wallets

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "scopes": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "userId": {
      +      "type": "string"
      +    },
      +    "wallets": {
      +      "additionalProperties": {},
      +      "description": "Per chain: login and proven wallets",
      +      "properties": {},
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds real semantic context beyond that — that `login` is where the account is PAID and which wallets you may GIVE from, and how a proven wallet on TRON/Solana/Bitcoin behaves once authorised. It does not disclose rate limits or auth failure behavior, so it is useful but not rich.

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

Conciseness3/5

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

The core answer is front-loaded in the first clause, which is good. However, roughly half the text is a procedural walkthrough of wallet_proof_message and prove_wallet that belongs to those sibling tools and dilutes this zero-param introspection call, and the ALL-CAPS emphasis (PAID, GIVE, WITH) plus backticked field names make it denser than needed.

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 inputs and an output schema present, the description need not enumerate return fields, and it instead supplies the data model that the schema cannot: what login vs proven mean, which chains allow giving from proven wallets, and what happens after proving. The one gap is that it never states failure/auth-error conditions an agent might hit on an invalid key.

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?

The tool takes zero parameters, so there is no parameter meaning to add; the description correctly spends no words on inputs. Baseline of 4 applies for a no-param tool.

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 resource and the exact payload: 'The account behind the API key: its scopes (read/taker/maker) and, per chain, `login` ... plus `proven`.' An agent immediately knows this is the identity/introspection call and can distinguish it from sibling listing tools like list_assets or list_swaps.

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 an explicit call-to-action with timing: 'Verify auth, and check what you may give before quoting,' which anchors it as a pre-flight check. It also routes cross-chain trading to the wallet_proof_message → prove_wallet sequence, though it never states a when-not-to-use condition or names whoami as the alternative to any specific sibling.

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.