Skip to main content
Glama

Slack MCP Server

by piekstra

search_messages

Search for messages in a Slack workspace using a query, with options to sort by relevance or timestamp and control the number of results returned.

Instructions

Search for messages across the Slack workspace.

Args: query: Search query sort: Sort by 'score' or 'timestamp' sort_dir: Sort direction 'asc' or 'desc' count: Number of results to return

Input Schema

NameRequiredDescriptionDefault
countNo
queryYes
sortNotimestamp
sort_dirNodesc

Input Schema (JSON Schema)

{ "properties": { "count": { "default": 20, "title": "Count", "type": "integer" }, "query": { "title": "Query", "type": "string" }, "sort": { "default": "timestamp", "title": "Sort", "type": "string" }, "sort_dir": { "default": "desc", "title": "Sort Dir", "type": "string" } }, "required": [ "query" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/piekstra/slack-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server