Skip to main content
Glama
discord-mcp

discord-mcp

entitlements_get

Read-onlyIdempotent

Fetch a single Discord entitlement by application ID and entitlement ID to inspect its details and status.

Instructions

Purpose: Fetch a single entitlement.

Returns: entitlement shape.

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>",
      "entitlement_id": "<entitlement_id>"
    },
    "name": "entitlements_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
application_idYesYour application/bot ID
entitlement_idYesEntitlement to fetch

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": {
      -      "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"
      -  },
      -  {
      -    "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": {
      +      "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"
      +  },
      +  {
      +    "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.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered structurally. The description adds nothing beyond them except the word "single"; it does not mention error behavior for missing entitlements or any auth/permission requirements that the annotations cannot express.

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?

Two terse labeled lines with the purpose front-loaded and no filler. The "Returns:" line is largely redundant 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.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple, both params are fully documented in the schema, and an output schema exists, so little is strictly required. Still, an agent gets no signal about resolution failure, missing-scope errors, or how this differs from entitlements_list, leaving the definition only minimally adequate.

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 description coverage is 100% and both parameters (application_id, entitlement_id) are documented with snowflake patterns in the schema itself. The description adds no meaning beyond that, so the baseline 3 applies.

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?

"Fetch a single entitlement" gives a specific verb (fetch) and resource (entitlement) with the singular scope stated, which implicitly separates it from entitlements_list. It stops short of naming the sibling or describing what an entitlement is, so it is clear but not fully differentiating.

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 guidance on when to use this versus entitlements_list or entitlements_consume, no prerequisites (e.g., needing a valid application/bot ID), and no note on behavior when the entitlement does not exist. The agent must infer all of this.

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