Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Read exact Discord application-command definition

get_application_command_definition
Read-onlyIdempotent

Reads an exact global or guild application command definition, including typed options, choices, and localizations, anchored to a specified guild for auditing without invocation authority.

Instructions

Read one exact global or guild command definition owned by the pinned current application, anchored to an explicitly readable guild. Returns bounded transient untrusted descriptions, nested typed options, choices and observed localizations. Optional fields distinguish omitted, null and reported; unknown fields, locales and future enum values are count-only partial evidence. Applies no defaults and grants no invocation or mutation authority. No raw payload, persistence, inventory scan or name fallback; live propagation and localization completeness are unverified.

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>",
      "scope": "<scope>",
      "commandId": "<commandId>"
    },
    "name": "get_application_command_definition"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYes
guildIdYesExact allowed guild read anchor; also the command guild for guild scope
commandIdYesExact command ID owned by the verified current application

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, yet the description still adds substantive traits: descriptions are "bounded transient untrusted" data, unknowns are "count-only partial evidence," no defaults are applied, no invocation authority is granted, and propagation/localization are unverified. These are genuine expectations an agent could not derive from the annotation set, though the telegraphic phrasing ("count-only partial evidence") is hard to operationalize.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is correctly front-loaded and the passage is short, but the back half is a compressed run of negative clauses ("No raw payload, persistence, inventory scan or name fallback") that reads as terse shorthand and costs more parsing effort than its information density justifies.

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?

With annotations covering safety and idempotency and an output schema covering return values, the description only needs to supply scope, preconditions and reliability caveats — all of which are present, including the untrusted/transient and unverified-propagation warnings. It is complete enough to call correctly, with only minor ambiguity around the scope parameter.

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 67% with two of three parameters documented, so the schema does most of the work. The description reinforces that guildId is a read anchor and commandId must be an exact owned ID with "no name fallback," but it adds little about the undescribed "scope" enum or value formats beyond what the schema already states.

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?

"Read one exact global or guild command definition owned by the pinned current application" states a specific verb, resource and scope, and the closing "No ... inventory scan or name fallback" draws a functional line against the plan_/execute_ siblings and audit_application_commands. It stops short of naming an alternative, so an agent must infer the boundary rather than being routed to it.

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?

"Anchored to an explicitly readable guild" and "no name fallback" tell the agent the preconditions for a valid call (a real readable guild ID and an exact command ID, not a name), which is real selection context. What is missing is an explicit positive statement like "use this before plan_* to confirm a command exists" naming the sibling to pick instead.

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