Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

events_read

Read-onlyIdempotent

Read live Discord gateway events since connection, filtered by type, channel, user, or text regex. Pass the returned last_seq as after_seq to fetch only newer events.

Instructions

Events received since the gateway connected (starts it if needed), filtered by type (MESSAGE_CREATE, MESSAGE_REACTION_ADD, GUILD_MEMBER_ADD, THREAD_CREATE, INTERACTION_CREATE, ...), channel, user, text regex. Pass the returned last_seq as after_seq next time to get only newer events.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "events_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
userNo
guildNo
limitNo
typesNo
channelNo
containsNo
after_seqNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavioral context beyond them: the call may start the gateway if it is not running (a side effect on a read), and it documents the returned cursor, which matters because there is no output schema.

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?

Two sentences, front-loaded with the resource and scope, then the filtering dimensions, then the cursor instruction. The parenthetical type enumeration is long but earns its place by supplying the only available enum-like guidance; no filler text.

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?

For an eight-parameter read tool with no output schema, the description covers the core semantics and the return-value contract via last_seq. Gaps remain around the bot, guild, and limit parameters and any pagination limits, but an agent can call the tool correctly for the common case.

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%, so the description must carry the parameter burden and it only partly does. It explains types (with example values), channel, user, contains as a text regex, and after_seq as a cursor, but says nothing about bot, guild, or limit — three of eight parameters remain opaque.

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?

States a specific verb and resource: read events received since the gateway connected, with the filtering dimensions enumerated. It does not name or contrast with the sibling tools events_list or events_wait, so an agent must infer how this differs from a plain event listing.

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?

It gives one concrete usage instruction — pass the returned last_seq as after_seq next time to get only newer events — which implies an incremental polling pattern. It offers no explicit when-to-use/when-not guidance and no mention of when events_wait or events_list would be preferable.

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