Retently MCP by usefulapi

v1.2.1
io.usefulapi/retently Checked 3 days ago Published 1 day ago

Read feedback, scores and campaigns; manage customers, suppressions and surveys in Retently.

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

retently_ping Account status

Show the authenticated Retently account: identity, current plan, survey credit balance for the period, and usage counters (contacts, feedback, outbox, queue, suppressions). Good first call to check the key works.

retently_list_customers List customers

List customers (contacts) with paging, sorting, date range and property filters. Use email to find one customer. Pass attributes such as country equal US.

ParameterTypeDescription
attributesarrayCustomer property filters.
emailstringFind the customer with this email address.
endDatestringEnd of the range, same formats as startDate. A bare YYYY-MM-DD means 00:00:00 UTC for this endpoint.
limitintegerItems per page (default 20, maximum 1000).
matchstringHow multiple attribute filters combine (default all).
pageintegerPage number (default 1).
sortstringSort field. Prefix with '-' for descending order.
startDatestringStart of the range: YYYY-MM-DD, an ISO 8601 date-time, or a UNIX timestamp in seconds.

retently_get_customer Get a customer

Get one customer by its Retently customer ID, with its properties and tags.

ParameterTypeDescription
customerId *stringRetently customer ID (from retently_list_customers).

retently_list_companies List companies

List companies with industry, tags, NPS, CSAT or CES metrics and customer counts. Use sort=-companyName for descending names.

ParameterTypeDescription
limitintegerItems per page (default 20, maximum 1000).
pageintegerPage number (default 1).
sortstringSort field. Prefix with '-' for descending order.

retently_get_company Get a company

Get one company by its Retently company ID or by its domain (for example acme.com).

ParameterTypeDescription
companyIdOrDomain *stringCompany ID or domain name.

retently_list_feedback List feedback

List customer survey responses (feedback) with filters by customer email or ID, campaign, date range and customer properties. Each item has the score and comment.

ParameterTypeDescription
attributesarrayCustomer property filters.
campaignIdstringCampaign ID (from retently_list_campaigns).
customerIdstringRetently customer ID.
emailstringCustomer email address.
endDatestringEnd of the range, same formats as startDate. A bare YYYY-MM-DD means 00:00:00 UTC for this endpoint.
limitintegerItems per page (default 20, maximum 1000).
matchstringHow multiple attribute filters combine (default all).
pageintegerPage number (default 1).
sortstringSort field. Prefix with '-' for descending order.
startDatestringStart of the range: YYYY-MM-DD, an ISO 8601 date-time, or a UNIX timestamp in seconds.

retently_get_feedback Get a feedback response

Get one survey response by its feedback ID, with its score, comment, topics and tags.

ParameterTypeDescription
feedbackId *stringFeedback ID (from retently_list_feedback).

retently_list_outbox List sent surveys

List sent surveys (outbox) with delivery status and recipient. Filter by email, campaign, channel (email or in-app), sender type, and date range.

ParameterTypeDescription
campaignIdstringCampaign ID.
channelstringChannel, e.g. email or in-app.
emailstringRecipient email address.
endDatestringEnd of the range, same formats as startDate. A bare YYYY-MM-DD means 00:00:00 UTC for this endpoint.
limitintegerItems per page (default 20, maximum 1000).
pageintegerPage number (default 1).
sentBystringWho sent the survey, e.g. campaign or api.
sortstringSort field. Prefix with '-' for descending order.
startDatestringStart of the range: YYYY-MM-DD, an ISO 8601 date-time, or a UNIX timestamp in seconds.

retently_get_score Get the latest score

Get the latest score, rating distribution and response count for one metric (nps, csat, ces, star, thumbs, xsat or pmf). Each customer's latest response in the period counts, except xsat.

ParameterTypeDescription
metric *string

retently_get_reports Get campaign reports

Get reports for all survey campaigns or one campaign: trend data, delivery stats and rating question stats. startDate and endDate are YYYY-MM-DD in the account timezone.

ParameterTypeDescription
campaignIdstringCampaign ID. Omit for all campaigns.
endDatestringEnd date, YYYY-MM-DD (the whole day is included).
startDatestringStart date, YYYY-MM-DD.

retently_list_trend_groups List trend groups

List trend groups with their metric type, default status and creation date. Use a group ID with retently_get_trends.

retently_list_templates List survey templates

List survey templates with their names, channels and metrics.

retently_get_template Get a survey template

Get one survey template by ID, including all its survey questions.

ParameterTypeDescription
templateId *stringTemplate ID (from retently_list_templates).

retently_list_campaigns List campaigns

List survey campaigns with name, metric type, channel, template and status (active or deactivated).

retently_list_suppressed_emails List suppressed emails

List the email addresses on the suppression list. Suppressed emails never receive surveys.

retently_list_suppressed_domains List suppressed domains

List the domain patterns on the suppression list. Emails matching a pattern never receive surveys.

retently_upsert_customers Create or update customers

Create or update up to 1,000 customers in one call, with names, company, tags and properties. Needs an API key with Write permission. Repeating the same call gives the same result.

ParameterTypeDescription
subscribers *arrayCustomers to create or update.

retently_unsubscribe_customers Unsubscribe customers

Stop future surveys for up to 100 customers, by email address. Needs an API key with Write permission. Repeating the same call gives the same result.

ParameterTypeDescription
emails *arrayCustomer email addresses to unsubscribe.

retently_send_survey Send a transactional survey

Queue a survey through a campaign for up to 100 customers. This emails real people. Confirm the recipients first. Only send to customers who gave permission (no purchased or scraped lists). Needs a Write key.

ParameterTypeDescription
campaign *stringCampaign ID that sends the survey (from retently_list_campaigns).
subscribers *arrayRecipients.
delayintegerSend after this many days from the trigger event. Omit to use the campaign schedule.

retently_add_suppressed_email Suppress an email

Add one email address to the suppression list, so it never receives surveys. Needs a Write key. Repeating the call gives the same result.

ParameterTypeDescription
email *stringEmail address to suppress.
notestringReason, kept for your records.

retently_add_suppressed_domain Suppress a domain

Add a domain pattern to the suppression list, so emails matching it never receive surveys. Wildcards allowed, e.g. *.example.com. Needs a Write key.

ParameterTypeDescription
pattern *stringDomain pattern, e.g. example.com or *.example.com.
notestringReason, kept for your records.