Spoke Phone MCP by usefulapi

v1.17.1
io.usefulapi/spoke-phone Checked 1 day ago Published 9 hours ago

Read Spoke calls, transcripts, directory and users; manage phonebook contacts and send SMS.

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

spokephone_list_calls List calls

List call records (oldest first by default; pass sortOrder descending for the latest calls), with caller, direction, duration, assigned user/team and recording URLs. Filter by time window or the external party's number. Returns { meta: { next }, calls }.

ParameterTypeDescription
beforeintegerOnly calls created before this time (unix timestamp in milliseconds).
contactNumberstringOnly calls with this external party number (+E.164).
includeActivebooleanAlso return calls still in progress (default false).
includeRecordingUrlbooleanInclude recording/voicemail URLs (default true).
limitintegerPage size (default 100, max 1000).
modifiedintegerOnly calls created or modified since this time (calls gain notes/recordings after they end) (unix timestamp in milliseconds).
nextstringCursor from the previous reply's meta.next; omit for the first page.
sinceintegerOnly calls created at or after this time (unix timestamp in milliseconds).
sortOrderstringascending = oldest first (the API default); descending = latest first.

spokephone_get_call Get a call

Get one call record by call id.

ParameterTypeDescription
id *stringCall id.
includeRecordingUrlboolean

spokephone_get_call_recording Get a call recording

Get the details and download URL of one recording of a call.

ParameterTypeDescription
id *stringCall id.
recordingId *string

spokephone_list_call_content_analysis List a call's AI analysis

List the Enlighten AI content-analysis results (summaries etc.) stored for one call.

ParameterTypeDescription
id *stringCall id.
artifactstringArtifact schema name, e.g. "generalSummary".
limitintegerPage size (default 5, max 10).
nextstringCursor from the previous reply's meta.next; omit for the first page.

spokephone_list_directory List the directory

List or search the unified Spoke directory (users, teams, devices) with extensions and live availability. Exactly one of extension, phoneNumber or ivrKey may be used to look up an entry. Returns { meta: { next }, entries }.

ParameterTypeDescription
extensionstringExact extension number.
includeHiddenCallGroupsboolean
includeSuspendedUsersboolean
ivrKeystringExact IVR key.
limitintegerPage size (default 100, max 1000).
nextstringCursor from the previous reply's meta.next; omit for the first page.
phoneNumberstringExact phone number assigned to an entry.

spokephone_get_directory_entry Get a directory entry

Get one directory entry (user, team or device) by entry id.

ParameterTypeDescription
entryId *string

spokephone_list_users List users

List active Spoke users with real-time availability. Optionally filter by email address.

ParameterTypeDescription
emailstringReturn only the user with this email address.

spokephone_get_user Get a user

Get one Spoke user with availability, by user id.

ParameterTypeDescription
id *string

spokephone_list_teams List teams

List Spoke teams (call groups) with their members and availability.

ParameterTypeDescription
limitintegerPage size (default 100, max 1000).
nextstringCursor from the previous reply's meta.next; omit for the first page.

spokephone_list_locations List locations

List the locations of the organisation.

ParameterTypeDescription
limitintegerPage size (default 100, max 1000).
nextstringCursor from the previous reply's meta.next; omit for the first page.

spokephone_get_location Get a location

Get one location by id.

ParameterTypeDescription
locationId *string

spokephone_list_location_users List a location's users

List the users assigned to one location.

ParameterTypeDescription
locationId *string
limitintegerPage size (default 100, max 1000).
nextstringCursor from the previous reply's meta.next; omit for the first page.

spokephone_list_phonebooks List phonebooks

List shared phonebooks (the CRM contact containers used for caller ID), each with its contacts. Use limit 0 to list phonebooks without contacts.

ParameterTypeDescription
excludeEmptybooleanSkip phonebooks that have no matching contacts.
limitintegerPage size (default 100, max 1000).
searchstringFilter contacts (at least 3 characters).

spokephone_get_phonebook Get a phonebook

Get one phonebook and a page of its contacts. The id may also be a user's email address for that user's personal phonebook.

ParameterTypeDescription
id *string
limitintegerPage size (default 100, max 1000).
nextstringCursor from the previous reply's meta.next; omit for the first page.
searchstring

spokephone_get_phonebook_contact Get a phonebook contact

Get one contact of a phonebook.

ParameterTypeDescription
contactId *string
id *stringPhonebook id.

spokephone_list_transcripts List transcripts

List call and voicemail transcripts. Filter by time window or source.

ParameterTypeDescription
beforeintegerCreated before (unix timestamp in milliseconds).
limitintegerPage size (default 100, max 1000).
nextstringCursor from the previous reply's meta.next; omit for the first page.
sinceintegerCreated at or after (unix timestamp in milliseconds).
sourceContextIdstring
sourceIdstring

spokephone_get_transcript Get a transcript

Get one transcript by id.

ParameterTypeDescription
id *string

spokephone_get_transcript_segments Get transcript segments

Get the per-speaker segments of one transcript.

ParameterTypeDescription
id *stringTranscript id.

spokephone_list_content_analysis List AI content analysis

List AI content-analysis results (needs the Enlighten entitlement). Filter by time, source, participant or artifact name.

ParameterTypeDescription
artifactstringArtifact schema name, e.g. "generalSummary".
beforeintegerFirst recording/transcript started before (unix timestamp in milliseconds).
contactNumberstring
limitintegerPage size (default 5, max 10).
nextstringCursor from the previous reply's meta.next; omit for the first page.
participantIdstring
sinceintegerFirst recording/transcript started at or after (unix timestamp in milliseconds).
sourceIdstring

spokephone_get_content_analysis Get an AI content analysis

Get one content-analysis result by id.

ParameterTypeDescription
id *string

spokephone_list_webhooks List webhooks

List the webhook subscriptions of the account.

ParameterTypeDescription
limitintegerPage size (default 100, max 1000).
nextstringCursor from the previous reply's meta.next; omit for the first page.

spokephone_get_webhook Get a webhook

Get one webhook subscription by id.

ParameterTypeDescription
id *string

spokephone_list_trunks List SIP trunks

List the SIP trunks that overlay a legacy PBX onto Spoke.

ParameterTypeDescription
limitintegerPage size (default 100, max 1000).
nextstringCursor from the previous reply's meta.next; omit for the first page.

spokephone_get_trunk Get a SIP trunk

Get one SIP trunk by id.

ParameterTypeDescription
trunkId *string

spokephone_send_sms Send an SMS

WRITE: send a real SMS to a phone number (or a group MMS to several) from a company number or from a Spoke user's conversation number. The message appears in the Spoke conversation. Confirm the recipient and text with the user first. Needs an SMS-enabled number. POST /conversationMessages.

ParameterTypeDescription
body *stringMessage text, up to 1600 characters.
confirm *booleanMust be true: the user approved sending this exact text to these recipients.
to *arrayRecipient number(s) in +E.164 form. More than one sends a group MMS.
assignUsersarrayUser emails to assign (required with routingAction assign_users).
conversationNamestring
fromNumberstringCompany number to send from (+E.164). Give this OR fromUserEmail.
fromUserEmailstringEmail of the Spoke user whose conversation number sends the message. Give this OR fromNumber.
notificationModestring
routingActionstringWho handles replies in a new conversation.

spokephone_save_phonebook_contact Add or replace a phonebook contact

WRITE: add a contact to a phonebook, REPLACING any contact there with the same contactId (other contacts are untouched). The phonebook id may be a user's email for a personal phonebook. Contacts feed caller ID. PUT /phonebooks/{id}/contacts.

ParameterTypeDescription
phoneNumbers *arrayAt least one number, e.g. { label: 'work', value: '+442071234567' }.
phonebookId *stringPhonebook id (from spokephone_list_phonebooks) or a user's email address.
companyNamestring
contactIdstringYour own stable id for the contact; reuse it to replace that contact.
countryIsostringISO country code for formatting local numbers, e.g. GB.
emailsarray
firstNamestring
jobTitlestring
lastNamestring

spokephone_delete_phonebook_contact Delete a phonebook contact

WRITE, destructive: delete one contact from a phonebook (it stops showing in caller ID). DELETE /phonebooks/{id}/contacts/{contactId}.

ParameterTypeDescription
confirm *booleanMust be true: the user approved deleting this contact.
contactId *string
phonebookId *string