Skip to main content
Glama
cappyeo

discord-mcp

intelligence_classify_messages

Read-onlyIdempotent

Classify recent Discord messages into custom categories to triage spam, questions, and support requests, with 0-1 confidence scores.

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}.

Input Schema

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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, so the description is not burdened with the safety profile. It adds valuable behavioral context beyond annotations: the classification is performed 'using the client's LLM' (implying cost/latency), it covers 'recent messages,' and the return value includes 'sampling_used,' which hints at possible sampling behavior rather than full classification.

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 concise and well-structured with clear 'Purpose,' 'When to use,' and 'Returns' sections. Each section earns its place, and the most important information is front-loaded in the first sentence.

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

Completeness5/5

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

With a full output schema provided, the description does not need to explain return structure in detail, but it still summarizes the return object and adds sampling_used. Combined with annotations and clear usage guidance, the description is complete for an agent to select and invoke the tool correctly.

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 parameters (channel_id, categories, limit) are already well-documented in the schema. The description does not add parameter-specific semantics beyond the general suggestion of 'provided categories' and 'recent messages,' which is acceptable given the high schema coverage; baseline 3 is appropriate.

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 opens with a specific verb ('Classify') and resource ('recent messages') plus category labels, clearly distinguishing it from sibling tools like intelligence_summarize_channel and intelligence_extract_entities. It also adds the unique detail that each classification carries a 0-1 confidence score.

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' section explicitly lists concrete use cases: triage spam vs. question vs. discussion, bucket support requests, and segment conversations. It does not explicitly name alternatives or state when not to use, but the provided context is clear enough for an agent to select the tool appropriately.

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

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