Skip to main content
Glama
discord-mcp

discord-mcp

guild_get_widget_image_url

Read-onlyIdempotent

Generate a public Discord guild widget PNG URL for embedding in webpages or markdown. Synthesizes the URL and style without making a REST call.

Instructions

Purpose: Synthesize a public widget PNG URL. No REST call is performed - the agent decides whether to fetch.

When to use: - Embed a guild widget image on a webpage or in markdown.

When NOT to use: - Want JSON data → use guild_get_widget. Want admin settings → use guild_get_widget_settings.

Returns: {url, style}. The URL is https://discord.com/api/guilds/{id}/widget.png?style={style}.

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": {
      "guild_id": "<guild_id>"
    },
    "name": "guild_get_widget_image_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNoWidget style: 'shield' (default, compact) or 'banner1'..'banner4' (large banner variants)
guild_idYesGuild to render

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare this a read-only, idempotent, non-destructive, closed-world operation, so the bar is lower — but the description still adds the critical behavioral fact that no REST call is made and the agent decides whether to fetch. It also discloses the exact output shape ({url, style}) and the URL construction, which is behavior an agent cannot get from the 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 definition is split into Purpose, When to use, When NOT to use, and Returns, with the most consequential constraint (no REST call) front-loaded in the first line. Every sentence carries information; nothing is redundant with the schema or annotations.

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?

Although an output schema exists, the description still names the return shape and URL template, so the agent knows what it will receive and how to use it. For a two-parameter URL-builder with routing to siblings, nothing needed for correct invocation 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 schema already documents guild_id and the style enum, establishing a baseline of 3. The description goes further by showing the template `.../guilds/{id}/widget.png?style={style}`, clarifying exactly how both parameters influence output. It does not restate the enum semantics, which the schema handles.

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 gives a specific verb and resource — 'Synthesize a public widget PNG URL' — and immediately bounds the scope with 'No REST call is performed'. This distinguishes it from siblings that actually return JSON data, so an agent can identify it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It provides an explicit 'When to use' (embedding a widget image on a webpage or in markdown) and an explicit 'When NOT to use' section that routes to two named alternatives, guild_get_widget for JSON data and guild_get_widget_settings for admin settings. The selection conditions are stated rather than inferred.

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