Skip to main content
Glama
Discord MCP - Discord server management MCP for AI agents

Discord MCP - Discord server management MCP for AI agents

Get recent events

get_recent_events

Retrieve and clear buffered events from a subscription, oldest first, so AI agents can process queued updates without duplicates.

Instructions

Read and clear buffered events from a subscription, oldest first.

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": {
      "subscription_id": "<subscription_id>"
    },
    "name": "get_recent_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax events to return. Default 25.
subscription_idYesThe id subscribe_events returned, also shown by list_event_subscriptions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.2
    • addedInput schema / properties / subscription_id / description
      Added value: +"The id subscribe_events returned, also shown by list_event_subscriptions."
  2. Changed1 schema field changedv1.4.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observedv1.0.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and destructiveHint=false; the description adds the crucial non-obvious behavior that reading also clears the buffer and that ordering is oldest-first. That is real information an agent needs (the data is consumed, so a second call returns different results), though it does not say what happens when the buffer is empty or whether clearing is reversible.

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?

A single front-loaded sentence with no filler; the consume-and-clear behavior and ordering are both stated compactly.

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?

There is no output schema, so the description should ideally indicate what an event contains or what an empty result looks like; it does not. It is adequate for a two-parameter call with full schema coverage, but the return-side picture is left blank.

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 coverage is 100%, with both limit (default 25, max 100) and subscription_id already documented in the schema. The description adds no extra semantics such as whether limit truncates without clearing or links the subscription_id provenance to a workflow, so 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?

Uses a specific verb pair and resource: 'Read and clear buffered events from a subscription'. This distinguishes it from a general event reader by scoping to a per-subscription buffer, though it never names sibling tools like list_events or get_event to sharpen the contrast.

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 'from a subscription', and the schema note that subscription_id comes from subscribe_events hints at the prerequisite sequence. However, the description itself gives no explicit when-to-use versus when-not guidance and no 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