68 Telegram tools in 7 risk tiers

Every tool belongs to one risk tier across 13 domains. Default startup exposes 42 tools (read, organize, and non-high-risk send), and the core preset trims the surface to 15 tools for smaller context windows.

Risk tiers

Tier Total Default on Scope
read2727Dialogs, messages, search, media, transcription, translation, members, polls, folders, topics, stories, boosts, group calls, Telegram Business read
organize22organize_chat (mute/pin/archive/mark unread), save_folder
send1513send_message, send_media, send_structured, edit_message, forward_messages, drafts, reactions, inline queries, read receipts, story interactions. Off by default: get_web_preview, publish_story
moderate60manage_contact, manage_topic, join_or_create_chat, edit_chat_settings, manage_invite_link, manage_fact_check
destructive110delete_messages, terminate_session, poll_action, press_button, delete_folder, delete_topic, leave_chat, moderate_member, report_content, delete_stories, delete_business_link
50get_sessions, get_account_settings, update_profile, update_privacy, manage_business
money20get_stars, stars_action (paid reactions obey kill switch & whitelist; gift conversion requires confirm: true)

Capability presets

Switch presets live in /settings without restarting. Every preset stays intersected with startup hard_ceiling.

Preset Tools Intended use
core15Compact prompt-token footprint: read, search, media, send, edit, forward, react, mark as read
read_only27All default-on read tools, zero outbound or organizational mutations
daily42Default-on read, organize, and send tools, excluding high-risk items
standard42All default-enabled tools
admin61Adds moderate and destructive tiers where startup hard_ceiling allows
full68All catalog tools, still bounded by hard_ceiling

MCP prompts and resources

Four MCP prompt templates (unread_triage, chat_digest, draft_reply, search_brief) ship with the same [external data] safety instructions. Clients that support MCP resources can read five URI patterns directly:

Resource URI Returns
telegram://statusLocal connection health and active policy summary
telegram://accountsConfigured accounts (only the pinned alias on /mcp/<alias>)
telegram://dialogsDialog list with read_blacklist applied
telegram://chat/{chat_id}/recentLast 20 messages of any non-blacklisted chat
telegram://account/{alias}/dialogs, .../chat/{chat_id}/recentExplicit multi-account views on unpinned endpoints

Embedded /settings web panel

Compiled directly into the Rust binary via rust-embed in English and Russian, with an account switcher across every view and strict isolation from MCP/OAuth tokens (403 on any MCP credential).

View What you manage
ToolsToggle individual tools, filter by domain/tier/risk, apply presets (core to full), see config-locked tiers, and track estimated prompt-token footprint live.
ChatsAdd or remove send_whitelist destinations with pinned @username → ID verification, resolve dialogs, and manage read_blacklist.
Safety & PolicyFlip the persistent kill switch (cancelling pending scheduled sends upstream), switch per-account whitelist_mode (strict / off) without restarting, inspect active ceilings and sandbox caps, and edit outgoing AI signature text or opt-out rules live.
AccountsOnboard new Telegram accounts or re-authenticate existing ones via inline SVG QR code and 2FA password without restarting the server; remove dynamic accounts with automatic session cleanup and OAuth token revocation.
OAuthInspect registered OAuth 2.1 clients, revoke individual connectors, or run one-click global revocation.
AuditFilter persisted SQLite security events, refusals (deny_*, username_mismatch), and mutating calls per account.
Chat access page in gramcp /settings showing allowed send destinations with pinned peer IDs and blacklisted chats Tools page in gramcp /settings showing 42 of 68 tools enabled by Daily preset and high-risk tiers locked by config

Full tool-by-tool reference: docs/tools.md.