Skip to main content
Glama
grammy-mcp
by louietyj

declineSuggestedPost

Destructive

Declines a suggested post in a direct messages chat, requiring the bot's can_manage_direct_messages admin right. Use it to reject unwanted suggested posts and return True on success.

Instructions

Use this method to decline a suggested post in a direct messages chat. The bot must have the 'can_manage_direct_messages' administrator right in the corresponding channel chat. Returns True on success.

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": {
      "chat_id": "<chat_id>",
      "message_id": "<message_id>"
    },
    "name": "declineSuggestedPost"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesUnique identifier for the target direct messages chat
commentNoComment for the creator of the suggested post; 0-128 characters
message_idYesIdentifier of a suggested post message to decline

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is covered structurally. The description adds genuinely useful context beyond that: the bot must hold the 'can_manage_direct_messages' administrator right in the channel chat, and the call returns True on success. It does not say whether the decline can be undone or what happens to an existing comment, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with zero filler, and the core action is front-loaded before the permission requirement. Each sentence contributes: action, precondition, return value. Nothing needs trimming.

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?

For a three-parameter tool with full schema coverage and a stated return value, the description covers the essentials: what it does, the admin-right prerequisite, and the True return. The remaining gap is the absence of any guidance on the optional comment or reversibility of the decline.

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 chat_id, message_id, and the optional comment are already documented in the schema. The description adds no meaning about parameter behavior, such as how the optional comment is surfaced or whether it is delivered to the post creator. Baseline 3 applies when the schema carries the load.

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: 'decline a suggested post in a direct messages chat.' An agent can distinguish this from approveSuggestedPost and other message actions without opening the schema. It does not explicitly name the sibling alternative, so it stops short of a 5.

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 implied by the verb and by the required permission, but the description never states when to choose this over approveSuggestedPost or what conditions make declining appropriate. No exclusions or alternative routing are given, only an access prerequisite.

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