stop_impersonation
Switch back from a client account to your own default Metadata account.
Writes account
Creates or changes something in the account. Put it behind whatever review your agent uses.
What it does
Switch back from a client account to your own default Metadata account. Reverses `impersonate_account`: subsequent tools operate on the caller's own account again. Safe to call even when not currently impersonating (no-op). Call it when the user is done working in the other account, or before switching to a different one.
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":"stop_impersonation","arguments":{}}}'
Response
No recorded response. This tool writes to the account, so it is never executed to build these docs.
The request above is still the exact shape to send. Nothing on this page is invented.
Related
Other account tools: