Skip to main content
Glama

resolve_discord_mentions

Converts plain-text Discord channel, role, and username mentions into valid clickable mention syntax for correct rendering and notifications.

Instructions

Automatically converts plain-text channel names (#general), role names (@Moderator), and usernames (@alice) in a message to valid clickable Discord mention syntax (<#id>, <@&id>, <@id>)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesMessage text containing plain-text mentions (e.g. "Check #rules-and-guidelines and ask @Moderator")
guildIdNoDiscord server ID (defaults to DISCORD_GUILD_ID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses the transformation semantics (name -> id-encoded mention) and implies a guild context is needed, but says nothing about unresolved names, permission requirements, or error behavior.

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

Conciseness4/5

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

A single, front-loaded sentence with inline examples that earn their place. No filler, though the parenthetical syntax mappings make it slightly dense.

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

Completeness3/5

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

For a simple two-parameter utility tool it covers the core contract, but it omits failure handling for unresolvable names and gives no signal distinguishing it from the near-identical format_discord_mention sibling, leaving a real selection gap.

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 description coverage is 100%, so both parameters are already documented in the schema, including guildId's env-var default. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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 (converts) and resource (plain-text mentions to clickable syntax) with concrete input/output examples (#general -> <#id>). However, it does not distinguish itself from the sibling format_discord_mention, which appears to serve a highly overlapping purpose.

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

Usage Guidelines2/5

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

The description gives no when-to-use context, no prerequisites, and never names an alternative. With siblings like format_discord_mention, get_discord_symbols, and get_discord_syntax_guide in the list, the agent gets no help choosing among them.

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