Skip to main content
Glama
discord-mcp

discord-mcp

by etak64n

find_messages

Read-onlyIdempotent

Search a Discord channel or thread for literal text case-insensitively, newest first, with optional date bounds and pagination. Returns bounded excerpts for reviewing matching messages.

Instructions

Search literal text, case-insensitively, newest first in one channel/thread. since is inclusive and until exclusive (ISO 8601 with timezone). Continue with next_before_id as before_id and the same filters. chars bounds each excerpt.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "channel_id": "<channel_id>",
      "query": "<query>"
    },
    "name": "find_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
charsNo
limitNo
queryYes
sinceNo
untilNo
before_idNo
channel_idYes
scan_limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds real behavioral context beyond them: matching is literal rather than regex/fuzzy, matching is case-insensitive, results come newest first, and since/until are inclusive/exclusive ISO 8601 with timezone. It does introduce 'next_before_id', a field absent from the input schema, leaving its origin (presumably the response) unexplained.

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?

Four short sentences, each carrying distinct information, with the core search semantics front-loaded before pagination and excerpt sizing. The telegraphic phrasing ('chars bounds each excerpt') is slightly terse but never wasteful.

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?

With no output schema and zero schema descriptions on 8 parameters, the definition should say more than it does: the meaning of limit versus scan_limit, the shape of returned excerpts, and whether next_before_id is null on exhaustion are all unstated. It is adequate for calling the tool but leaves the agent guessing on result handling.

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 description coverage is 0% across 8 parameters, so the description must carry the load. It explains query semantics, since/until inclusivity and format, before_id as a pagination cursor, and chars as excerpt length, but says nothing about limit, scan_limit, or channel_id versus thread scope — roughly half the parameters remain opaque.

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 states a specific verb and resource: literal, case-insensitive text search scoped to one channel/thread, ordered newest first. That is far more specific than the bare name, but it never distinguishes this from the sibling read_context, so an agent must infer the boundary.

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?

Pagination usage is spelled out — continue by passing next_before_id as before_id with the same filters — which is genuinely actionable. However, there is no statement of when to prefer this over read_context, and no note on what happens when the term is not found or the scan_limit is exhausted.

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

Deploy Server

Other Tools