Skip to main content
Glama
discord-mcp

discord-mcp

intelligence_extract_entities

Read-onlyIdempotent

Extract structured entities—decisions, action items, dates, mentions, URLs, and code—from recent Discord messages to power recaps, decision audits, and digests.

Instructions

Purpose: Pull structured entities (decisions, action items, dates, mentions, URLs, code) from recent Discord messages using the client's LLM.

When to use: post-meeting recap, audit log of decisions, weekly digest builder.

Returns: {entities:[{type, value, source_message_id?, context?}], 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>"
    },
    "name": "intelligence_extract_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMessages to scan (5-100, default 50)
channel_idYesChannel to scan
entity_typesNoEntity types to extract

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 declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds that extraction is done by the client's own LLM, and the advertised 'sampling_used' return field hints that the scan may be partial. It does not state cost/rate implications of the LLM call or whether overlapping windows produce duplicates.

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 Purpose/When/Returns structure is front-loaded and very short, with every line carrying signal. The Returns line largely restates the output schema that already exists, which is mild redundancy rather than clutter.

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 an output schema present and full param coverage, the description need only frame intent and the LLM dependency, both of which it does. Remaining gaps — pagination/recency window semantics and whether duplicate or overlapping extractions occur — are minor for a read-only extraction tool.

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%, with limit bounds, channel_id pattern, and the entity_types enum all documented in the schema, so baseline 3 applies. The description only echoes 'recent messages' without adding syntax, defaults, or interpretation beyond the schema.

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 names a specific verb and resource ('Pull structured entities ... from recent Discord messages') and enumerates the entity kinds (decisions, action items, dates, mentions, URLs, code), which is clearly not summarization or classification. It stops short of naming any sibling tool to draw the contrast explicitly.

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?

Three concrete usage scenarios (post-meeting recap, audit log of decisions, weekly digest builder) give an agent a clear context for selecting this tool. There is no statement of when NOT to use it, nor any pointer to intelligence_summarize_channel or intelligence_classify_messages as alternatives.

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