SendBridge MCP
Open the app

Account and credits

get_credit_usage

Get credit usage. Credits spent per tool in the last days, and the latest movements.

Read-only Free no scope needed

What it does

The breakdown from the Credits page of the app. It answers "what used my credits?" by tool, and lists the latest charges and top-ups so you can see what happened to the balance and when.

Usage from everywhere counts: the app, the REST API, monitors running in the background, and your assistant.

When to use it

  • The balance is lower than you expected.
  • You want to know what monitors cost you per month.
  • Deciding whether a bigger plan would pay off.

Try asking

  • What did I spend credits on this month?
  • How many credits do my blacklist monitors use?
  • Show the last ten changes of my credit balance.

Parameters

NameTypeRequiredDescription
daysintegeroptionalPeriod for the per-action totals (default 30).
recentintegeroptionalHow many latest balance movements to list (default 10, 0 for none).

Result

Fields of data. Every result also has a meta object with mode, credits_charged, credits_remaining and request_id.

NameTypeDescription
daysinteger
total_creditsnumberCredits spent in the period.
by_actionobject[]
by_action[].actionstring
by_action[].namestring
by_action[].unitsintegerHow many times the action ran.
by_action[].creditsnumber
by_action[].share_pctnumberShare of the spend in the period.
recentobject[]
recent[].atstring | nullUTC, ISO 8601.
recent[].namestring
recent[].directionstringdebit = spent, credit = added.
recent[].unitsinteger
recent[].creditsnumber
recent[].balance_afternumber

Example

Call

What the assistant sends. Your MCP client adds the protocol envelope and headers itself.

tools/call
{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "get_credit_usage",
        "arguments": {
            "days": 30,
            "recent": 3
        }
    }
}

Result

The tool result carries this object as structuredContent and, for clients that read text, the same JSON as a text block.

structuredContent
{
    "data": {
        "days": 30,
        "total_credits": 1482,
        "by_action": [
            {
                "action": "email_validation",
                "name": "Email Validation",
                "units": 1250,
                "credits": 1250,
                "share_pct": 84.3
            },
            {
                "action": "mail_tester",
                "name": "Mail Tester / Spam Score Test",
                "units": 1,
                "credits": 200,
                "share_pct": 13.5
            },
            {
                "action": "blacklist_check",
                "name": "Blacklist Monitor Check",
                "units": 30,
                "credits": 30,
                "share_pct": 2.0
            },
            {
                "action": "dmarc_report",
                "name": "DMARC Report Processing",
                "units": 2,
                "credits": 2,
                "share_pct": 0.1
            }
        ],
        "recent": [
            {
                "at": "2026-12-05T00:24:23Z",
                "name": "Email Validation",
                "direction": "debit",
                "units": 250,
                "credits": 250,
                "balance_after": 4820
            },
            {
                "at": "2026-12-04T01:24:23Z",
                "name": "Mail Tester / Spam Score Test",
                "direction": "debit",
                "units": 1,
                "credits": 200,
                "balance_after": 5070
            },
            {
                "at": "2026-12-03T01:24:23Z",
                "name": "Credit pack",
                "direction": "credit",
                "units": 1,
                "credits": 500,
                "balance_after": 5270
            }
        ]
    },
    "meta": {
        "request_id": "req_9f2c11ab22cd33ef44aa55bb66cc",
        "mode": "live",
        "credits_charged": 0,
        "credits_remaining": 4820
    }
}

Errors

rate_limitedToo many tool calls in a minute, or a daily fair-use limit was reached.

What the assistant is told

This is the description your assistant reads when it decides whether to use the tool:

Shows where the credits of the account went: for the last days (default 30, up to 365) the units and credits spent per action (email validation, mail tests, blacklist checks, DMARC) with each one's share, and the most recent movements of the balance (charges, monthly credits, purchases) with the balance after each. Free. Includes usage from the SendBridge app and the REST API, not only from this connection.

Documentation