MCP tool
whoami
Before spending on the person's behalf: use this when the person asks what this key or connection can spend, or how much is left. Returns the account, the key's name, how much it can spend today and this month without asking, the wallet balance, and free calls left today, and the portfolios this account can see, each with its id.
Price: FreeMCP and A2A
Parameters
This tool takes no parameters.
Ask for it in your MCP client
Your client picks the tool and fills in the parameters from what you ask. These are the arguments it sends:
arguments
{}Call it over A2A
POST to https://api.andru-ai.com/api/a2a/tasks with your key in X-API-Key and A2A-Version: 1.0. See Send a task.
Request body
{
"jsonrpc": "2.0",
"id": "1",
"method": "SendMessage",
"params": {
"message": {
"messageId": "a new UUID",
"role": "ROLE_USER",
"parts": [
{
"data": {
"tool": "whoami",
"args": {}
}
}
]
}
}
}