Skip to main content
Glama
karbassi

slack-mcp

by karbassi

assistant_search_context

Search Slack messages, files, channels, and users to provide context for an AI assistant. Filter results by date, channel, content type, and more.

Instructions

Search messages, files, channels, and users to provide context to an AI assistant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNo``score`` (relevance) or ``timestamp`` (recency).
afterNoOnly results after this UNIX timestamp.
limitNoResults per page (max 20).
queryYesThe search query or user prompt, e.g. ``"What is project gizmo?"``.
beforeNoOnly results before this UNIX timestamp.
cursorNoPagination cursor from a previous response's ``response_metadata.next_cursor``.
sort_dirNoSort direction — ``asc`` or ``desc``.
action_tokenNoRequired when calling with a bot token; not needed for user tokens.
include_botsNoInclude messages from bots in results.
channel_typesNoComma-separated: ``public_channel``, ``private_channel``, ``mpim``, ``im``.
content_typesNoComma-separated: ``messages``, ``files``, ``channels``, ``users``.
context_channel_idNoChannel to bias results toward.
include_context_messagesNoReturn surrounding messages for each match.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, and the description lacks disclosure of behavioral traits such as pagination behavior, authentication requirements, rate limits, or what the response contains. The description is too brief to inform about side effects or guarantees.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence of 14 words, front-loading the verb and key resources. No extraneous information, every word adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the high parameter count (13) and lack of annotations, the description is minimal. However, there is an output schema (not shown) which compensates for missing return value explanation. Still, more context on parameter usage would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all parameters have descriptions in the input schema. The description does not add additional meaning beyond the schema, meeting the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Search' and the resources 'messages, files, channels, and users', with the specific purpose 'to provide context to an AI assistant'. It distinguishes from sibling search tools like search_all and search_messages by focusing on assistant context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for AI assistant context but does not explicitly state when to use this tool versus alternatives like search_all or assistant_search_info. No when-not or exclusion criteria are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/karbassi/slack-mcp'

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