MCPMCP Tools/Clients/get_client_credits

get_client_credits

Readclient-credits:read

Read one client's credits as shown in Clients: given, used, remaining, last addition, and the latest 50 credit-history entries. Read-only. Returns credits and names, without internal usage quantities, provider costs or credit configuration. Requires an identified agency user with Clients page access and access to this client.

Parameters
clientIdstringrequired
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_client_credits",
    "arguments": {
      "clientId": "string"
    }
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.