Skip to main content
Glama
discord-mcp

discord-mcp

voice_get_current_user_state

Read-onlyIdempotent

Fetch your bot's own voice state in a Discord guild to check its current voice channel, mute and deaf flags, and request-to-speak timestamp before acting.

Instructions

Purpose: Fetch the bot's own voice state in a guild (/guilds/{guild.id}/voice-states/@me).

Returns: voice state shape (channel, mute/deaf flags, request_to_speak_timestamp).

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": {
      "guild_id": "<guild_id>"
    },
    "name": "voice_get_current_user_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
guild_idYesGuild to query

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": {
      -      "channel_id": {
      -        "anyOf": [
      -          {
      -            "description": "Discord channel ID (snowflake)",
      -            "pattern": "^\\d{17,20}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "deaf": {
      -        "type": "boolean"
      -      },
      -      "guild_id": {
      -        "description": "Discord guild (server) ID",
      -        "pattern": "^\\d{17,20}$",
      -        "type": "string"
      -      },
      -      "mute": {
      -        "type": "boolean"
      -      },
      -      "request_to_speak_timestamp": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "self_deaf": {
      -        "type": "boolean"
      -      },
      -      "self_mute": {
      -        "type": "boolean"
      -      },
      -      "self_stream": {
      -        "type": "boolean"
      -      },
      -      "self_video": {
      -        "type": "boolean"
      -      },
      -      "session_id": {
      -        "type": "string"
      -      },
      -      "suppress": {
      -        "type": "boolean"
      -      },
      -      "user_id": {
      -        "description": "Discord user ID",
      -        "pattern": "^\\d{17,20}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "guild_id",
      -      "channel_id",
      -      "user_id",
      -      "session_id",
      -      "deaf",
      -      "mute",
      -      "self_deaf",
      -      "self_mute",
      -      "self_video",
      -      "suppress",
      -      "request_to_speak_timestamp"
      -    ],
      -    "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": {
      +      "channel_id": {
      +        "anyOf": [
      +          {
      +            "description": "Discord channel ID (snowflake)",
      +            "pattern": "^\\d{17,20}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "deaf": {
      +        "type": "boolean"
      +      },
      +      "guild_id": {
      +        "description": "Discord guild (server) ID",
      +        "pattern": "^\\d{17,20}$",
      +        "type": "string"
      +      },
      +      "mute": {
      +        "type": "boolean"
      +      },
      +      "request_to_speak_timestamp": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "self_deaf": {
      +        "type": "boolean"
      +      },
      +      "self_mute": {
      +        "type": "boolean"
      +      },
      +      "self_stream": {
      +        "type": "boolean"
      +      },
      +      "self_video": {
      +        "type": "boolean"
      +      },
      +      "session_id": {
      +        "type": "string"
      +      },
      +      "suppress": {
      +        "type": "boolean"
      +      },
      +      "user_id": {
      +        "description": "Discord user ID",
      +        "pattern": "^\\d{17,20}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "guild_id",
      +      "channel_id",
      +      "user_id",
      +      "session_id",
      +      "deaf",
      +      "mute",
      +      "self_deaf",
      +      "self_mute",
      +      "self_video",
      +      "suppress",
      +      "request_to_speak_timestamp"
      +    ],
      +    "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, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered outside the description. The description adds the useful detail that this resolves the caller's own (@me) state rather than a specified member, but nothing about auth scopes, error cases, or rate limits.

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 labeled lines, front-loaded with purpose and endpoint, then return shape; nothing is padded. The 'Returns' line partly duplicates the existing output schema, which is the only mild redundancy.

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 one-parameter read tool with rich annotations and an output schema, the description covers the essentials: what it fetches, for whom, from which endpoint. Only the omission of any sibling routing keeps it short of full completeness.

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% for the single guild_id parameter ('Guild to query'), and the description adds no format, constraint, or example beyond it. Baseline 3 is appropriate when the schema carries the meaning.

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?

States a specific verb and resource — 'Fetch the bot's own voice state in a guild' — and even pins the endpoint (`/guilds/{guild.id}/voice-states/@me`). The word 'own' implicitly separates it from voice_get_user_state, but no sibling is named, so the differentiation is inferred rather than stated.

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 'own state' framing implies when this tool applies, but there is no explicit when-to-use/when-not guidance and no pointer to voice_get_user_state or guild_modify_current_voice_state for adjacent needs. Usage is implied-only.

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