Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Search indexed threads

search_threads
Read-onlyIdempotent

Search Discord threads by name, tags, or time within a specific parent channel, with metadata-only results by default and optional starter messages when authorized.

Instructions

Run one native indexed thread name/tag/time query for an exact separately scoped parent after explicit incidental-starter-content acknowledgement. Metadata output is the default and needs no enabled Message Content; optional starter output requires fresh authoritative enabled evidence and strict identity binding. Reports actual200 versus202, unknown retry units, raw-row offset progress and partial private/projection coverage. No automatic indexing retry/poll, fallback scan, Gateway, write, chronological-starter or complete-history claim. Provider type eligibility/filter/index semantics remain schema-backed and runtime-unverified.

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": {
      "guildId": "<guildId>",
      "channelId": "<channelId>",
      "acknowledgeIncidentalStarterContent": "<acknowledgeIncidentalStarterContent>"
    },
    "name": "search_threads"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
slopNo
limitNo
maxIdNo
minIdNo
offsetNo
sortByNo
tagIdsNo
guildIdYes
archivedNo
channelIdYes
sortOrderNo
tagSettingNo
continuationNo
includeStarterMessagesNoDefault false; true requires fresh authoritative enabled Message Content and returns only safely bound starter views
acknowledgeIncidentalStarterContentYesExplicitly accept that indexed search can receive starter messages transiently even when metadata-only output is selected

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

C2.8/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, but the description adds real behavioral facts beyond them: metadata output is default and needs no Message Content, starter output needs 'fresh authoritative enabled evidence', results report actual200 vs 202, unknown retry units, raw-row offset progress, and partial private/projection coverage. That is meaningful operational disclosure a caller could not get from the annotations, though the phrasing is dense enough that some of it is hard to operationalize.

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

Conciseness2/5

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

It is a single wall of compressed compound clauses with heavy hyphenated jargon ('complete-history claim', 'separately scoped parent'). Sentence count is low but information density without parsing aids makes it effectively unreadable rather than concise. Key facts like the 200/202 distinction and offset continuation are not front-loaded or segmented.

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?

An output schema exists, so return values need not be explained, and the behavioral caveats are unusually thorough for a read-only tool. However, with 16 parameters including a nested continuation object at 13% schema coverage, the description is far too thin on input semantics for a tool of this complexity. It is complete on caveats and incomplete on invocation.

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

Parameters2/5

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

Schema description coverage is 13% across 16 parameters, so the description carries most of the burden and largely fails. It gestures at name/tag/time filtering and 'offset progress', but leaves slop, archived, tagSetting, sortBy, sortOrder, maxId/minId, limit, and continuation semantics entirely unexplained in both schema and prose. Only includeStarterMessages and acknowledgeIncidentalStarterContent are documented, and those are documented in the schema, not here.

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

Purpose3/5

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

The opening clause does identify a specific verb and resource: 'Run one native indexed thread name/tag/time query' against a 'separately scoped parent'. But the purpose is buried under stacked jargon ('native indexed', 'separately scoped parent after explicit incidental-starter-content acknowledgement'), and nothing contrasts it with search_messages, list_threads, or list_active_threads. An agent can guess it searches threads but cannot cleanly separate it from siblings.

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?

The negative list ('No automatic indexing retry/poll, fallback scan, Gateway, write, chronological-starter or complete-history claim') describes what the tool will not do rather than when to choose it over an alternative. There is no positive 'use this when...' statement and no named sibling for routing. The only actionable precondition is the acknowledgement flag, which is already enforced by the schema const.

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