Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

channel_export

Read-onlyIdempotent

Export a Discord channel or thread history to a local file as a readable markdown transcript or JSONL, with limit, before/after and ID filtering to scope the messages saved.

Instructions

Write a channel/thread history to a local file: format "markdown" (readable transcript) or "jsonl" (one raw message per line). limit up to 5000; after/before take ids, links or times.

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": "<channel>",
      "path": "<path>"
    },
    "name": "channel_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
pathYes
afterNo
guildNo
limitNo
beforeNo
formatNomarkdown
channelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so safety is covered. The description adds real behavioral detail beyond that: it writes to a local path, offers two record shapes, and caps limit at 5000 (a constraint not encoded in the schema). It never says whether an existing file at `path` is overwritten or appended, and the local-file write sits in mild tension with readOnlyHint=true since a file is created on disk.

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?

Front-loaded with the core action, then the two formats, then pagination knobs — no wasted sentences. The telegraphic semicolon style ("limit up to 5000; after/before take ids, links or times") is terse to the point of being clipped, but it does not obscure meaning.

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?

For a tool with 8 parameters, zero schema descriptions, and no output schema, the description should account for more of the surface. It covers the format/limit/pagination behavior an agent most needs, but the target directory (`path`), guild/bot scoping, and overwrite semantics are left entirely to inference.

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 4 of them meaningfully — `format` values and their semantics, the 5000 cap on `limit`, and that `after`/`before` accept ids, links, or times. `channel`, `guild`, `bot`, and especially `path` (overwrite behavior, absolute vs relative) go unexplained, so compensation is partial.

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?

Specific verb and resource: "Write a channel/thread history to a local file," plus the two output representations. An agent can distinguish this from siblings like channels_list or channel_follow without opening the schema. It stops short of naming any sibling as the alternative, so not a 5.

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?

Usage is implied by the export framing (pull history out to disk) but there is no explicit when-to-use / when-not or named alternative for retrieving message history. The format and limit details hint at intent (bulk transcript export vs. structured analysis) but leave the routing decision to the agent.

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