Rinkel MCP by usefulapi

v1.20.1
io.usefulapi/rinkel Checked 3 days ago Published 2 days ago

Read Rinkel calls, voicemails, contacts and numbers; add call notes, edit contacts, block numbers.

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

rinkel_list_calls List calls

List call detail records (inbound and outbound calls) with date, direction, status (ANSWERED, MISSED, VOICEMAIL, ANSWERING_SERVICE), duration, external and internal number, the users involved, notes, and (when the account has Rinkel AI insights) the AI summary and sentiment. Use for 'who called today', 'which calls did we miss this week', 'calls longer than 5 minutes'. Newest first by default. Rinkel API: GET /call-detail-records.

ParameterTypeDescription
contactstringOnly calls with this contact (id).
contact_lookupbooleanInclude the matching contact in each record.
date_presetstringA relative period. It overrides start_date and end_date.
directionsarrayOnly these directions.
duration_presetarrayDuration buckets in minutes ('30-0' = 30 minutes or more). Overrides min/max duration.
end_datestringOnly calls on or before this date (yyyy-mm-dd = end of that day UTC, or an ISO date-time with timezone).
external_numberstringOnly calls with this external (caller or callee) number.
filterstringFree-text search over calls.
has_insightsbooleanOnly calls that have AI insights.
has_notesbooleanOnly calls that have (true) or lack (false) notes.
has_transcriptionbooleanOnly calls that have a transcription.
include_detailsbooleanInclude insights and notes in each record.
internal_numbersarrayOnly calls on these internal (Rinkel) numbers, as listed by rinkel_list_numbers.
is_anonymousbooleanOnly calls from a hidden number (true) or not (false).
max_duration_secondsintegerMaximum duration in seconds (ignored with duration_preset).
min_duration_secondsintegerMinimum duration in seconds (ignored with duration_preset).
pageintegerPage number (default 1).
per_pageintegerItems per page (default 10, max 50).
sentimentsarrayOnly calls with this AI-insights sentiment.
sortstringSort field (default date).
sort_orderstringSort order (default DESC).
start_datestringOnly calls on or after this date (yyyy-mm-dd, or an ISO date-time with timezone). Sent as a Unix timestamp.
statusesarrayOnly these call outcomes.
user_idsarrayOnly calls handled by these user ids (rinkel_list_users).

rinkel_get_call Get a call

Get one call detail record by its Rinkel id (the `id` field of rinkel_list_calls): numbers, users, status, duration, notes, voicemail and call-recording ids, AI insights. Rinkel API: GET /call-detail-records/{id}.

ParameterTypeDescription
call_record_id *stringThe call detail record id (`id`).

rinkel_get_call_by_network_id Get a call by network call id

Get one call detail record by its network `callId` (the id Rinkel sends in webhook events), optionally with insights and notes. Rinkel API: GET /call-detail-records/by-call-id/{callId}.

ParameterTypeDescription
network_call_id *stringThe network call id (`callId` field).
include_detailsbooleanInclude insights and notes.

rinkel_get_call_transcription Get a call transcription

Get the raw transcription of a call by its network `callId` (needs Rinkel AI insights on the account; 404 when the call has none). Rinkel API: GET /call-detail-records/by-call-id/{callId}/transcription.

ParameterTypeDescription
network_call_id *stringThe network call id (`callId` field of the call record).

rinkel_get_call_recording_url Get a call recording URL

Get a temporary URL (valid 3 hours) to stream or download a call recording. The id is `callRecording.id` of a call record. Append `download` as a query parameter to the URL to download instead of stream. Rinkel API: GET /call-recordings/{id}/stream.

ParameterTypeDescription
call_recording_id *stringThe call recording id (`callRecording.id` of a call record).

rinkel_list_voicemails List voicemails

List voicemail messages (call records with status VOICEMAIL): caller, date, duration, whether new, and the voicemail id. Newest first. With is_new=true Rinkel ignores every other filter and returns only unplayed voicemails. Rinkel API: GET /voicemails.

ParameterTypeDescription
contact_lookupbooleanInclude the matching contact in each record.
date_presetstringA relative period (overrides start_date and end_date).
end_datestringOnly calls on or before this date (yyyy-mm-dd = end of that day UTC, or an ISO date-time with timezone).
external_numberstringOnly calls with this external (caller or callee) number.
filterstringFree-text search over calls.
has_notesbooleanOnly calls that have (true) or lack (false) notes.
internal_numbersarrayOnly calls on these internal (Rinkel) numbers, as listed by rinkel_list_numbers.
is_anonymousbooleanOnly calls from a hidden number (true) or not (false).
is_newbooleanOnly unplayed voicemails (true). All other filters are ignored then.
pageintegerPage number (default 1).
per_pageintegerItems per page (default 10, max 50).
sort_orderstringSort order by date (default DESC).
start_datestringOnly calls on or after this date (yyyy-mm-dd, or an ISO date-time with timezone). Sent as a Unix timestamp.
topicsarrayOnly voicemails with these AI topic ids.

rinkel_count_new_voicemails Count new voicemails

Number of voicemails that have not been played yet. Rinkel API: GET /voicemails/new-count.

rinkel_get_voicemail_url Get a voicemail URL

Get a temporary URL (valid 3 hours) to stream or download a voicemail. The id is `voicemail.id` of a call or voicemail record. Rinkel API: GET /voicemails/{id}/stream.

ParameterTypeDescription
voicemail_id *stringThe voicemail id (`voicemail.id`).

rinkel_list_contacts List contacts

List the contacts shared with everyone in the account (plus the Rinkel system contact, tag 'system'): names, company, phone numbers, email. Rinkel API: GET /contacts.

ParameterTypeDescription
filterstringSearch by name, company or number.
letterstringOnly contacts whose name starts with this letter.
pageintegerPage number (default 1).
per_pageintegerItems per page (default 10, max 50).

rinkel_get_contact Get a contact

Get one contact by id. Rinkel API: GET /contacts/{id}.

ParameterTypeDescription
contact_id *stringThe contact id.

rinkel_find_contact_by_number Find a contact by phone number

Find the contact that owns a phone number (E.164 such as +31612345678 works best). 404 when there is none. Rinkel API: GET /contacts/find-by-number/{number}.

ParameterTypeDescription
phone_number *stringThe phone number, preferably in E.164 format (+31612345678).

rinkel_list_users List users

List the account's users: name, email, phone number, role (ADMIN, USER, ANSWERINGSERVICE), availability schedule and status, and `fixed`/device info (`deviceId` is needed to start a call). Rinkel API: GET /users.

ParameterTypeDescription
include_avatarsbooleanInclude avatar URLs.

rinkel_get_user Get a user

Get one user by id, including preferences, notification settings, schedule and `deviceId`. Rinkel API: GET /users/{id}.

ParameterTypeDescription
user_id *stringThe user id (rinkel_list_users).
include_avatarbooleanInclude avatar URLs.

rinkel_list_numbers List phone numbers

List the account's Rinkel phone numbers: id, label, number, status (ACTIVE, SUSPENDED, PENDING_PORTING_IN ...), activation date and the users assigned. Rinkel API: GET /numbers.

rinkel_get_number Get a phone number

Get one Rinkel number with its full dial plan: greeting, business hours schedule, call forwarding targets and ring logic, voice menu, call recording and caller-id settings. Rinkel API: GET /numbers/{id}.

ParameterTypeDescription
number_id *stringThe number id (rinkel_list_numbers).

rinkel_list_recordings List greeting recordings

List the uploaded audio recordings used in the dial plan (greetings, announcements, voice-over scripts): name, description, duration and where each is used. Not call recordings. Rinkel API: GET /recordings.

ParameterTypeDescription
pageintegerPage number (default 1).
per_pageintegerItems per page (default 10, max 999).
sortstringSort field (default date).
sort_orderstringSort order (default DESC).

rinkel_list_webhooks List webhooks

List the webhook subscriptions (events incomingCall, outgoingCall, callStart, callEnd, callInsights) with URL and active flag. Webhooks need the Expert plan. Rinkel API: GET /webhooks.

rinkel_validate_phone_number Validate a phone number

Check a phone number for a country and return its normalised form. With check_inventory=true Rinkel also checks whether the number is available to order. Rinkel API: GET /misc/validate-phone-number.

ParameterTypeDescription
country_iso_code *stringCountry code such as NL or BE.
number *stringThe number without the country calling code.
check_inventorybooleanAlso check availability to order.

rinkel_add_call_note Add a call note

WRITE: add a note to a call record (visible to everyone in the account who sees the call). The id is the call record's `id`; if Rinkel answers 404, retry with the record's `callId`. Rinkel API: PUT /call-detail-records/{callId}/note.

ParameterTypeDescription
call_record_id *stringThe call record id (`id` of rinkel_list_calls).
content *stringThe note text.

rinkel_update_call_note Update a call note

WRITE: replace the text of an existing note on a call record (the note id is in `notes[].id` of the call record). Rinkel API: PATCH /call-detail-records/{callId}/note/{noteId}.

ParameterTypeDescription
call_record_id *stringThe call record id (`id`).
content *stringThe new note text.
note_id *stringThe note id (`notes[].id`).

rinkel_delete_call_note Delete a call note

WRITE, irreversible: delete one note from a call record. Needs confirm=true after the user approved it. Rinkel API: DELETE /call-detail-records/{callId}/note/{noteId}.

ParameterTypeDescription
call_record_id *stringThe call record id (`id`).
note_id *stringThe note id (`notes[].id`).
confirmbooleanMust be true, set only after the user explicitly approved this exact action.

rinkel_create_contact Create a contact

WRITE: create a contact. It is shared with everyone in the Rinkel account (all users see it and calls from its numbers show its name). Rinkel API: POST /contacts.

ParameterTypeDescription
numbers *arrayPhone numbers of the contact (Rinkel requires at least one).
company_namestring
default_outbound_number_idstringId of the Rinkel number to call this contact from (rinkel_list_numbers).
emailstring
first_namestring
last_namestring

rinkel_update_contact Update a contact

WRITE: update a contact (PUT semantics). `numbers` is required and REPLACES all stored numbers, and an omitted default_outbound_number_id CLEARS it; omitted names, company and email keep their stored value. Read the contact first (rinkel_get_contact) and resend what must stay. The system contact cannot be changed. Rinkel API: PUT /contacts/{id}.

ParameterTypeDescription
contact_id *stringThe contact id.
numbers *arrayThe COMPLETE list of numbers (replaces the stored ones; Rinkel requires at least one, so read the contact first and resend the ones to keep).
company_namestring
default_outbound_number_idstringResend the current value to keep it; omit to clear it.
emailstring
first_namestring
last_namestring

rinkel_delete_contact Delete a contact

WRITE, irreversible: delete a contact for the whole account. Needs confirm=true after the user approved it. The Rinkel system contact cannot be deleted. Rinkel API: DELETE /contacts/{id}.

ParameterTypeDescription
contact_id *stringThe contact id.
confirmbooleanMust be true, set only after the user explicitly approved this exact action.

rinkel_block_number Block a number

WRITE: block a number from calling ANY of the account's numbers. Accepts an E.164 number, 'anonymous', or a prefix wildcard such as '+31*' (a wildcard must end the value and include a country code; a broad wildcard blocks every caller from that country). Undo with rinkel_unblock_number. Rinkel API: POST /privacy/block-number.

ParameterTypeDescription
number *stringE.164 number (+31612345678), 'anonymous', or a prefix wildcard like '+3161*'.
reasonstringWhy it is blocked (for example Spam).

rinkel_unblock_number Unblock a number

WRITE: remove a number (or the same wildcard pattern that was blocked) from the block list so it can call again. Rinkel API: DELETE /privacy/unblock-number.

ParameterTypeDescription
number *stringThe blocked entry exactly as it was blocked.

rinkel_start_call Start an outgoing call

WRITE, COSTS CALL MINUTES: starts a real phone call. Rinkel rings the given user device first and, once it is answered, dials `to` using the chosen Rinkel number as caller id, so call charges apply to the account and the person called sees the number. Needs confirm=true, set only after the user explicitly asked to place this call. Get device_id from rinkel_list_users (`fixed`/device info or `deviceId`) and number_id from rinkel_list_numbers. Rinkel API: POST /dial.

ParameterTypeDescription
device_id *stringThe id of the user device that starts the call (`deviceId` of a user).
number_id *stringThe id of the Rinkel number used as caller id (rinkel_list_numbers).
to *stringThe number to call, in E.164 format (+31612345678).
anonymousbooleanHide the caller id (default false).
confirmbooleanMust be true, set only after the user explicitly approved this exact action.