Skip to main content
Glama
FirstReply MCP Server

FirstReply MCP Server

Official
by FirstReply

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port (HTTP mode).8080
MCP_ENDPOINT_PATHNoHTTP endpoint path./
FIRSTREPLY_API_URLNoAPI base URL.https://api.firstreply.ai
FIRSTREPLY_API_TOKENYesOrganization API key (fr_...) used to authenticate against the FirstReply REST API. Sent as Authorization: Bearer. Created in FirstReply under Organization → Development → API Keys.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
organization_listA

List the organizations the token can access, including ids, names and plans: an organization API key sees only its own organization. Use the organizationId in all other tools.

organization_getA

Get an organization: name, default language, description, plan, auto-close setting and the custom AI prompts (persona, reply instructions, classification instructions).

organization_updateA

Update the settings of an organization. Only provide fields to change. Requires organization admin permission.

organization_usageA

Plan and usage of an organization: plan name, trial / active / cancelled state, channel and member counts against the plan limits.

member_listA

List the members of an organization with their profile and permission level. Use member ids to assign conversations.

member_getB

Get one organization member by id.

member_createA

Add a member to an organization by email address. Requires organization admin permission.

member_updateA

Change the permission level of an organization member. Requires organization admin permission.

member_deleteA

Remove a member from an organization. Their assigned conversations stay in the organization. Requires organization admin permission.

api_key_listA

List the named API keys of an organization (name, masked prefix, created, last used, expiry). Never returns the key values. Requires organization admin permission.

api_key_createA

Create a new named API key for an organization. The response contains the plaintext key exactly once: relay it to the user immediately and treat it as a secret; it cannot be retrieved later. Requires organization admin permission.

api_key_deleteA

Delete (revoke) an API key of an organization. Integrations using the key stop working immediately, including this MCP server if the key it authenticates with is deleted. Requires organization admin permission.

channel_listA

List the channels of an organization: email, website chat, WhatsApp, Facebook Page (MESSENGER), Instagram, LinkedIn, Threads, X, TikTok, YouTube, Google Business Profile, Bluesky, Mastodon, Telegram, Google Play and App Store, with their type, name and health. publishingEnabled marks the social accounts posts can be published to (see post_schedule).

channel_getA

Get one channel by id: type, name, connected account or mail server, signature, health and activation state.

channel_statisticsB

Statistics per channel of an organization (conversation volumes).

channel_refreshA

Fetch new messages from a channel now instead of waiting for the next scheduled retrieval.

channel_testA

Test the connection of a channel to its platform (mail server, Meta, Google, Apple, ...) and report the result.

channel_createA

Create a channel that is set up with settings or credentials: EMAIL, WEBCHAT, BLUESKY, TELEGRAM, APPSTORE, PLAYSTORE (website chat needs none; the result carries the webchatKey of its embed snippet). Pass the fields of that type. Accounts that are connected by signing in (MESSENGER, INSTAGRAM, LINKEDIN, WHATSAPP, THREADS, X, TIKTOK, YOUTUBE, GOOGLE_BUSINESS, MASTODON) are started with channel_connect instead. FirstReply checks the credentials with the platform before it saves. Needs manager rights and a free channel in the plan (organization_usage).

channel_connectA

Start connecting an account that is connected by signing in on the platform: MESSENGER, INSTAGRAM, LINKEDIN, WHATSAPP, THREADS, X, TIKTOK, YOUTUBE, GOOGLE_BUSINESS, MASTODON (MESSENGER is a Facebook Page). Returns a link (authUrl): the user opens it in a browser where they are signed in to FirstReply as the organization's owner, signs in on the platform, and FirstReply creates the channel; when the login can connect several accounts (Pages, locations, ...) FirstReply asks which one. The link is valid for 10 minutes. With channelId it reconnects that channel instead: after an expired or revoked login, or to grant more capabilities. Facebook Pages grant one capability per login, so ask for one at a time (first connect, then once more with channelId for PUBLISHING). Afterwards check channel_get: publishingAuthorized tells whether posts are allowed, channel_update turns publishingEnabled on.

channel_updateA

Change a channel: its name, whether it is active, publishing and comment handling of a social account, or the settings and credentials of its type. Only what is given changes. Turning publishingEnabled on makes the channel a target for post_schedule. A new login of a connected account is channel_connect with the channelId.

channel_playstore_service_accountA

The Google service account of the organization for Google Play reviews (created on the first call). The user invites its email in the Play Console (Users and permissions, with the permission to reply to reviews) before channel_create with type PLAYSTORE works.

channel_tiktok_creator_infoA

What a TikTok channel may post right now, read from TikTok: the privacy levels the account offers, whether comments, duets and stitches can be allowed and the longest video. A TikTok target of post_schedule needs a privacyLevel from this list.

conversation_listA

List customer conversations of an organization, highest priority and most recent activity first (by relevance when searching). All filters are optional and combine. Each result carries the subject, status, priority, classification, assignee, contact, language and the last message.

conversation_getB

Get a customer conversation by id: subject, status, priority, classification (with the AI's reason and confidence), assignment, contact, language and last message.

conversation_threadA

Get a conversation together with all of its messages in one call. Prefer this over conversation_get + conversation_messages when the full history is needed.

conversation_messagesA

List the messages of a conversation, newest first. Each message carries sender, recipients, plain text, detected language, a translation into the team's language when they differ, and draft / internal note flags.

conversation_replyA

Send a reply to the customer in a conversation, delivered through the conversation's channel (email, WhatsApp, ...). Sending is irreversible: only call it with a text the user has approved. Set internal=true to add an internal note visible to the team only, or draft=true to store a draft the team can review and send with message_send.

conversation_closeC

Close a customer conversation.

conversation_readB

Mark an unread conversation as read.

conversation_spamB

Mark a conversation as spam, or undo that with spam=false.

conversation_updateB

Update a customer conversation: assign it to a member, change priority, status, classification, subject, language, contact or spam flag. Only provide fields to change.

conversation_deleteA

Delete a conversation and all of its messages permanently.

conversation_statsB

Daily counts of opened and closed conversations of an organization for a date range.

conversation_stats_by_memberB

Conversation statistics per organization member for a date range: who handled how many conversations.

conversation_metricsB

Support metrics of an organization for a date range: totals and closing rate, first reply times (median, p90, average), AI reply share, sentiment share, closing rate over time, close reasons and closes per member.

conversation_totalsC

Current conversation totals of an organization (e.g. open and unread counts).

message_getA

Get one message by id: sender, recipients, subject, plain text, detected language, translation, attachments and the draft / internal note flags.

message_updateA

Edit a draft or an internal note before it is sent: replace its text, subject, language or translation. Only provide fields to change. Sent messages cannot be edited.

message_sendA

Send a draft message to the customer through the conversation's channel. Irreversible: only call it after the user approved the draft (read it with message_get first).

message_deleteA

Delete a message permanently, e.g. a draft or an internal note.

contact_listB

List or search the contacts (customers) of an organization: name, email, phone, messaging ids, custom fields and conversation count.

contact_getA

Get one contact by id, including custom field values and the number of conversations.

contact_createB

Create a contact. Provide at least a name or an email address.

contact_updateC

Update a contact. Only provide fields to change.

contact_deleteB

Delete a contact permanently.

contact_field_listA

List the custom contact fields defined in an organization (key, name, type: 0 = text, 1 = link, 2 = button). Use the keys with contact_create and contact_update.

classification_listA

List the classifications of an organization with their automation settings (AI reply, draft, auto close, default assignee, prompt, template).

classification_getB

Get one classification by id.

classification_createC

Create a classification.

classification_updateA

Update a classification. Only provide fields to change.

classification_deleteA

Delete a classification. Conversations that use it are moved to reassignTo or left unclassified. Use classification_impact first to see how many conversations and knowledge entries are affected.

classification_impactA

Preview what deleting a classification would affect (conversations, knowledge entries).

classification_statisticsC

How many conversations fall into each classification of an organization.

knowledge_searchA

Search the knowledge base of an organization (full text: words are AND-ed and prefix matched, "quoted phrases", -word to exclude). Omit search to browse all entries. Entries are question / answer pairs (prompt / completion); synced articles are split into chunks that share a source.

knowledge_getC

Get one knowledge entry by id.

knowledge_createA

Add a knowledge entry the AI can use for replies: a question or topic and its answer.

knowledge_updateB

Update a knowledge entry. Only provide fields to change.

knowledge_deleteB

Delete a knowledge entry permanently.

knowledge_source_listA

List the knowledge sources of an organization (websites, GitHub, Notion, GitBook, ...) with their sync state, last sync time, last error and number of synced entries.

knowledge_source_getC

Get one knowledge source by id.

knowledge_source_syncA

Start a sync of a knowledge source now. Runs in the background; check knowledge_source_status for the result.

knowledge_source_statusA

Sync status of a knowledge source: state (PENDING, SYNCING, SUCCESS, ERROR), last sync time, last error, entry count.

ai_draft_replyA

Generate an AI reply draft for a conversation using the organization's configured prompts and knowledge base. Returns the draft without sending it.

ai_promptA

Run a free-form prompt through the organization's AI: it answers with the organization's persona and response rules and, unless disabled, the knowledge base entries matching the prompt. Use it to draft texts or answer questions from the knowledge base. Include any conversation context in the prompt itself.

ai_translateA

Translate a text into a language, e.g. a reply into the customer's language before conversation_reply. The language of the text is detected first: when it already is the target language the text comes back untouched with translated=false. An empty translation means the translation failed.

ai_testA

Simulate an incoming customer message: returns the classification the AI would assign, whether it would be spam, and the reply it would give, without creating a conversation. Useful to check classifications, prompts and knowledge.

searchA

Search conversations, contacts, knowledge entries and messages of an organization in one call. Returns the top matches per type with the total count per type. Words are AND-ed and prefix matched. Use "quoted phrases", -word to exclude, and the operators from:, subject:, is:<open|closed|unread|read|assigned|unassigned|ai>, has:<attachment|draft>, before:, after:.

template_listA

List or search the reply templates of an organization. A template can have language variants that reference it as parent.

template_getA

Get one reply template by id, with its plain text and HTML.

template_createC

Create a reply template.

template_updateB

Update a reply template. Only provide fields to change.

template_deleteB

Delete a reply template permanently.

prompt_listB

List or search the saved AI prompts of an organization. Classifications reference a prompt for their AI replies, and ai_prompt can apply one.

prompt_getC

Get one saved prompt by id.

prompt_createC

Create a saved AI prompt.

prompt_updateB

Update a saved prompt. Only provide fields to change.

prompt_deleteB

Delete a saved prompt permanently.

webhook_listA

List the webhooks of an organization: target URL and subscribed events.

webhook_getC

Get one webhook by id.

webhook_createA

Create a webhook that POSTs the given events to a URL. Deliveries are signed with a secret: call webhook_rotate_secret to obtain one.

webhook_updateA

Update the target URL or events of a webhook. Only provide fields to change.

webhook_deleteB

Delete a webhook. The target stops receiving events immediately.

webhook_testA

Send a test event to a webhook and report the delivery result (status code, response).

webhook_rotate_secretA

Generate a new signing secret for a webhook. The response contains the secret exactly once; the previous secret stops validating immediately.

filter_listA

List the saved conversation filters of the authenticated user in an organization, with their criteria and conversation counts.

filter_getB

Get one saved conversation filter by id.

filter_createB

Save a conversation filter (a named view in the channel). All criteria are optional and combine.

filter_updateA

Update a saved conversation filter. Only provide fields to change; criteria not given keep their value.

filter_deleteC

Delete a saved conversation filter.

post_listA

List the social media posts of an organization, newest first (order asc for upcoming posts, soonest first). Each post carries its text, status, scheduled time and its targets (one per channel) with their publish state and latest metrics.

post_getA

Get a social media post by id: text, status, schedule, media and its targets (one per channel) with publish state, error, link to the published post and latest metrics.

post_metricsA

Metric snapshots (views, reach, likes, comments, shares, saves, clicks) of every target of a published post, oldest first. A metric the platform does not offer is null.

post_commentsA

The comment threads on a published post, newest first. Each thread is a conversation (commenter as contact, status, classification, last message); read one with conversation_thread. Members see the threads they may see in the channel.

post_writeA

Write the text of a social media post with the organization's AI: WRITE a post from an instruction (facts come from the knowledge base), or SHORTEN or REWRITE a text. Returns the text, with tooLong when it still exceeds maxLength. Nothing is saved: pass the text to post_create or post_schedule.

post_media_uploadA

Upload an image or video for a post from a public https address (JPEG, PNG, WebP or GIF, MP4 or MOV, up to 1 GB; the address has to report the file size). Returns the media with its id: pass it as media to post_create or post_schedule. An upload no post uses is removed after a while.

post_createA

Save a social media post as a draft. Nothing is published: schedule it with post_schedule or in FirstReply.

post_scheduleA

Schedule a social media post for a time: a new post from content and channelIds, or an existing draft (postId; content, channelIds or targets and media then replace its text, channels and media). It is published at that time unless someone changes it in FirstReply. When the organization requires approval, a member's post waits for a manager (status PENDING_APPROVAL).

post_rescheduleA

Move a social media post to another time. Text, channels and media stay; a draft stays a draft with the new planned time. When the organization requires approval, a member's post waits for a manager (status PENDING_APPROVAL).

post_analyticsA

Publishing analytics for a period (default the last 30 days, at most a year): totals, a daily series, top posts and per-channel numbers with followers. A metric no channel offers is null.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
ConversationList widgetCustomer conversations with contact, subject, status, priority and the last message
ReplyDraft widgetAn AI reply draft for a conversation that can be edited and sent
PostCard widgetA social post with its text, schedule and the status per channel
PostAnalytics widgetPublishing analytics: totals, views per day and numbers per channel
ResultCard widgetConfirms an action, such as a sent reply or a channel sign-in link

TDQS

B3.2/5.0

Scored across 99 tools

Disambiguation4/5

The resource_action naming makes nearly every tool's target obvious (channel_*, conversation_*, contact_*, post_*, webhook_*, filter_*). A few boundaries are blurry: conversation_reply vs message_send vs message_update, ai_draft_reply vs ai_prompt vs post_write, and the catch-all `search` vs knowledge_search/conversation_list; descriptions mitigate this by explicitly cross-referencing (conversation_thread preferred over get+messages). With 99 tools, the cognitive load makes occasional misselection likely but not systematic.

Naming Consistency5/5

Uniform snake_case resource_verb convention across the whole surface (channel_create, conversation_close, post_schedule, knowledge_source_sync, webhook_rotate_secret). The only deviations are the bare `search` and the ai_* prefix group, both of which read consistently within the same scheme.

Tool Count2/5

99 tools is far beyond a comfortable agent-facing surface, even for a broad support/publishing platform. Many groups (channel_*, conversation_*, knowledge_*, post_*, webhook_*, filter_*) are individually well-scoped, but the sheer breadth (channel_playstore_service_account, channel_tiktok_creator_info, webhook_test, classification_impact) risks bloating context and tool-selection errors.

Completeness4/5

Coverage is remarkably thorough: full CRUD for conversations, contacts, classifications, knowledge entries, templates, prompts, webhooks and filters, plus statistics, AI assistance and social publishing lifecycle. Notable gaps remain around knowledge sources (list/get/sync/status exist but no create or delete) and there is no conversation_create or contact merge, though these are minor workarounds.

Maintenance

ActivityNo data
ResponsivenessOutdated data