Skip to main content
Glama
karbassi

slack-mcp

by karbassi

search_files

Search for files in Slack using text queries and filters like channel, user, and file type.

Instructions

Search for files matching a query.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch text. Supports Slack modifiers like ``in:#channel``, ``from:@user``, and ``type:`` filters.
countNoResults per page (default 20, max 100).
highlightNoWrap matched terms in highlight markers in the response.
pageNo1-based page number to return.
sortNoSort by ``score`` (relevance, default) or ``timestamp`` (recency).
sort_dirNoSort direction, ``asc`` or ``desc`` (default ``desc``).
team_idNoEncoded team ID to scope the search to (for org-wide tokens).
detailedNoReturn the full, uncompacted Slack response when True.

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 only states the basic function without disclosing behavioral traits such as whether it is read-only, pagination behavior, or authorization requirements. The input schema partially covers parameter behavior but not overall transparency.

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, front-loaded sentence with no extraneous words. It is appropriately concise for the tool's simplicity.

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

Completeness2/5

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

Given the tool has 8 parameters and an output schema, the description is too sparse. It does not mention the search scope, behavior differences from similar tools, or that it supports Slack modifiers (already in schema). The output schema exists but the description lacks high-level context.

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 the baseline is 3. The description adds no extra parameter meaning beyond what the schema already provides (e.g., query supports Slack modifiers is already in the schema description).

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

Purpose4/5

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

The description clearly states 'Search for files matching a query,' which is a specific verb and resource. However, it does not differentiate from sibling tools like files_list, search_all, or search_messages, which also deal with file listing.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. Sibling tools include files_list, search_all, and search_messages, but the description does not specify the intended context or exclusions.

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