Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Compile safe Discord component template

compile_component_template
Read-onlyIdempotent

Compile typed announcement, incident, poll-results, release-notes, or welcome templates into a bounded static Components V2 layout and return normalized review details without sending to Discord.

Instructions

Compile one typed bundled announcement, incident-status, poll-results, release-notes, or welcome-card template into the bounded static Components V2 layout DSL. Announcement and release-notes templates may add one normalized HTTPS link-only CTA; compilation does not grant its origin authority. Returns exact normalized components, link, mention, and notification review plus reviewed-workflow handoff guidance without contacting Discord, using the bot token for Discord access, granting authority, sending a message, or persisting content. Accepts no template source, arbitrary variable map, custom ID, callback, remote media, attachment, or raw Discord JSON.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description still adds substantial behavior: no Discord contact, no bot token use, no authority grant for CTAs, no persistence, and a full list of rejected input classes (arbitrary variable maps, custom IDs, callbacks, remote media, attachments, raw Discord JSON).

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?

Three front-loaded sentences with no wasted framing: scope first, then the CTA caveat, then outputs and exclusions. Dense but every clause carries a distinct constraint an agent needs.

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?

With an output schema present, the description correctly omits return-value detail while still summarizing the review payload (components, link, mention, notification checks). For a five-variant compiler with zero side effects, nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by stating cross-field rules the schema cannot express, notably that only announcement and release-notes accept a single normalized HTTPS link-only CTA and that notifyUserIds-style targeting is bounded. It does not explain the enum values or the per-template required field semantics, keeping it from a 5.

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?

Opens with a specific verb ('Compile') and names each of the five accepted template variants, then pins the output to the 'bounded static Components V2 layout DSL'. The explicit negatives ('without contacting Discord ... sending a message, or persisting content') separate it from the execute/verify siblings without needing to name them.

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?

Usage context is clear: this is the pure compilation/review step, and 'reviewed-workflow handoff guidance' signals it precedes an execution step. It does not explicitly name an alternative sibling (e.g. preview_component_layout or plan_component_message) or state when-not to choose this one, so it falls short of a 5.

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