GreenRope MCP by usefulapi
v1.2.1Search 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.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | GreenRope numeric id. |
email | string | Exact email address to match. |
firstname | string | First name to match. |
get_all | boolean | Ask for all matching contacts (the API's get_all flag). |
group_id | integer | GreenRope numeric id. |
lastname | string | Last name to match. |
start_chunk_page | integer | Result page to start from. |
start_chunk_size | integer | Contacts 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.
| Parameter | Type | Description |
|---|---|---|
filter | string | Text to search for in the contacts. |
from | string | Starting offset, as the API expects it. |
order_by | string | Field to sort by. |
order_direction | string | Sort direction, as the API expects it (for example ASC or DESC). |
page | integer | Result 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.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | GreenRope numeric id. |
email | string | Exact email address to match. |
firstname | string | First name to match. |
lastname | string | Last name to match. |
greenrope_list_groups List groups
List contact groups, or one group by id or name. XML API: GetGroupsRequest.
| Parameter | Type | Description |
|---|---|---|
group_id | integer | GreenRope numeric id. |
group_name | string | Exact 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.
| Parameter | Type | Description |
|---|---|---|
updated_timestamp | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
get_all | boolean | Ask 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.
| Parameter | Type | Description |
|---|---|---|
activity | string | Activity type label to match. |
activity_id | integer | GreenRope numeric id. |
chunk_size | integer | Activities per page, up to 500. |
contact_id | integer | GreenRope numeric id. |
done_date_end | string | Latest done date, as the API expects it. |
done_date_start | string | Earliest done date, as the API expects it. |
due_date_end | string | Latest due date, as the API expects it. |
due_date_start | string | Earliest due date, as the API expects it. |
get_all | boolean | Ask for all matching activities (the API's get_all flag). |
group_id | integer | GreenRope numeric id. |
page | integer | Result 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.
| Parameter | Type | Description |
|---|---|---|
contacts * | array | The 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.
| Parameter | Type | Description |
|---|---|---|
contacts * | array | The contacts to add. Each needs a contact_id or an email. |
group_id | integer | GreenRope numeric id. |
group_name | string | Exact 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.
| Parameter | Type | Description |
|---|---|---|
activity * | string | Activity type label, from greenrope_list_crm_activity_types. |
contact_id * | integer | The contact the activity belongs to. |
date | string | Activity date and time, as yyyy-mm-dd hh:mm:ss. |
due_date | string | Due date, as the API expects it. |
notes | string | Free-text notes for the activity. |