Legacy
Give to UK registered charities: check charity numbers, price a gift and get a checkout link.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"donate": {
"url": "https://donate.givewithlegacy.com/mcp"
}
}
}Remote-Endpunkte
https://donate.givewithlegacy.com/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (3)
🟢check_charities(charityNumbers)
Look up UK registered charities by charity number and say which can take a gift through Legacy. Gives our name for each number, so you can confirm it is the charity the donor meant.
Eingabe-Schema
{
"type": "object",
"properties": {
"charityNumbers": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9 -]{1,20}$",
"description": "A UK registered charity number, e.g. 220949 (England & Wales) or SC022140 (Scotland)"
}
}
},
"required": [
"charityNumbers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"charities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"charityNumber": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"available",
"not_accepting",
"not_found",
"ambiguous"
]
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"logoUrl": {
"type": [
"string",
"null"
]
}
},
"required": [
"charityNumber",
"status"
],
"additionalProperties": false
}
}
},
"required": [
"charities"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢quote(charities, giftAid, tipPercentage)
What a gift to these charities comes to: what the donor pays, the payment processing fee, each charity’s share and, if asked, the Gift Aid they could claim. The donor chooses Gift Aid and any tip at checkout, so these are assumptions.
Eingabe-Schema
{
"type": "object",
"properties": {
"charities": {
"minItems": 1,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"charityNumber": {
"type": "string",
"pattern": "^[A-Za-z0-9 -]{1,20}$",
"description": "A UK registered charity number, e.g. 220949 (England & Wales) or SC022140 (Scotland)"
},
"amount": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Pounds, e.g. 20 or 12.50"
}
},
"required": [
"charityNumber",
"amount"
]
}
},
"giftAid": {
"default": false,
"description": "Whether to show Gift Aid, which only a UK taxpayer can add",
"type": "boolean"
},
"tipPercentage": {
"default": 0,
"description": "An optional tip to Legacy, taken from the gift",
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"charities"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"donorPays": {
"type": "number"
},
"paymentProcessing": {
"type": "number"
},
"platformTip": {
"type": "number"
},
"giftAid": {
"type": "number"
},
"charitiesReceive": {
"type": "number"
},
"charities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"charityNumber": {
"type": "string"
},
"name": {
"type": "string"
},
"amount": {
"type": "number"
},
"receives": {
"type": "number"
},
"giftAid": {
"type": "number"
}
},
"required": [
"charityNumber",
"name",
"amount",
"receives",
"giftAid"
],
"additionalProperties": false
}
},
"minimumPerCharity": {
"type": "number"
},
"minimumTotal": {
"type": "number"
},
"maximumTotal": {
"type": [
"number",
"null"
]
}
},
"required": [
"donorPays",
"paymentProcessing",
"platformTip",
"giftAid",
"charitiesReceive",
"charities",
"minimumPerCharity",
"minimumTotal",
"maximumTotal"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢create_checkout_link(charities)
A link to Legacy’s checkout with these charities, and the amounts when given. The donor opens it to give their details, answer Gift Aid, choose an optional tip and pay by card; the amounts stay theirs to change.
Eingabe-Schema
{
"type": "object",
"properties": {
"charities": {
"minItems": 1,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"charityNumber": {
"type": "string",
"pattern": "^[A-Za-z0-9 -]{1,20}$",
"description": "A UK registered charity number, e.g. 220949 (England & Wales) or SC022140 (Scotland)"
},
"amount": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Pounds, e.g. 20 or 12.50"
}
},
"required": [
"charityNumber"
]
}
}
},
"required": [
"charities"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"charities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"charityNumber": {
"type": "string"
},
"name": {
"type": "string"
},
"amount": {
"type": [
"number",
"null"
]
}
},
"required": [
"charityNumber",
"name",
"amount"
],
"additionalProperties": false
}
}
},
"required": [
"url",
"charities"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}Community
Nachweis