Skip to main content
Glama
discord-mcp

discord-mcp

messages_pin

Idempotent

Pin a message in a Discord channel to highlight announcements or FAQs. Provide channel and message IDs to keep key information visible for community members.

Instructions

Purpose: Pin a message in a channel.

When to use: - Highlight a community announcement / FAQ in the channel.

Returns: {pinned, channel_id, message_id}.

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": {
      "channel_id": "<channel_id>",
      "message_id": "<message_id>"
    },
    "name": "messages_pin"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_idYesChannel containing the message
message_idYesMessage to pin
audit_reasonNoReason recorded in audit log (X-Audit-Log-Reason header)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the mutation and idempotency profile is covered structurally. The description adds no behavioral context beyond that — nothing about required permissions (e.g. manage-messages), per-channel pin caps, or what happens when the message is already pinned. The 'Returns' line merely restates the output schema that already exists, which is not added value.

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?

The Purpose / When to use / Returns structure is front-loaded and easy to scan, with no filler prose. The Returns line is redundant against the existing output schema and is the one piece that does not earn its place.

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?

Annotations and an output schema carry most of the load, so the definition is callable as written. For a state-changing channel operation it is still thin: no permission prerequisite, no note on pin limits or on the idempotent behavior when the target is already pinned.

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 all three parameters (channel_id, message_id, audit_reason) are documented in the schema itself, establishing the baseline of 3. The description contributes nothing about parameter meaning — notably it never mentions the audit_reason parameter, whose presence signals that this action is logged.

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?

The description states a specific verb and resource ('Pin a message in a channel'), which is unambiguous on its own. It does not contrast itself with the obvious siblings messages_unpin or messages_list_pins, so an agent must infer the boundary from the names alone.

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?

One positive use case is given ('Highlight a community announcement / FAQ in the channel'), which is enough to imply the intended context. There is no guidance on when not to pin, no mention of the unpin counterpart, and no indication of pin-count limits or whether re-pinning an already-pinned message is a no-op.

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