get_account_details
Current user and account information.
Read account
Returns data. Calling it changes nothing, so it is safe in an unattended loop.
What it does
Current user and account information. USE FOR: "Which account am I using?", "Who am I logged in as?", "What's my account name/status?", "What channels are enabled?", "What's my subscription/plan?" Returns authenticated user details and associated account information.
Arguments
Takes no arguments.
Request
curl
curl -s -X POST https://mcp-server.metadata.io/mcp \
-H "Authorization: $METADATA_PAT" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2025-11-25" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_account_details","arguments":{}}}'
Response
Real, from the production server, in 1699 ms. Values that identify a customer or disclose money are replaced with typed placeholders; keys, types and nesting are exactly as returned.
recorded response
{
"id": 6,
"firstName": "[firstName redacted]",
"lastName": "[lastName redacted]",
"email": "[email redacted]",
"role": "SUPER_USER",
"roleId": "sys_super_user",
"status": "ACTIVE",
"saml": false,
"accountId": "[number redacted]",
"userId": 6,
"domain": "[domain redacted]",
"phoneNumber": "[phoneNumber redacted]",
"jobTitle": null,
"country": null,
"uiPreference": "CLASSIC",
"experiencePromptDismissed": false,
"accountName": "[accountName redacted]",
"landingSubdomain": "metadataone",
"impersonate": null,
"accountStatus": "ACTIVE",
"impersonatedAccountStatus": null,
"currency": "USD",
"renewalDate": "2026-02-27T22:32:37.000Z",
"subscriptionChangeStatus": {
"hasScheduledDowngrade": false,
"hasScheduledCancellation": false
},
"isSocial": true,
"auth0UserId": "[auth0UserId redacted]",
"subscriptionComponents": [
"audiences",
"bid-agent",
"campaigns",
"insights",
"mcp-server"
],
"accountType": "DEMAND_HUB",
"hasPaymentCCSetup": true,
"referralCode": "[referralCode redacted]",
"subscriptionCustomerId": "[number redacted]",
"referralUrl": "[referralUrl redacted]"
}
Related
Other account tools: