Skip to main content
Glama
discord-mcp

discord-mcp

intelligence_classify_messages

Read-onlyIdempotent

Classify recent Discord messages into your categories using an LLM and confidence scores to triage spam, questions, support requests, or discussions.

Instructions

Purpose: Classify recent messages into provided categories using the client's LLM. Each classification carries a 0-1 confidence score.

When to use: triage spam vs. question vs. discussion; bucket support requests; segment conversations.

Returns: {classifications:[{message_id, author, category, confidence}], count, sampling_used}.

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>",
      "categories": "<categories>"
    },
    "name": "intelligence_classify_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMessages to classify (5-100, default 25)
categoriesYesCategory labels (2-20)
channel_idYesChannel to classify messages from

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower. The description adds real context by disclosing the LLM dependency and the presence of confidence scores, but it never explains the 'sampling_used' key it advertises, nor does it warn about latency or cost of an LLM-backed call. That leaves notable behavioral detail unstated.

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?

The three-part Purpose / When to use / Returns structure is front-loaded and easy to scan, with no filler sentences. The Returns block partly duplicates the output schema, which is minor waste but not harmful.

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?

With three fully-documented parameters, an output schema, and clear annotations, this tool is relatively simple and the description covers purpose, triggering scenarios, and shape of results. The 'sampling_used' field it advertises is left unexplained, which is the one gap an agent would want filled before trusting partial results.

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 100%, so the schema already documents channel_id, categories, and the 5-100 limit with its default. The description's only additions are the word 'recent' and the notion of 'provided categories' - no format, syntax, or interaction details beyond the structured fields. Baseline 3 applies.

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 opens with a specific verb-plus-resource statement ('Classify recent messages into provided categories') and names the mechanism (the client's LLM), so the agent knows exactly what the tool produces. It does not explicitly contrast itself with siblings such as intelligence_extract_entities or intelligence_moderate_content, leaving that differentiation to inference.

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

Usage Guidelines4/5

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

The 'When to use' line gives three concrete scenarios (spam triage, support bucketing, conversation segmentation) that clearly signal the intended call context. It stops short of stating exclusions or naming an alternative tool for adjacent tasks like entity extraction or summarization.

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