Skip to main content
Glama
discord-mcp

discord-mcp

users_get_current

Read-onlyIdempotent

Fetches the authenticated Discord bot or user profile to confirm identity and retrieve the account ID for subsequent guild command calls.

Instructions

Purpose: Fetch the authenticated bot/user profile (/users/@me).

When to use: confirm bot identity; get bot ID for commands_list_guild etc.

Returns: {id, username, global_name, avatar, bot, verified}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "users_get_current"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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": {
      -      "avatar": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "bot": {
      -        "type": "boolean"
      -      },
      -      "global_name": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "id": {
      -        "description": "Discord user ID",
      -        "pattern": "^\\d{17,20}$",
      -        "type": "string"
      -      },
      -      "username": {
      -        "type": "string"
      -      },
      -      "verified": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "username",
      -      "global_name",
      -      "avatar",
      -      "bot"
      -    ],
      -    "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": {
      +      "avatar": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "bot": {
      +        "type": "boolean"
      +      },
      +      "global_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Discord user ID",
      +        "pattern": "^\\d{17,20}$",
      +        "type": "string"
      +      },
      +      "username": {
      +        "type": "string"
      +      },
      +      "verified": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "username",
      +      "global_name",
      +      "avatar",
      +      "bot"
      +    ],
      +    "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

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered; the description adds the endpoint path and the identity scope ('authenticated'). The 'Returns' line partly duplicates the output schema, and it says nothing about authentication failure or rate-limit behavior, keeping it short of a 5.

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 three labeled sections (Purpose / When to use / Returns) front-load the operation and scope, and every line carries information. There is no filler or redundancy across the sentences.

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?

For a zero-argument read tool with full annotations and an output schema, the definition covers what it does, why to call it, and roughly what comes back. The only real omission is failure behavior when the caller is unauthenticated, which is a minor gap given the rich structured metadata.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. No parameter-level meaning is missing because none exist.

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 description states a specific verb and resource ('Fetch the authenticated bot/user profile') and pins the endpoint `/users/@me`, which uniquely separates it from the generic `users_get` sibling. An agent can identify the operation without opening any schema.

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 explicitly names two use cases ('confirm bot identity', 'get bot ID for `commands_list_guild`') and grounds them in a real downstream consumer, which is genuinely actionable. It stops short of stating when not to use it, e.g. that you should call `users_get` instead when you need another user's profile.

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