get_me_donations

Read-only

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.

json
{
  "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.

json
{
  "donations": [
    {
      "amount": 1,
      "createdAt": 1,
      "currency": "string",
      "id": "11111111-1111-4111-8111-111111111111",
      "status": "string",
      "recurringInterval": "string",
      "recurringStatus": "string"
    }
  ]
}

Fields

FieldTypeDescription
donationsarray of object
donations[].amountintegerCENTS.
donations[].createdAtintegerEpoch MILLISECONDS, straight off the DAL entity — not an ISO string.
donations[].currencystring
donations[].idstring (uuid)
donations[].recurringIntervalstring | null
donations[].recurringStatusstring | null
donations[].statusstringDAL 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.

json
{
  "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
  }
}