GreenRope MCP by usefulapi

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

Search contacts, groups and CRM activities; add contacts and activities in GreenRope.

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

greenrope_list_contacts List contacts

Find contacts by id, email, first or last name, or group. Returns the matching contacts and TotalMatchingContacts. Use start_chunk_page and start_chunk_size to page through large results. XML API: GetContactsRequest.

ParameterTypeDescription
contact_idintegerGreenRope numeric id.
emailstringExact email address to match.
firstnamestringFirst name to match.
get_allbooleanAsk for all matching contacts (the API's get_all flag).
group_idintegerGreenRope numeric id.
lastnamestringLast name to match.
start_chunk_pageintegerResult page to start from.
start_chunk_sizeintegerContacts per page, up to 500.

greenrope_search_contacts Search contacts

Search contacts with a text filter, sort order and page number. Returns the matching contacts and TotalMatchingContacts. XML API: SearchContactsRequest.

ParameterTypeDescription
filterstringText to search for in the contacts.
fromstringStarting offset, as the API expects it.
order_bystringField to sort by.
order_directionstringSort direction, as the API expects it (for example ASC or DESC).
pageintegerResult page number.

greenrope_get_contact_groups Get a contact's groups

List the groups that one contact belongs to, matched by contact id, email or name. XML API: GetContactGroupsRequest.

ParameterTypeDescription
contact_idintegerGreenRope numeric id.
emailstringExact email address to match.
firstnamestringFirst name to match.
lastnamestringLast name to match.

greenrope_list_groups List groups

List contact groups, or one group by id or name. XML API: GetGroupsRequest.

ParameterTypeDescription
group_idintegerGreenRope numeric id.
group_namestringExact group name to match.

greenrope_list_user_defined_fields List user-defined fields

List the custom contact fields the account defines, with their types and possible values. XML API: GetUserDefinedFieldsRequest.

ParameterTypeDescription
updated_timestampstringOnly fields changed since this timestamp, as the API expects it.

greenrope_list_crm_activity_types List CRM activity types

List the CRM activity types (labels) that the account can use when it records an activity. XML API: GetCRMActivityTypesRequest.

ParameterTypeDescription
get_allbooleanAsk for all activity types (the API's get_all flag).

greenrope_list_crm_activities List CRM activities

List CRM activities, such as calls, tasks and notes, filtered by contact, group, type or date range. XML API: GetCRMActivitiesRequest.

ParameterTypeDescription
activitystringActivity type label to match.
activity_idintegerGreenRope numeric id.
chunk_sizeintegerActivities per page, up to 500.
contact_idintegerGreenRope numeric id.
done_date_endstringLatest done date, as the API expects it.
done_date_startstringEarliest done date, as the API expects it.
due_date_endstringLatest due date, as the API expects it.
due_date_startstringEarliest due date, as the API expects it.
get_allbooleanAsk for all matching activities (the API's get_all flag).
group_idintegerGreenRope numeric id.
pageintegerResult page number.

greenrope_add_contacts Add contacts

Create one or more contacts (up to 50 per call), each identified by its email address. This writes to the GreenRope contact list. XML API: AddContactsRequest.

ParameterTypeDescription
contacts *arrayThe contacts to create. Each needs an email address.

greenrope_add_contacts_to_group Add contacts to a group

Add existing contacts to a group, by group id or group name. Each contact is given by contact id or email. This changes group membership. XML API: AddContactsToGroupRequest.

ParameterTypeDescription
contacts *arrayThe contacts to add. Each needs a contact_id or an email.
group_idintegerGreenRope numeric id.
group_namestringExact name of the group to add to (used when group_id is not given).

greenrope_add_crm_activity Add a CRM activity

Record one CRM activity (for example a note or a task) against a contact. The activity label must match one from greenrope_list_crm_activity_types. XML API: AddCRMActivitiesRequest.

ParameterTypeDescription
activity *stringActivity type label, from greenrope_list_crm_activity_types.
contact_id *integerThe contact the activity belongs to.
datestringActivity date and time, as yyyy-mm-dd hh:mm:ss.
due_datestringDue date, as the API expects it.
notesstringFree-text notes for the activity.