Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

message_pin

Idempotent

Pin or unpin a Discord message to keep important content visible or remove it from pinned items.

Instructions

Pin (pin=True) or unpin a message.

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": {
      "message": "<message>"
    },
    "name": "message_pin"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
pinNo
guildNo
reasonNo
channelNo
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description's one contribution is disclosing the toggle behavior — that the same call can add or remove a pin — which is genuinely behavioral, but it omits permission requirements, rate-limit behavior, and why a reason would be supplied.

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?

One compact sentence with zero wasted words, and the flag semantics are front-loaded. However, the brevity crosses into under-specification for a six-parameter mutation tool rather than being efficient.

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

Completeness2/5

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

With six parameters, no output schema, and a write operation (readOnlyHint=false, openWorldHint=true), the description should convey permission needs, channel/guild resolution, and the purpose of reason. None of that appears, leaving the agent to guess at most of the call surface.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the parameter burden, yet it only explains 'pin'. The required 'message' id is self-evident, but guild, channel, bot (context resolution) and reason (audit-log justification) are left entirely undocumented in both the schema and the description.

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 and resource ('Pin ... a message') and makes the dual direction explicit with the '(pin=True)' clause. An agent can tell it apart from message_edit and message_delete at a glance, though the unpin form is only implied through the flag rather than named as a separate action.

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?

Usage is only implied: the reader infers that pin=False is the way to remove an existing pin, but the description never says when to pin versus when to unpin, nor does it mention prerequisites such as needing Manage Messages permission or an existing pin to remove. No alternatives or exclusions are offered.

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