Skip to main content
Glama
discord-mcp

discord-mcp

entitlements_list

Read-onlyIdempotent

Lists entitlements for a Discord application, returning matching records and a count. Filter by user, guild, SKU, or exclude ended/deleted items.

Instructions

Purpose: List entitlements for an application.

Returns: {entitlements:[...], count}.

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": {
      "application_id": "<application_id>"
    },
    "name": "entitlements_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoDiscord entitlement ID
limitNo
beforeNoDiscord entitlement ID
sku_idsNo
user_idNoDiscord user ID
guild_idNoDiscord guild (server) ID
exclude_endedNo
application_idYesYour application/bot ID
exclude_deletedNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.28.0
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": {},
      -    "properties": {
      -      "count": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "entitlements": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "application_id": {
      -              "description": "Discord application ID",
      -              "pattern": "^\\d{17,20}$",
      -              "type": "string"
      -            },
      -            "consumed": {
      -              "type": "boolean"
      -            },
      -            "deleted": {
      -              "type": "boolean"
      -            },
      -            "ends_at": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "guild_id": {
      -              "anyOf": [
      -                {
      -                  "description": "Discord guild (server) ID",
      -                  "pattern": "^\\d{17,20}$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "id": {
      -              "description": "Discord entitlement ID",
      -              "pattern": "^\\d{17,20}$",
      -              "type": "string"
      -            },
      -            "sku_id": {
      -              "description": "Discord SKU ID",
      -              "pattern": "^\\d{17,20}$",
      -              "type": "string"
      -            },
      -            "starts_at": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "type": {
      -              "maximum": 9007199254740991,
      -              "minimum": -9007199254740991,
      -              "type": "integer"
      -            },
      -            "user_id": {
      -              "description": "Discord user ID",
      -              "pattern": "^\\d{17,20}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "sku_id",
      -            "application_id",
      -            "type",
      -            "deleted"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "entitlements",
      -      "count"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "category": {
      -        "enum": [
      -          "client",
      -          "server"
      -        ],
      -        "type": "string"
      -      },
      -      "code": {
      -        "type": "string"
      -      },
      -      "recovery_hint": {
      -        "type": "string"
      -      },
      -      "retriable": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "code",
      -      "retriable",
      -      "category",
      -      "recovery_hint"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": {},
      +    "properties": {
      +      "count": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "entitlements": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "application_id": {
      +              "description": "Discord application ID",
      +              "pattern": "^\\d{17,20}$",
      +              "type": "string"
      +            },
      +            "consumed": {
      +              "type": "boolean"
      +            },
      +            "deleted": {
      +              "type": "boolean"
      +            },
      +            "ends_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "guild_id": {
      +              "anyOf": [
      +                {
      +                  "description": "Discord guild (server) ID",
      +                  "pattern": "^\\d{17,20}$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "id": {
      +              "description": "Discord entitlement ID",
      +              "pattern": "^\\d{17,20}$",
      +              "type": "string"
      +            },
      +            "sku_id": {
      +              "description": "Discord SKU ID",
      +              "pattern": "^\\d{17,20}$",
      +              "type": "string"
      +            },
      +            "starts_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "type": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            },
      +            "user_id": {
      +              "description": "Discord user ID",
      +              "pattern": "^\\d{17,20}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "sku_id",
      +            "application_id",
      +            "type",
      +            "deleted"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "entitlements",
      +      "count"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "category": {
      +        "enum": [
      +          "client",
      +          "server"
      +        ],
      +        "type": "string"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "recovery_hint": {
      +        "type": "string"
      +      },
      +      "retriable": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "retriable",
      +      "category",
      +      "recovery_hint"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observedv0.22.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds essentially nothing beyond that: it discloses no pagination mechanics for the after/before/limit cursors, no rate-limit or bot-auth context, and its return-shape note duplicates the existing output schema.

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 two labeled lines are short and front-load the purpose before the return value, with no filler. The 'Returns:' sentence is wasted space given an output schema exists, which keeps it from a 5.

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?

For a nine-parameter, cursor-paginated list tool this is too thin: filtering semantics, pagination direction, and the identity of the required application scope are all left to the schema. The presence of an output schema excuses it from describing returns, but not from explaining how the many filters interact.

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

Parameters2/5

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

Schema description coverage is only 56%, with limit, exclude_ended and exclude_deleted carrying no descriptions at all, and the description does not compensate for any of them. It never mentions SKU, user, or guild filters, nor what excluding ended or deleted entitlements actually means, so nine parameters remain largely unexplained.

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 description states a specific verb and resource ('List entitlements') plus scope ('for an application'), so the core operation is unambiguous. It does not differentiate from the entitlements_get or entitlements_consume siblings, leaving the agent to infer the distinction from names alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no statement of when not to use it, and no pointer to alternatives such as entitlements_get for a single entitlement. The only implied constraint is that listing is scoped to an application, taken from the required parameter.

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