Skip to main content
Glama
grammy-mcp
by louietyj

editGeneralForumTopic

Destructive

Renames the 'General' forum topic in a Telegram supergroup by updating its name; the bot must be an administrator with can_manage_topics rights.

Instructions

Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. 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>",
      "name": "<name>"
    },
    "name": "editGeneralForumTopic"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNew topic name, 1-128 characters
chat_idYesUnique identifier for the target chat or username of the target supergroup in the format `@username`

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is known. The description adds real value beyond that by disclosing the authorization prerequisite (admin + can_manage_topics) and the return contract (True on success), though it says nothing about whether the previous name is recoverable or about rate limits.

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?

Two sentences with no wasted wording: the action and scope come first, the permission prerequisite second, and the return value last. Nothing is repeated from the schema.

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 two-parameter mutation with no output schema, the description covers purpose, permissions and success signal, which is nearly everything an agent needs. It leaves minor gaps around side effects on existing topic content and whether renaming 'General' has special restrictions.

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 coverage is 100% and both parameters document their own constraints (name length 1-128, chat_id as ID or @username). The description adds no additional meaning such as naming conventions or reserved names, so the baseline 3 is appropriate.

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?

States a specific verb (edit) and a narrowly scoped resource (the name of the 'General' topic in a forum supergroup). The explicit 'General' qualifier distinguishes it from the broader editForumTopic sibling without needing to name it.

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

Usage Guidelines4/5

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

Gives a concrete precondition — the bot must be an administrator with can_manage_topics rights — which tells the agent when the call is viable. It stops short of explicitly routing to editForumTopic for non-General topics or naming exclusions, so it is clear context rather than full when/when-not guidance.

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