MadgicxMCP Docs

Identity

Tool for retrieving user identity, team info, and Google Ads token status.

whoiam

The whoiam tool retrieves information about the currently authenticated user, their connected Madgicx team, and the status of the team's Google Ads refresh token.

Different from the Facebook whoiam

Each MCP server has its own whoiam tool. The Google Ads version reports your Google Ads token status; the Facebook version reports your Facebook token status. If both connectors are active in your client, the assistant will pick the right one based on context.

Overview

Use Cases

Verify Connection

Confirm your MCP client is properly connected to the Google Ads MCP server

Check Team Context

See which Madgicx team you're operating against

Verify a Google Ads refresh token is connected for the active team — without one, all other tools will fail

Response

The tool returns a single human-readable message containing:

PropTypeDefault
user
string
-
team
string
-
permissions
number
-
google_token
string
-

Example Response

Hi there, alice@example.com (ID: user_123abc). Your current team is Acme Marketing
(ID: team_456def, Test mode: False). You have 27 permissions. Google Ads token: ya29...QwEr

Usage Examples

What Madgicx team am I connected to?
Is my Google Ads token connected?
Show me my user information

Error Handling

On this page