Account and balance
get_accountReturns the organisation's credit balance by source, plan, per-action prices and rate limit, and for an agent key its monthly budget and per-order cap. Use it before quoting a large order, or when a spend is refused, to see what remains. Free; it needs a token with account:read. Top-ups happen on mydatahub.emailmovers.com, never inside a tool. Lawful basis is UK GDPR Article 6(1)(f) legitimate interests; email audiences include corporate subscribers only by default (PECR), so sole traders and ordinary partnerships are left out unless the toggle is changed.
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": "get_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The calling key and, for an agent key, its budget; null for a person. | |
| demo | Yes | A demo organisation: everything runs in test mode, nothing is charged, order records are invented, and it stops working at expires_at. null for a real account. | |
| mode | Yes | live keys (mdh_live_) spend real credits; test keys (mdh_test_) return synthetic data and never charge. | |
| plan | Yes | ||
| user | Yes | The signed-in person; null when the caller is an API key. | |
| prices | Yes | What each action costs in credits. | |
| balance | Yes | Credits by source. | |
| agreements | Yes | The Terms of Sale (accepted at sign-up; accepted: null for an organisation Emailmovers set up), the Data Licence and Sharing Agreement (the licence: accepted with every order, or with an agent key that orders on its own) and the Article 28 DPA (accepted with the first suppression list). | |
| rate_limit | Yes | ||
| organisation | Yes | ||
| gbp_per_credit | Yes | Your plan's price per credit, plus VAT (VAT is not included in this figure). | |
| account_manager | Yes | The named person behind Talk to us. |