Skip to main content
Glama
discord-mcp

discord-mcp

messages_unpin

Idempotent

Remove a pinned message from a Discord channel to rotate pinned content or clear stale announcements. This unpins the message without deleting it.

Instructions

Purpose: Remove a pinned message from a channel.

When to use: - Rotate pinned content; un-stick stale announcements.

When NOT to use: - Removing the message itself → use messages_delete (this only un-pins).

Returns: {unpinned, 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_unpin"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_idYesChannel containing the message
message_idYesMessage to unpin
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

A4.3/5.0
Behavior4/5

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

The annotations already cover safety and idempotency (destructiveHint=false, idempotentHint=true), and the description adds the key behavioral detail that this only un-pins rather than removing the message. It does not cover permissions or error conditions, but for a simple mutation with strong annotation coverage this is adequate.

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 description is well-structured with clear labels (Purpose, When to use, When NOT to use, Returns) and front-loads the core action. The 'Returns' line is somewhat redundant because an output schema exists, but overall the wording is efficient and free of fluff.

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 the tool's simplicity, complete annotations, and an output schema, the description provides all the essential context for correct invocation. Minor details like audit_reason handling or required permissions are left to the schema and annotations, which is reasonable here.

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?

The input schema has 100% description coverage for all three parameters, so the schema already explains channel_id, message_id, and audit_reason. The description adds no additional parameter-level meaning; baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb and resource: 'Remove a pinned message from a channel.' It explicitly distinguishes this operation from message deletion by pointing to `messages_delete`, making its scope unmistakable.

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 explicit 'When to use' and 'When NOT to use' sections. The exclusion directly names the alternative tool (`messages_delete`) and clarifies the difference, leaving no ambiguity about when to select this tool.

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