Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Audit Discord application commands

audit_application_commands
Read-onlyIdempotent

Audits a Discord application's global and guild command inventories plus guild command-permission decisions, returning structural exposure evidence while omitting raw definitions and sensitive names.

Instructions

Audit the verified current Discord application's complete global and guild command inventories plus guild command-permission decisions. Returns strict structural exposure evidence that distinguishes known, inherited, defaulted, and incomplete contexts while omitting raw definitions, option descriptions, choice values, permission bitfields, profiles, and role or channel names. Persists nothing.

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

Input Schema

NameRequiredDescriptionDefault
guildIdYes

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, and the description adds real context beyond them: the output deliberately omits raw definitions, option descriptions, choice values, permission bitfields, profiles, and role/channel names, and it persists nothing. It also explains that results distinguish known, inherited, defaulted, and incomplete contexts, which is meaningful behavioral detail about the returned evidence.

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 description is two dense sentences with the scope front-loaded and no filler; the omission list is long but each item carries information about output shape. Slight cost is the heavy noun pile-up in the second sentence, which reduces scannability.

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?

With an output schema present and rich annotations, the description need not restate return structures, and it covers scope, inclusion/exclusion of data, and persistence behavior. The only minor gap is the unmentioned guildId, which is a small omission for a single-parameter tool with a strict pattern in the schema.

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?

The schema has one required parameter, guildId, with 0% description coverage, and the description never mentions it explicitly or explains its format or whether it selects the guild whose command-permission decisions are returned. The repeated mention of 'guild' scoping gives a partial hint, but the required parameter is left to the schema alone.

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 names a specific verb (audit) and a precise resource scope: the verified current application's global plus guild command inventories and guild command-permission decisions. That scope distinguishes it from siblings such as get_application_command_definition, which covers a single command, so an agent can route correctly without opening either schema.

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 the audit framing and the prerequisite that the application be 'verified current', but there is no explicit when-to-use/when-not statement and no named alternative. The agent must infer that this tool is for inventory-level exposure review rather than single-command inspection.

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