Skip to main content
Glama
ferelking242

Discord MCP Ultimate

discord_get_audit_log

Read-only

Fetches a Discord server's audit log to reveal administrative actions like bans, kicks, and role or channel changes, with actor and timestamp. Read-only; requires View Audit Log permission.

Instructions

Fetch the server's audit log, the record of administrative actions (bans, kicks, role/channel changes, etc.) with who performed them and when. Requires the View Audit Log permission. Returns { entries: [...] } with id, action, executor, target, reason, createdAt. Read-only.

Input Schema

NameRequiredDescriptionDefault
limitNoHow many recent entries to fetch (1–100). Default 25.
guild_idYesDiscord server (guild) ID (snowflake).
action_typeNoOptional Discord AuditLogEvent numeric ID to filter by (e.g. 22 = MemberBanAdd). Accepts event IDs newer than the bundled enum. Omit for all action types.

Output Schema

NameRequiredDescriptionDefault
entriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description reinforces the safety profile with 'Read-only' plus the required 'View Audit Log' permission. It also pre-announces the return envelope ({ entries: [...] } with named fields), which is behavioral value beyond annotations; only pagination/cursor behavior is unaddressed.

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?

Three tight sentences: what it is, what it needs, what it returns. No redundancy, and the core purpose is front-loaded in the first clause.

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?

Covers purpose, permission prerequisite, and return shape even though an output schema exists, so an agent can call it confidently. The missing piece is disambiguation from the similarly named discord_read_audit_trail sibling.

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%, so guild_id, limit, and action_type are already fully documented, including the enum and the 'newer than the bundled enum' note. The description adds nothing about parameters, 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?

States a specific verb and resource ('Fetch the server's audit log') and enumerates the content type (bans, kicks, role/channel changes, executor, timestamp). It's clear and concrete, but it never distinguishes itself from the sibling discord_read_audit_trail, which an agent could easily confuse with this Discord audit log.

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?

The prerequisite ('Requires the View Audit Log permission') is stated, which is useful context, but there is no explicit when-to-use guidance or exclusion vs. alternatives such as discord_read_audit_trail. Usage is only implied by the description of contents.

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