Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Preview Discord component layout

preview_component_layout
Read-onlyIdempotent

Validate and normalize a bounded Discord Components V2 layout locally, returning deterministic outlines, counts, normalized links, defaults, and safety warnings without contacting Discord.

Instructions

Validate and normalize one bounded Components V2 layout locally. Returns a deterministic outline, recursive counts, aggregate Unicode text length, exact normalized HTTPS link destinations and origins, explicit defaults, mention notification projection, and safety warnings without contacting Discord or persisting content. Supports Text Display, Separator, Container, callback-free link-row nodes, and managed request-row Buttons. A request Button creates only a private bounded broker request after publication and click-time scope checks; local preview grants no origin, ingress, write, or administration authority. Explicit layoutFormat:media adds Section/Thumbnail/Gallery/File nodes, disabled controls and symbolic upload/retain declarations without file I/O; file-only and gallery-only layouts are allowed. Empty authored alt text is rejected.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A3.9/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 behavior beyond them: no network contact, no persistence, no file I/O, no origin/ingress/write/admin authority, request Buttons only opening a bounded broker request after publication and click-time scope checks, and rejection of empty authored alt text. For a validate/preview tool that is exactly the extra context an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first clause, but the second sentence is a long comma-separated inventory of return values (outline, counts, text length, link origins, defaults, warnings, projection) that restates what the existing output schema should already provide. Several dense jargon clauses could be trimmed without losing selection-critical information.

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?

Given a large nested schema and a present output schema, the description covers the things structured fields cannot: no-network/no-persistence semantics, authority boundaries, and the media-mode gating. It is only slightly over-explained on return values and never explicitly routes to sibling tools.

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 baseline is 3, but the description adds real meaning on top: layoutFormat:media unlocks Section/Thumbnail/Gallery/File nodes and symbolic upload/retain declarations, file-only and gallery-only layouts are permitted, and notifyUserIds produces a mention notification projection. That clarifies inter-parameter effects the schema alone does not convey.

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 ('Validate and normalize one bounded Components V2 layout locally') and pins the scope with 'without contacting Discord or persisting content'. It does not name any sibling (e.g., execute_component_message or compile_component_template), so the distinction from alternatives is inferred from 'locally' 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: this is a local preview that grants no authority and precedes 'publication', which suggests running it before a publish/execute step. There is no explicit when-to-use/when-not, no mention of a sibling to prefer for a different task, and no stated precondition.

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