Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Plan Discord message pin change

plan_message_pin
Read-onlyIdempotent

Prepare a keyed plan to pin or unpin one exact message in an allowlisted Discord channel after verifying identity, permissions, current state, and thread membership—without writing Discord content.

Instructions

Prepare a process-bound keyed plan to pin or unpin one exact message in a separately allowlisted Discord channel. Verifies application and bot identity, exact current state, thread membership, channel permission evidence, and the dedicated PIN_MESSAGES permission without writing or persisting Discord content.

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": {
      "auditReason": "<auditReason>",
      "channelId": "<channelId>",
      "desiredState": "<desiredState>",
      "messageId": "<messageId>",
      "operationKey": "<operationKey>"
    },
    "name": "plan_message_pin"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelIdYes
messageIdYes
auditReasonYes
desiredStateYes
operationKeyYesUnique one-shot operation key; keep unchanged through review and never reuse after reservation

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A3.5/5.0
Behavior4/5

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

Adds real context beyond annotations: it verifies application/bot identity, current state, thread membership, channel permission evidence, and PIN_MESSAGES permission, and explicitly states it does not write or persist Discord content — consistent with readOnlyHint and destructiveHint=false. It stops short of saying what a failed verification returns or how long a prepared plan remains valid.

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?

Two dense sentences with the action front-loaded and the verification list grouped at the end. Every clause carries information; the 'process-bound keyed' phrasing is jargon-heavy but not filler.

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?

An output schema is declared, so return values need not be explained, and annotations already cover the safety profile. The description supplies the verification story and the read-only guarantee, which is most of what an agent needs; only the follow-up execution path and auditReason intent are left implicit.

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 only 20% (just operationKey), so the description must carry the load and largely doesn't. It hints at desiredState ('pin or unpin') and channelId/messageId scope, but says nothing about auditReason, the numeric-only ID pattern, or how the plan binds to operationKey.

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 ('Prepare a process-bound keyed plan to pin or unpin one exact message in a separately allowlisted Discord channel'), with clear scope limits (one exact message, allowlisted channel only). The plan-not-execute framing implicitly separates it from execute_message_pin, though no sibling is named explicitly.

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?

The 'plan' frame implies this is the pre-execution step, but the description never says to call it before execute_message_pin, nor when to prefer plan_direct_message_change or plan_webhook_thread_message_change. No explicit when-not or prerequisite guidance beyond the allowlist mention.

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