get_me_donations
Calls GET /api/me/donations as the signed-in person · REST reference
The donor's own donation history
Scoped by the proved identity: a donor token (email preferred, else phone) or a platform session (its email). A projection of the DAL Donation, NOT the full entity: the donor block, allocation split, receipt URI and Stripe references are deliberately not on this wire. Unpaginated — every matching donation is returned in one array.
Arguments
This tool takes no arguments.
Example call
A client sends this over the MCP session; Claude and other agents build it for you. The values are placeholders — the shape is real.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_me_donations",
"arguments": {}
}
}Result
On success (HTTP 200) the tool returns one text item holding the API's JSON, pretty-printed.
The donor's donations. An empty array when none match.
{
"donations": [
{
"amount": 1,
"createdAt": 1,
"currency": "string",
"id": "11111111-1111-4111-8111-111111111111",
"status": "string",
"recurringInterval": "string",
"recurringStatus": "string"
}
]
}Fields
| Field | Type | Description |
|---|---|---|
donations | array of object | |
donations[].amount | integer | CENTS. |
donations[].createdAt | integer | Epoch MILLISECONDS, straight off the DAL entity — not an ISO string. |
donations[].currency | string | |
donations[].id | string (uuid) | |
donations[].recurringInterval | string | null | |
donations[].recurringStatus | string | null | |
donations[].status | string | DAL DonationStatus, upper-cased (e.g. PROCESSED). |
When it fails
A failed call returns isError: true with the API's message as text.
What the model is shown
This is the tool exactly as the server lists it in tools/list. The description starts with the REST call it makes.
{
"name": "get_me_donations",
"description": "GET /api/me/donations — Scoped by the proved identity: a donor token (email preferred, else phone) or a platform session (its email). A projection of the DAL Donation, NOT the full entity: the donor block, allocation split, receipt URI and Stripe references are deliberately not on this wire. Unpaginated — every matching donation is returned in one array.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}