Skip to main content
Glama

slack_search_messages

Read-onlyIdempotent

Search across Slack workspace messages using query syntax like from:@user or in:#channel. Returns up to 100 results with optional rich fields including attachments and reactions.

Instructions

Search messages across the Slack workspace

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query (supports Slack syntax like from:@user, in:#channel)
countNoNumber of results (max 100, default 20)
include_rich_message_fieldsNoInclude Slack message attachments, blocks, metadata, files, and reactions when present
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint. The description adds no behavioral context beyond 'search', so it does not enhance transparency for an agent.

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

Conciseness4/5

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

One concise sentence with no fluff. It could be slightly more structured (e.g., specifying behavior), but for a simple read tool it is adequate.

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

Completeness4/5

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

Given full schema descriptions and comprehensive annotations, the tool is well-specified for a search operation. No output schema exists but search results are standard in Slack API.

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% and each parameter is well-described (query syntax, count limit, include_rich_message_fields). The description does not add additional meaning beyond the schema.

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?

Title 'Search Messages' and description 'Search messages across the Slack workspace' clearly state the action and scope. It implicitly distinguishes from siblings like slack_conversations_history (channel specific) but doesn't name alternatives.

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 workspace-wide search but provides no explicit when-to-use or when-not-to-use guidance. No alternatives are mentioned, though the sibling list offers similar tools.

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

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