Create donor
Adds an individual or an organization as a new donor record.
MCP tool donorperfect_write → create_donor
write Confirm
Adds a record the way Add Individual or Add Organization does on the Search screen. An individual needs a last name, an organization needs its name. It returns the new donor_id. It does not check for duplicates: run search_donors first, and use Duplicate Maintenance under Utilities if one slips in. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| type enum required | enum | individual or organization. |
| last_name string | string | Required for an individual. |
| first_name string | string | First name of an individual. |
| organization string | string | Required for an organization. |
| email string | string | Email address. |
| phone string | string | Phone number. |
| address string | string | Street address. |
| city string | string | City. |
| state string | string | State or province. |
| zip string | string | ZIP or postal code. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "donorperfect_write",
"arguments": {
"operation": "create_donor",
"arguments": {
"type": "individual"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"donor_id": 52004,
"type": "individual",
"name": "Priya Nair",
"status": "created"
},
"isError": false
}