MCP tools

relic exposes 51 tools. Names are stable. A ref is a conversation reference from list_chats or find_chat.

Read (needs a read scope)#

ToolWhat it does
list_chats, find_chatList the conversations open to your key. Find one by name, @username or id. readable: false marks a chat the owner has not opened.
get_chat, get_message, get_membersDescribe a conversation or person. Read one message in full (reactions, readers, poll, buttons, link). List group members.
get_messagesNewest first. Options: around, after, filter by media, sender, topic, deleted.
search_messagesSearch one conversation or, without a conversation, all of them.
get_messages_by_dateOne calendar day.
get_transcriptSegments of a YouTube video transcript. Use the ref youtube:public:<video id or URL>.
wait_messagesLong-poll for new events.
view_media, read_documentA photo or video frame as JPEG. The text of an attached document.
get_personaTone rules and examples for a conversation.
list_scheduled, list_drafts, list_topicsScheduled messages, the owner's drafts, forum topics.
list_contacts, list_foldersThe owner's contacts and folders. Only for a key that reads the whole account ({*}).

Voice messages carry a transcript. Messages deleted in Telegram stay readable with get_messages and deleted: true, and edited messages keep their earlier text.

get_post_stats returns metrics of the owner's own posts on Telegram, X and Instagram. LinkedIn answers not_supported. It needs a publish or read scope.

Write (needs a write scope)#

send_message, react, edit_message, delete_messages, forward_messages, set_draft, mark_read, vote_poll, press_button.

send_message supports media, voice and schedule_at, reply_to and dry_run. See Guards and confirmations for the refusals.

Publish (needs a publish scope)#

publish_post, edit_post, delete_post, pin_message, get_chat_profile, update_chat_profile.

Manage (needs a manage scope)#

list_inbox, create_group, add_members, moderate_member, update_chat_settings, manage_topic, invite_link, join_chat, leave_chat, get_admin_log, clear_history.

These work in groups and channels the owner opened or that relic created. Call join_chat with dry_run: true first to see the title and members.

Account (needs an account scope)#

manage_contact, manage_folder, dialog_settings (mute, archive, pin), my_profile, privacy, get_user_photos.

A refusal here is manage_refused, or 400 bad_request with a reason.

Pagination and size#

A response holds at most 100 items and about 32 KB of compact JSON. A trimmed response carries truncated: true, a note and, when more exists, a cursor next. Pass it back as cursor. The first message is shortened, never dropped.