Skip to main content
Glama
discord-mcp

discord-mcp

discord_get_audit_logs

Fetch recent Discord server audit log entries to review moderation events, channel and role changes, kicks, and bans; filter by limit, executor user ID, or guild ID.

Instructions

Fetch recent Discord server audit log entries (moderation events, channel/role changes, kicks, bans).

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": "discord_get_audit_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of audit log entries (1-100, default 20).
user_idNoOptional executor user ID filter.
guild_idNoOptional guild ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and leaves significant gaps: it never states that audit log access requires the privileged View Audit Log permission, whether results are paginated or ordered, or whether filtering returns an empty set versus erroring. The enumerated event types are the one piece of useful behavioral context.

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?

A single front-loaded sentence with the resource stated first and event examples parenthetically scoped. No filler, though the parenthetical list is slightly redundant with what an audit log obviously contains.

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 three-optional-parameter read tool with a fully documented schema and no output schema, the description is minimally sufficient to call it. It omits permission requirements and result shape, which matter for a privileged admin endpoint.

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%, so limit, user_id, and guild_id are already documented in the schema. The description adds only the word "recent," which loosely gestures at the default limit but supplies no syntax, ID format, or filter-combination meaning 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 ("Fetch") and resource ("Discord server audit log entries") and enumerates the event categories covered (moderation events, channel/role changes, kicks, bans). It does not explicitly contrast with a sibling, but no sibling covers audit logs, so the resource alone differentiates it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to reach for audit logs versus, say, discord_get_messages or discord_get_member for moderation history, and no prerequisites are given. The only implicit cue is "recent," which hints at a recency-bounded read but doesn't guide selection.

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