Skip to content

Commit 0737170

Browse files
authored
Merge pull request #59 from korotovsky/fetch-message
fetch message by full slack url
2 parents 1e160b0 + c01f984 commit 0737170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func NewMCPServer(provider *provider.ApiProvider, logger *zap.Logger) *MCPServer
9696
s.AddTool(mcp.NewTool("conversations_search_messages",
9797
mcp.WithDescription("Search messages in a public channel, private channel, or direct message (DM, or IM) conversation using filters. All filters are optional, if not provided then search_query is required."),
9898
mcp.WithString("search_query",
99-
mcp.Description("Search query to filter messages. Example: 'marketing report'."),
99+
mcp.Description("Search query to filter messages. Example: 'marketing report' or full URL of Slack message e.g. 'https://slack.com/archives/C1234567890/p1234567890123456', then the tool will return a single message matching given URL, herewith all other parameters will be ignored."),
100100
),
101101
mcp.WithString("filter_in_channel",
102102
mcp.Description("Filter messages in a specific channel by its ID or name. Example: 'C1234567890' or '#general'. If not provided, all channels will be searched."),

0 commit comments

Comments
 (0)