Skip to main content
Glama
telegram-user-mcp

telegram-user-mcp

by tarikra1

pin_message

Pin a specific message in a Telegram chat, group, or channel by message ID, with an optional toggle to notify members.

Instructions

Pin a message in a chat/group/channel.

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": {
      "target": "<target>",
      "message_id": "<message_id>"
    },
    "name": "pin_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
notifyNo
targetYes
message_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden and delivers little: it does not say whether pinning requires elevated permissions, whether it replaces an existing pin, whether it is idempotent, or what happens to the previous pinned message. The only behavioral hint is the word "Pin", which implies mutation but discloses nothing about side effects or reversibility.

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

Conciseness3/5

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

A single front-loaded sentence with no wasted words, but its brevity comes from omission rather than precision. It is appropriately sized as a headline but underspecified for a mutating tool with three undocumented parameters.

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?

An output schema exists, so return values need not be explained, but the rest is inadequate: a mutation tool with zero annotations, 0% parameter coverage, and an unresolved `notify` behavior leaves the agent guessing. One more sentence on target format, permissions, and notify semantics would close the gap.

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

Parameters1/5

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

Schema description coverage is 0% across three parameters, and the description adds no meaning at all. The ambiguous `target` parameter (chat/group/channel identifier? username?) and the `notify` flag (presumably whether members are alerted) are left entirely unexplained, so an agent could easily pass the wrong identifier form or silently notify users.

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") plus the scope of chat types ("chat/group/channel"). No sibling tool in the list pins messages, so the action is distinguishable, though the description does not explicitly contrast itself with siblings like delete_messages or edit_message.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus alternatives, no mention of prerequisites (e.g., admin rights in a channel), and no note on how to handle a message that is already pinned or how to unpin. The agent must infer all invocation context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.