Skip to main content
Glama
cappyeo

discord-mcp

templates_sync

Idempotent

Replace a Discord Guild Template snapshot with its source guild's current state, so future users receive updated settings. Requires MANAGE_GUILD permission; existing guilds unchanged.

Instructions

Purpose: Replace one Guild Template snapshot with the current state of its source guild.

Requires: Discord MANAGE_GUILD permission. This updates what future users receive from the template but does not change any existing guild.

Snapshot fidelity: After sync, use templates_diff to verify comparable drift. Discord may omit some source channel types from its official template serialization; the diff reports those separately rather than treating sync as a complete source-guild clone.

Returns: {template, untrusted_text}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
guild_idYesSource guild whose current state to snapshot
audit_reasonNoReason recorded in Discord audit log
template_codeYesGuild Template code to sync

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Adds significant behavioral context beyond the annotations: the operation requires a specific permission, does not affect existing guilds, has fidelity limitations due to Discord's serialization, and returns a specific structure. This is valuable information that annotations alone do not provide. No contradiction with annotations.

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 description is well-structured with labeled sections (Purpose, Requires, Snapshot fidelity, Returns). Every sentence serves a purpose, providing necessary context without unnecessary filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite the tool's niche purpose, the description covers prerequisites, side effects, limitations, and return format. The output schema exists, so return details are already structured; the description completes the picture with usage guidance and verification steps.

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 coverage is 100% and each parameter already has a clear description. The tool description does not add additional parameter-specific semantics beyond what the schema provides, which is acceptable given the baseline for full coverage.

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 clear verb ('Replace') and resource ('Guild Template snapshot') with the specific action of syncing from the source guild. This distinguishes it from sibling tools like templates_create, templates_modify, and templates_diff, which have different purposes.

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 provides clear context: the MANAGE_GUILD permission requirement, the effect on future vs existing guilds, and a recommendation to use templates_diff for verification. However, it does not explicitly contrast with alternatives or state when not to use it, so a small gap remains.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cappyeo/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server