Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

roles_list

Read-onlyIdempotent

Retrieve Discord roles from highest to lowest, including permissions and member counts, to audit access and assign roles accurately.

Instructions

Roles, highest first, with permissions and member counts.

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": "roles_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
guildNo
with_countsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description usefully adds that results are ordered highest-first and include permissions and member counts, which is genuine return-shape context. It does not say whether counts can be suppressed or how large the result may be.

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?

A single short fragment with the most important facts front-loaded and no filler. It is a fragment rather than a sentence, which slightly weakens readability but wastes nothing.

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 three-parameter tool with no parameter documentation and no output schema, the description should explain what bot and guild scope mean and what happens when they are omitted. Ordering and payload hints help, but the gaps are substantial.

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?

All three parameters (bot, guild, with_counts) have 0% schema description coverage. The phrase 'member counts' faintly hints at with_counts, but bot and guild are never explained, and the default of with_counts=true suggests counts are always present, which conflicts with it being an option.

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 names the resource (roles) and adds two distinguishing facts: ordering ('highest first') and payload contents ('permissions and member counts'). It is not a tautology, though the verb 'list' is only implied by the noun phrase 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 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 call this versus siblings like permissions_list or members_list, and no note on when to scope by bot or guild. The agent must infer usage entirely from the name.

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