GovDelivery MCP by usefulapi

v1.6.1
io.usefulapi/govdelivery Checked 4 days ago Published 2 days ago

Read topics, subscribers and bulletins; set subscriber topics and send bulletins in GovDelivery.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

govdelivery_list_topics List topics

List the topics of the GovDelivery account (their codes and names). Topic codes are needed for subscriptions and bulletins. Read-only. GovDelivery REST: GET /api/account/{account}/topics.

govdelivery_get_subscriber Get subscriber

Read one subscriber by email address: their topic subscriptions and record fields, as GovDelivery returns them (XML). Read-only. GovDelivery REST: GET /api/account/{account}/subscribers/{base64 email}.xml.

ParameterTypeDescription
email *stringThe subscriber's email address, e.g. person@example.org.

govdelivery_get_bulletin Get bulletin

Read one bulletin by id: subject, state (draft or sent), topics and total subscribers, as GovDelivery returns them (XML). Read-only. Bulletin ids come from the bulletin you created or from GovDelivery. GovDelivery REST: GET /api/account/{account}/bulletins/{id}.xml.

ParameterTypeDescription
bulletin_id *stringThe bulletin id, e.g. the id of a draft from govdelivery_create_bulletin_draft or of a bulletin in GovDelivery.

govdelivery_set_subscriber_topics Set subscriber topics

WRITE: adds ONE subscriber to topics, or REPLACES that subscriber's topic subscriptions with exactly the codes given (GovDelivery 'replace or create'), so topics not listed may be removed. Use only for a person who opted in to these topics; never for purchased or scraped lists. Set send_notifications true only when the subscriber should receive a notice. GovDelivery REST: POST /api/account/{account}/subscriptions.xml.

ParameterTypeDescription
email *stringThe subscriber's email address (one person).
topic_codes *arrayTopic codes (from govdelivery_list_topics), 1 to 25.
send_notificationsbooleanEmail the subscriber that their record changed. Default false.

govdelivery_create_bulletin_draft Create bulletin draft

WRITE: creates a DRAFT bulletin for the given topics. Nothing is sent: the draft waits in GovDelivery until govdelivery_send_bulletin sends it. Subject: plain text, max 400 characters; GovDelivery advises against special characters such as ! or quotes because spam filters may flag them (advice only, not enforced). Body: HTML or plain text. Open and click tracking are off. GovDelivery REST: POST /api/account/{account}/bulletins.xml.

ParameterTypeDescription
body *stringThe bulletin body: HTML or plain text (max 200000 characters).
subject *stringThe bulletin subject (max 400 characters).
topic_codes *arrayTopic codes (from govdelivery_list_topics), 1 to 25.

govdelivery_send_bulletin Send bulletin

WRITE: SENDS an existing DRAFT bulletin by email to every subscriber of its topics, now. This cannot be undone. Set confirm_send to true only after the user has approved this exact bulletin in this conversation. A sent bulletin cannot be sent again. GovDelivery REST: POST /api/account/{account}/bulletins/{id}/send_now.

ParameterTypeDescription
bulletin_id *stringThe id of the DRAFT bulletin to send (from govdelivery_create_bulletin_draft).
confirm_send *booleanMust be true. Confirms that this call sends real email to real subscribers now.