Show connection and rate limit
whoamiShow who you are connected as and your remaining request budget.
Call this before a long task to check how many requests are left,
or to learn how to get a larger budget. Every HTTP request to the
MCP server counts against the budget, including this call; once
nothing is left, requests (this one too) are rejected with HTTP 429
until the window frees up. Returns:
- ``authenticated``: whether the connection is signed in.
- ``user``: ``username`` and ``profile_complete``, or null.
- ``auth_method``: ``oauth``, ``api_token``, ``legacy_token`` or
``session``; null when anonymous.
- ``rate_limit``: ``tier`` (``anonymous``, ``registered``,
``enriched`` or ``custom``), ``bucket`` (``shared`` when all
anonymous users of this connector share one budget, ``ip`` or
``user``), ``limit`` per ``window_seconds``, ``used``,
``remaining``, and ``retry_after_seconds`` once nothing is left.
Signed-in users share one budget between MCP and the REST API.
- ``upgrade``: how to get a larger budget (``action``, ``url``,
``limit``, ``message``), or null. Pass the ``message`` and
``url`` on to the user when the budget is too small for the task.
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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||