Skip to content

guild_get_prune_count

Category: guild

Preview how many members would be pruned (kicked) for inactivity.

  • Estimate impact before calling guild_begin_prune.

days (1..30) is the inactivity threshold. include_roles scopes prune to members holding ALL listed roles (max 100).

FieldTypeRequiredDescription
guild_idstringyesGuild to query
daysintegernoInactivity threshold in days (1..30, default 7)
include_rolesarraynoMembers must have ALL these roles to be eligible

\{pruned\} (estimated kick count).

FieldTypeRequiredDescription
prunedintegeryes
PropertyValue
Read-onlyyes
Destructiveno
Idempotentyes
Open-worldyes
Confirmation requiredno

packages/mcp-core/src/tools/guild/get_prune_count.ts