Skip to main content
Glama
markswendsen-code

@striderlabs/mcp-discord

search_messages

Find messages in a Discord server by matching text, with optional channel filtering and result limit.

Instructions

Search for messages containing specific text in a server's channels

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return (1-100, default: 25)
queryYesText to search for in messages
server_idYesThe Discord server (guild) ID to search in
channel_idNoOptional: limit search to a specific channel

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. 'Search' implies a read-only operation, but it does not explicitly confirm that, nor does it mention access restrictions, match behavior, or what happens when no matches are found.

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 filler. Every word contributes to the core purpose, making it easy for an agent to parse quickly.

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?

The core purpose and required parameters are clear enough to invoke the tool, but with no annotations and no output schema, the return value and behavioral details are left implicit. The optional channel_id filtering is only discoverable in the schema.

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?

Since the input schema has 100% coverage for its four parameters, the baseline is 3. The description adds no meaningful parameter detail beyond evoking server_id and query with 'server's channels' and 'specific text.'

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 uses a specific verb ('Search'), identifies the resource ('messages'), and clearly scopes the action to 'a server's channels' and 'specific text.' This distinguishes it from siblings like get_messages and send_message.

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 usage context is implied: use when you need messages containing specific text in a server. However, there is no explicit guidance on when not to use it or which sibling tool to prefer in other situations.

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

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/markswendsen-code/mcp-discord'

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