Spruce Health MCP by usefulapi

v1.32.1
io.usefulapi/spruce-health Checked 3 days ago Published 1 day ago

Read Spruce Health contacts, conversations, messages, phone lines and team members (read-only).

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

sprucehealth_get_organization Get the organization

Your Spruce organization (id and name). The id is the owner/member id used by other objects. Good first call. GET /organization.

sprucehealth_list_members List organization members

All members of the organization: teammates (name, email, admin, suspended), teams and the organization itself. Paged with hasMore/paginationToken; totalCount included. GET /organization/members.

ParameterTypeDescription
page_sizeintegerResults per page (2-500). Keep it small (e.g. 25-50) for long records: an oversized page is cut, but the Paging part with the cursor always stays whole.
pagination_tokenstringThe paginationToken from the previous page's reply (when hasMore is true).

sprucehealth_get_member Get an organization member

One organization member (teammate, team or the organization) by id. GET /organization/members/{memberId}.

ParameterTypeDescription
member_id *stringThe member id (e.g. "entity_0D4QABCC06000").

sprucehealth_list_team_members List a team's members

The members of one team (team ids come from sprucehealth_list_members, type 'team'). Paged. GET /teams/{teamId}/members.

ParameterTypeDescription
team_id *stringThe team id (e.g. "entity_0D4QABCC06000").
page_sizeintegerResults per page (1-500). Keep it small (e.g. 25-50) for long records: an oversized page is cut, but the Paging part with the cursor always stays whole.
pagination_tokenstringThe paginationToken from the previous page's reply (when hasMore is true).

sprucehealth_list_contacts List contacts

Contacts of the organization (patients, professionals, clinics): name, date of birth, phones, emails, tags, custom fields, integration links. Paged with hasMore/paginationToken; totalCount included. Use sprucehealth_search_contacts to find someone. GET /contacts.

ParameterTypeDescription
page_sizeintegerResults per page (1-500). Keep it small (e.g. 25-50) for long records: an oversized page is cut, but the Paging part with the cursor always stays whole.
pagination_tokenstringThe paginationToken from the previous page's reply (when hasMore is true).

sprucehealth_search_contacts Search contacts

Find contacts by free text and/or filters (category, tags, name, phone, email, invite state, created time). Filters combine with AND; values inside one filter match ANY (tags can use all/none). Paged; totalCount with totalCountRelation (eq = exact, gte = lower bound). A read: POST /contacts/search changes nothing.

ParameterTypeDescription
categoriesarrayContact categories to include.
created_fromstringOnly contacts added at or after this time (RFC 3339 with zone).
created_tostringOnly contacts added at or before this time (RFC 3339 with zone).
email_addressesarrayEmail addresses.
family_namestringFamily (last) name.
free_textstringFree-text query (name, phone, email…).
given_namestringGiven (first) name.
invite_statesarraySpruce account/invite state.
page_sizeintegerResults per page (1-500). Keep it small (e.g. 25-50) for long records: an oversized page is cut, but the Paging part with the cursor always stays whole.
pagination_tokenstringThe paginationToken from the previous page's reply (when hasMore is true).
phone_numbersarrayPhone numbers, e.g. 2065551234 or +12065551234.
tagsarrayContact tag text values (the `value` of a tag from sprucehealth_list_contact_tags).
tags_matchstringHow the tags combine: any (default), all, or none (exclude).

sprucehealth_get_contact Get a contact

One contact by Spruce contact id (entity_…): demographics, phones, emails, tags, custom and organization fields, integration links. GET /contacts/{contactId}.

ParameterTypeDescription
contact_id *stringThe contact id (e.g. "entity_0E5QDGJC03000").

sprucehealth_list_contact_conversations List a contact's conversations

The conversations (secure, SMS/phone, email, fax…) associated with one contact. GET /contacts/{contactId}/conversations.

ParameterTypeDescription
contact_id *stringThe contact id (e.g. "entity_0E5QDGJC03000").

sprucehealth_list_contact_tags List contact tags

All contact tags of the organization. Paged with hasMore/paginationToken; totalCount included. GET /contacts/tags.

ParameterTypeDescription
page_sizeintegerResults per page (1-500). Keep it small (e.g. 25-50) for long records: an oversized page is cut, but the Paging part with the cursor always stays whole.
pagination_tokenstringThe paginationToken from the previous page's reply (when hasMore is true).

sprucehealth_list_contact_fields List organization contact fields

The organization-wide contact fields shown on every contact. Paged; totalCount included. GET /contacts/fields.

ParameterTypeDescription
page_sizeintegerResults per page (1-500). Keep it small (e.g. 25-50) for long records: an oversized page is cut, but the Paging part with the cursor always stays whole.
pagination_tokenstringThe paginationToken from the previous page's reply (when hasMore is true).

sprucehealth_list_conversations List conversations

Conversations of the organization (title, type, tags, archived, assignee, participants, last message time), ordered by creation or last message. With start_from, only conversations whose ordering time is at or after it (useful for 'what changed since…'). Eventually consistent. Paged; give start_from OR pagination_token, not both. GET /conversations.

ParameterTypeDescription
order_bystringOrder by creation time or last message time (default last_message).
page_sizeintegerResults per page (1-200). Keep it small (e.g. 25-50) for long records: an oversized page is cut, but the Paging part with the cursor always stays whole.
pagination_tokenstringThe paginationToken from the previous page's reply (when hasMore is true).
start_fromstringOnly conversations whose ordering time is at or after this RFC 3339 date-time (with zone).

sprucehealth_get_conversation Get a conversation

One conversation by id (t_…). GET /conversations/{conversationId}.

ParameterTypeDescription
conversation_id *stringThe conversation id (e.g. "t_0E5QDJJC03000").

sprucehealth_list_conversation_items List conversation messages

The items (messages, internal notes, calls, voicemails, faxes, attachments with short-lived signed URLs) in one conversation. Order newest_first (default) or oldest_first; start_from = only items created after that time. Paged with hasMore/paginationToken; totalCount is a best-effort count. GET /conversations/{conversationId}/items.

ParameterTypeDescription
conversation_id *stringThe conversation id (e.g. "t_0E5QDJJC03000").
orderstringOrder of the items (default newest_first).
page_sizeintegerResults per page (1-200). Keep it small (e.g. 25-50) for long records: an oversized page is cut, but the Paging part with the cursor always stays whole.
pagination_tokenstringThe paginationToken from the previous page's reply (when hasMore is true).
start_fromstringOnly items created after this RFC 3339 date-time (with zone).

sprucehealth_get_conversation_item Get a conversation message

One conversation item (message, note, call, voicemail…) by id (ti_…). GET /conversationItems/{conversationItemId}.

ParameterTypeDescription
conversation_item_id *stringThe conversation item id (e.g. "ti_0D4QABCC06000").

sprucehealth_list_read_receipts List a message's read receipts

Who has read one conversation item and when they first read it (oldest first). GET /conversationItems/{conversationItemId}/readReceipts.

ParameterTypeDescription
conversation_item_id *stringThe conversation item id (e.g. "ti_0D4QABCC06000").

sprucehealth_get_transcription Get a call or voicemail transcription

The full transcription text and its summary (if any) for a transcription id (the transcriptionId on a call/voicemail attachment). Status pending/completed/failed/noSpeech. GET /transcriptions/{transcriptionId}.

ParameterTypeDescription
transcription_id *stringThe transcription id (from a conversation item's audio attachment).

sprucehealth_list_conversation_tags List conversation tags

All conversation tags of the organization. Paged; totalCount included. GET /conversations/tags.

ParameterTypeDescription
page_sizeintegerResults per page (1-500). Keep it small (e.g. 25-50) for long records: an oversized page is cut, but the Paging part with the cursor always stays whole.
pagination_tokenstringThe paginationToken from the previous page's reply (when hasMore is true).

sprucehealth_list_conversation_scheduled_messages List a conversation's scheduled messages

Messages scheduled to be sent later in one conversation (read only; nothing is sent or cancelled). GET /conversations/{conversationId}/scheduledmessages.

ParameterTypeDescription
conversation_id *stringThe conversation id (e.g. "t_0E5QDJJC03000").

sprucehealth_list_scheduled_messages List scheduled messages

All messages scheduled to be sent from the organization (read only). Paged with hasMore/paginationToken; totalCount included. GET /scheduledmessages.

ParameterTypeDescription
pagination_tokenstringThe paginationToken from the previous page's reply (when hasMore is true).

sprucehealth_list_saved_messages List saved messages

Saved message templates (private and organization-wide): title, text, internal/shared flags. Paged with hasMore/paginationToken. GET /savedmessages.

ParameterTypeDescription
page_sizeintegerResults per page (1-500). Keep it small (e.g. 25-50) for long records: an oversized page is cut, but the Paging part with the cursor always stays whole.
pagination_tokenstringThe paginationToken from the previous page's reply (when hasMore is true).

sprucehealth_list_internal_endpoints List internal endpoints

The organization's own channels: Spruce phone and fax numbers, email addresses and Spruce Links, with their owner and members. GET /internalendpoints.

sprucehealth_list_phone_lines List phone lines

All phone lines of the organization (id, name); totalCount included. GET /phonelines.

sprucehealth_get_phone_line Get a phone line

One phone line by id (pd_…). GET /phonelines/{phonelineId}.

ParameterTypeDescription
phone_line_id *stringThe phone line id (e.g. "pd_26RRC7PQ6JG00").