Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Audit Discord application entitlements

audit_application_entitlements
Read-onlyIdempotent

Audit present-access entitlements for one guild or user beneficiary across up to 10 current-app SKUs; excludes ended/deleted history by default and returns read-only evidence with no mutations.

Instructions

Audit one bounded present-access entitlement page for exactly one configured guild or user beneficiary and one to ten configured current-application SKUs. Ended and deleted records are excluded by default; includeEnded and includeDeleted explicitly select history, which does not establish present access. Returns exact entitlement and SKU IDs, normalized type, optional validity interval, consumed state, bounded page evidence, and count-only future evidence while omitting guild-entitlement purchaser users, profiles, product text, payment data, raw payloads, and unknown values. Persists nothing and cannot consume, create, delete, or otherwise mutate entitlements.

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": {
      "beneficiary": "<beneficiary>",
      "skuIds": "<skuIds>"
    },
    "name": "audit_application_entitlements"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoOptional exact record ID passed as Discord's after cursor
limitNo
beforeNoOptional exact record ID passed as Discord's before cursor
skuIdsYesExact configured current-application SKU IDs
beneficiaryYes
includeEndedNoInclude ended entitlement history; historical records do not establish present access
includeDeletedNoInclude deleted entitlement history; historical records do not establish present access

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered structurally. The description still adds real value on top: it states nothing is persisted, that mutation is impossible, that results are page-bounded, and it enumerates what is deliberately redacted (purchaser users, profiles, payment data, raw payloads). However, it discloses no rate-limit or pagination-completion behavior, so it does not reach the top of the scale.

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?

Three sentences, front-loaded with the scope statement, then the history semantics, then the return/redaction contract. It is dense but each sentence does work; the only slack is the return-payload enumeration, which partially duplicates the output schema.

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 a read-only auditing tool with an output schema, seven parameters, and a nested beneficiary union, the description covers scope, defaults, history semantics, redaction, and side-effect freedom. An agent has everything needed to call it correctly without opening the 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 71%, and the description compensates well: it establishes the one-to-ten SKU bound, the exactly-one-beneficiary constraint, and the semantic difference between the default present-access view and the history flags. It adds less for after/before cursors, which are only implied by 'bounded page', leaving the schema's own cursor descriptions to carry that detail.

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 first sentence names a specific verb (audit) and resource (present-access entitlement page) and bounds the scope precisely: one beneficiary (guild or user) and one to ten current-application SKUs. The closing sentence ('persists nothing and cannot consume, create, delete, or otherwise mutate') separates it cleanly from the execute_application_entitlement_consumption sibling without needing to name 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?

It gives clear selection rules for the two history flags — ended and deleted records are excluded by default and only appear when includeEnded/includeDeleted are set, with the explicit caveat that history 'does not establish present access'. What it lacks is any routing statement telling the agent when to pick this over audit_application_skus or audit_application_subscriptions, so the agent must infer the boundary.

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