Skip to main content
Glama
grooving6

discord-mcp

by grooving6

Get audit log

get_audit_log

Browse your Discord server's audit log, optionally filtering by action type or user, to track important events.

Instructions

Browse the server's audit log. Optionally filter by action type or the user who performed the action. Requires View Audit Log permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userNoFilter by the user who performed the action (id, @mention, or username).
limitNoNumber of entries to fetch (1-100). Defaults to 25.
actionNoFilter by action type name, e.g. 'MemberKick', 'MemberBan', 'ChannelCreate', 'MessageDelete'. Uses the AuditLogEvent enum name.
serverNoServer (guild) name or id. Optional when the bot is in a single server or DISCORD_GUILD_ID is set.
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It indicates read-only access and permission requirements but omits details like pagination, ordering, rate limits, or what the response contains. The 'Browse' verb implies read-only, but lacks depth.

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?

Two sentences, no redundant words. Every sentence adds value: purpose, optionality, and requirement. Highly efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, so the description should explain return values. It does not describe the structure of audit log entries (e.g., timestamp, action, target). Parameter coverage is good, but overall completeness is lacking for a browsing tool.

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 baseline is 3. The description adds context that filters are optional and mentions the permission, but does not elaborate on parameter meanings beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool browses the server's audit log, using a specific verb and resource. It distinguishes from sibling tools like get_server_info or list_channels by naming a unique resource.

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

Usage Guidelines4/5

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

The description mentions optional filters and a required permission (View Audit Log). It does not explicitly contrast with alternatives, but as the only audit log tool, usage context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/grooving6/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server