Skip to main content
Glama
cappyeo

discord-mcp

entitlements_list

Read-onlyIdempotent

Retrieve Discord application entitlements with optional filters for user, guild, SKU, pagination, and exclusion of ended or deleted records. Returns entitlement list and count.

Instructions

Purpose: List entitlements for an application.

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

Input Schema

TableJSON 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

TableJSON 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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the return shape `{entitlements:[...], count}`, which is useful, but it does not disclose pagination behavior, default limits, or filter semantics. It provides some value beyond annotations but remains thin.

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

Conciseness5/5

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

The description is extremely compact: a purpose line and a return line. It is front-loaded and contains no filler. Every word contributes to the agent's understanding of the tool's core function.

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?

This is a 9-parameter tool with pagination (after/before), filtering (sku_ids, user_id, guild_id), and boolean flags (exclude_ended, exclude_deleted), but the description only states purpose and return shape. It leaves the agent without guidance on how to construct a correct request or when to use the optional filters. Even with an output schema present, the description is too sparse for the tool's complexity.

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?

The description does not explain any parameters. Schema coverage is only 56%, leaving parameters like limit, exclude_ended, and exclude_deleted without descriptions. The description also fails to clarify that after/before are pagination cursors or how sku_ids, user_id, and guild_id filter results. It does not compensate for the schema's incomplete parameter documentation.

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?

Description states a specific action ('List'), a concrete resource ('entitlements'), and a clear scope ('for an application'). This clearly distinguishes it from sibling tools like entitlements_get, entitlements_consume, and entitlements_create_test by placement in the list/get/modify pattern.

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?

The description implies its use case: call it to list entitlements for an application. However, it does not explicitly state when to prefer this over entitlements_get, nor does it mention any exclusions or alternative tools. The usage guidance is entirely implicit from the tool name and purpose.

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