Skip to main content
Glama

Postlyra.app — Telegram posts from AI chats

List Telegram channels

list_channels
Read-onlyIdempotent

Use this when you need to list Telegram channels, groups, and chats the authorized user can manage through Postlyra.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
messageYes
channelsYes
connectUrlNo
manualSendHintNoPresent only when no channel is connected: how the user can send a post manually to any chat.
telegramAccountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / manualSendHint
      Added value: +{
      +  "description": "Present only when no channel is connected: how the user can send a post manually to any chat.",
      +  "maxLength": 1000,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / telegramAccount
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "accountHint": {
      +          "type": "string"
      +        },
      +        "displayName": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "username": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "label",
      +        "username",
      +        "displayName",
      +        "accountHint"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  3. Changed2 schema fields changed
    • addedOutput schema / properties / channels / items / properties / permissionHelp
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / connectUrl
      Added value: +{
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety and idempotency are covered structurally. The description adds one genuine behavioral constraint beyond that: results are limited to what the authorized user 'can manage,' which implies permission-scoped filtering. It stops short of noting ordering, pagination, or what happens with zero accessible channels.

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 front-loaded sentence with the usage trigger first and the resource enumeration second — no filler or hedging. 'Through Postlyra' is the only mildly redundant clause, since the tool is obviously part of this server.

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 zero-argument, read-only listing tool with a full output schema and complete safety annotations, the description covers what is returned and who it is scoped to. The only residual gaps — ordering of results and behavior when the user manages nothing — are minor and largely answerable from the output schema.

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

Parameters4/5

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

The schema accepts zero parameters, so there is no parameter semantics to explain; the baseline applies. The description correctly signals that no filtering arguments exist by framing the scope as implicit in the authorized user's permissions.

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?

Uses a specific verb ('list') with a clearly enumerated resource set ('Telegram channels, groups, and chats the authorized user can manage'), which is more precise than the name alone suggests. It does not explicitly differentiate itself from siblings, but the sibling list contains no other channel-listing tool, so the risk of confusion is minimal.

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 'Use this when you need to...' phrasing supplies an explicit trigger condition, which is better than nothing. However, the condition essentially restates the purpose, and there is no guidance on when NOT to use it or which tool to reach for instead (e.g., if a workspace-scoped variant existed).

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.