Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

List privacy-safe Discord guild audit entries

list_guild_audit_entries
Read-onlyIdempotent

Lists a bounded, privacy-minimized page of Discord guild audit entries with exact actor, action, and target filters, cursor-based older/newer pagination, and optional reasons.

Instructions

List one bounded privacy-minimized guild audit page with exact actor, action and affected-entity target filters. Default and before pages descend; after pages ascend, with afterEntryId 0 starting at the oldest available entry. Before and after are mutually exclusive. Every returned and lookahead row must match ordering, cursor and selected filters. Continuation uses the last returned row only when lookahead proves more observations; an empty or short page proves no complete history or target absence. Embedded objects, change/option values and non-snowflake targets stay omitted; reasons require opt-in. Target filtering has official OpenAPI support but live behavior is unverified; no fallback scan or target-object fetch occurs.

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": {
      "guildId": "<guildId>"
    },
    "name": "list_guild_audit_entries"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum privacy-minimized entries to return
guildIdYesExact permitted Discord guild ID
targetIdNoExact positive affected-entity target_id filter, checked on every returned row; grants no target-object read access
actionTypeNoOptional exact numeric Discord audit action type
actorUserIdNoOptional exact executor user ID filter
afterEntryIdNoExact cursor for the next ascending newer page; 0 explicitly starts from the oldest available entry; excludes beforeEntryId
beforeEntryIdNoOptional exact audit entry cursor for the next older page
includeReasonsNoExplicitly include audit reasons; change and option values remain omitted

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds substantial context beyond them: embedded objects, change/option values and non-snowflake targets are omitted, reasons require includeReasons opt-in, empty or short pages prove absence of history, and target filtering is official-OpenAPI-supported but live-unverified with no fallback scan. These are exactly the behavioral caveats an agent needs before relying on results.

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?

The purpose is front-loaded and each sentence carries distinct information about ordering, cursor, filters or omissions. It is dense and jargon-heavy ("lookahead proves more observations") in places, which slightly slows comprehension, but there is no filler.

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

Completeness5/5

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

For an 8-parameter paged read tool with annotations and an output schema, the description covers everything an agent needs: scope, filter semantics, pagination direction, cursor continuation rules, privacy omissions, and a stated caveat about unverified target filtering. Return-value shape is rightfully left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description still adds real meaning on top of it, notably mutual exclusivity of before/after, that afterEntryId 0 anchors at the oldest entry, that targetId is checked on every returned row and grants no target-object read, and that reasons are opt-in only. It stops short of adding any syntax or format detail the schema lacks.

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 opening sentence names a specific verb and resource ("List ... guild audit page") plus its scope: bounded, privacy-minimized, with exact actor/action/target filters. An agent can tell it apart from a single-entry reader like get_guild_audit_entry by the page/cursor language, but no sibling is named explicitly, so differentiation is inferred rather than stated.

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?

Gives concrete operational guidance: before pages descend and after pages ascend, before/after are mutually exclusive, afterEntryId 0 starts at the oldest entry, and continuation uses the last returned row only when lookahead proves more observations. It never says when to choose this tool over the audit_* or get_guild_audit_entry siblings, so routing guidance is incomplete rather than absent.

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