Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Export Discord guild members

export_guild_members
Read-onlyIdempotent

Exports a bounded page of guild members as JSON with user IDs, roles, and membership state. Check coverage, then continue from the last exported ID to fetch the next page.

Instructions

Export a bounded member-directory observation as caller-retained JSON. Returns user IDs, role IDs, and reported membership state. Inspect coverage and explicitly continue from the last exported ID. Requires the Guild Members intent.

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": {
      "guildId": "<guildId>"
    },
    "name": "export_guild_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
guildIdYes
maxBytesNo
pageLimitNo
afterUserIdNo
memberLimitNo

Output Schema

NameRequiredDescriptionDefault
atomicYes
limitsYes
statusYes
guildIdYes
artifactYes
coverageYes
warningsYes
botUserIdYes
startedAtYes
finishedAtYes
applicationIdYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, so the safety profile is covered. The description adds genuinely new context: the result set is deliberately bounded, the export is caller-retained JSON, continuation is cursor-based via the last exported ID, and the Guild Members privileged intent is a hard prerequisite. Output field content is sketched but partially duplicated by the output schema.

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?

Four short sentences, front-loaded with the outcome and payload shape, then return fields, then continuation procedure, then the prerequisite. Minor jargon cost in phrases like 'bounded member-directory observation' and 'reported membership state' that could be plainer, but nothing is wasted.

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 paginated export with a declared output schema, the description covers purpose, payload, continuation semantics, and an access prerequisite, which is close to what an agent needs. The remaining hole is parameter disambiguation among the three bounding controls, which is the main thing an agent could get wrong.

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 0% across five parameters, so the description must carry the load. It gives meaning to the continuation cursor ('continue from the last exported ID') and gestures at bounding, but never distinguishes memberLimit from pageLimit from maxBytes, nor explains that afterUserId and guildId are Discord snowflakes. Half the parameters remain semantically opaque.

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 ('Export a bounded member-directory observation as caller-retained JSON') and clarifies the payload is handed to the caller rather than streamed elsewhere. It does not name or contrast with list_guild_members or search_guild_members, so an agent must still infer which sibling suits a plain listing versus a bounded export.

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?

Gives real operational guidance: inspect coverage, then continue explicitly from the last exported ID, plus the prerequisite that the Guild Members intent is required. It never states when this tool is preferable to list_guild_members or search_guild_members, so the selection decision against siblings is left implicit.

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