Skip to main content
Glama

route_set_topics

Настраивает маршрут для групп с темами (форумов Telegram) и групп вообще: из каких тем источника брать сообщения (по умолчанию — из всех), в какую тему приёмника писать (по умолчанию — в общую), подписывать ли копию названием темы, брать ли из группы только сообщения администраторов. Что передано, то и меняется. Ответ на копию уходит ответом на исходное сообщение — Telegram кладёт его в ту же тему.

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": {
      "routeId": "<routeId>"
    },
    "name": "route_set_topics"
  }
}

Input Schema

NameRequiredDescriptionDefault
routeIdYesНомер маршрута — из списка маршрутов человека (действие routes.list).
toTopicNoВ какую тему группы-форума-приёмника писать копии; null — в общую.
adminsOnlyNoИз группы-источника брать только сообщения администраторов.
fromTopicsNoИз каких тем группы-форума-источника брать сообщения: номера из topics.list, до 20; пустой список или null — из всех тем.
showTopicNameNoПодписывать копию названием темы источника («Тема «Вопросы»»).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=false, so the description must carry behavioral weight — and it does: partial mutation, default fallbacks, admin-only filtering, and reply-threading behavior ('Ответ на копию уходит ответом на исходное сообщение — Telegram кладёт его в ту же тему'). Missing are any permission/prerequisite or idempotency notes, hence not 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.

Conciseness4/5

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

A single dense paragraph that front-loads the core purpose and enumerates the mutable aspects cleanly, followed by the defaults and the reply-threading note. Every sentence carries information; the closing reply-threading sentence is slightly tangential but still useful context rather than 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?

For a 5-parameter mutation tool with no output schema, the description covers partial-update semantics, defaults, topic sourcing, and reply placement — enough to invoke it correctly. It omits what the response returns and any error/prerequisite behavior, so it stops short of fully complete.

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 the baseline is 3. The description's statements about toTopic defaulting to the general topic and fromTopics defaulting to all topics largely restate what the schema already documents ('null — в общую', 'пустой список или null — из всех тем'), adding the 'what you pass is what changes' framing rather than new syntax or format detail.

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?

The description names a specific verb ('Настраивает маршрут') and a precise resource scope (topics of source/receiver forum groups, admin-only filtering, topic-name labelling). It is clearly distinguishable from sibling setters such as route_set_group or route_set_delay, though it never names those siblings explicitly.

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?

It gives clear operating context: partial-update semantics ('Что передано, то и меняется'), the defaults when fromTopics/toTopic are omitted (all topics / general topic), and points to topics.list for source topic numbers. It does not state when to prefer route_set_group or route_set_two_way instead, so explicit exclusions are absent.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.