Skip to main content
Glama

format_discord_mention

Formats Discord Markdown mentions and shortcuts for users, roles, channels, timestamps, custom emojis, and slash commands from IDs so messages render correctly.

Instructions

Generate proper Discord Markdown mentions and shortcuts for users, roles, channels, timestamps, custom emojis, and slash commands

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTarget ID (User ID, Role ID, Channel ID, Unix Timestamp, Emoji ID, or Command ID)
nameNoName of emoji or slash command (required for emoji/slash_command)
typeYesType of mention/shortcut to format
styleNoTimestamp style (t=short time, T=long time, d=short date, D=long date, f=short datetime, F=long datetime, R=relative time) OR special tab name
animatedNoWhether custom emoji is animated (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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 never states that this is a pure, side-effect-free string formatter (no API calls, no state change), nor what the output looks like. It also omits the 'special_tab' type supported by the schema, so the behavioral surface described is incomplete.

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 no filler, and the supported target kinds are listed up front. It is efficient, though it could have used the remaining space to add routing or output-format value.

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?

With no annotations and no output schema, the description should explain the return value (the generated markdown string) and clarify the inverse relationship with resolve_discord_mentions. It covers the input types adequately but leaves the output and routing unspecified.

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%, and the enum values for 'type' and 'style' are already fully documented in the schema (including timestamp style meanings). The description adds no syntax or format detail beyond what the schema provides, so the baseline 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 ('Generate') and resource ('Discord Markdown mentions and shortcuts') and enumerates the supported target kinds. It is clear on its own, but it does not distinguish itself from the closely related sibling resolve_discord_mentions (the inverse operation) or get_discord_syntax_guide.

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?

There is no statement of when to use this tool versus alternatives. Given siblings like resolve_discord_mentions, get_discord_symbols, search_discord_symbols, and get_discord_syntax_guide, the agent gets no routing guidance at all, leaving the choice to inference from the name.

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