Skip to main content
Glama
sanjar-x

Claudegram

by sanjar-x

list_channels

Read-onlyIdempotent

List Telegram broadcast channels (not supergroups) with filters for archive, pinned, unread, and subscriber count. Fetch compact channel details for effective management.

Instructions

Только broadcast-каналы (без supergroup'ов).

Args: archived: 'main' — основной список, 'archive' — только архив, 'both' — всё. Default 'both' — включает архивные. limit: верхняя граница по сырому фетчу диалогов до фильтрации. only_unread: True — только с unread_count > 0. is_pinned: 'any' / 'pinned' / 'unpinned'. min_participants / max_participants: фильтр по подписчикам. compact: default True — payload в ~5x меньше.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
compactNo
archivedNoboth
is_pinnedNoany
only_unreadNo
max_participantsNo
min_participantsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare the tool as read-only, idempotent, and non-destructive. The description adds behavioral depth by explaining that 'limit' is an upper bound on the raw fetch before filtering, and 'compact' reduces payload size by ~5x. This goes beyond the annotation flags and gives the agent useful implementation details.

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?

The description is compact and well-structured using a bulleted list. The first line immediately states the core purpose and exclusion. Each parameter gets a brief, clearly formatted explanation. No superfluous words or redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the 7 optional parameters and the existence of an output schema, the description covers all necessary aspects: what type of items are returned, how filtering works, and performance-related options. It fully compensates for the lack of schema descriptions and leaves no major gaps in understanding the tool's behavior.

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

Parameters5/5

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

The input schema has 0% description coverage, so the description carries the full burden. It thoroughly explains every parameter: archived enum semantics, limit as a raw-fetch bound, only_unread filtering, is_pinned options, min/max participants as subscriber filters, and compact payload behavior. This adds meaningful context that the schema alone lacks.

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?

The description clearly identifies the tool as listing broadcast channels only, explicitly excluding supergroups. This distinguishes it from sibling tools like list_chats, list_groups, and list_pm_users. The verb 'list' and resource 'channels' are specific and unambiguous.

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?

The description states that this tool handles only broadcast channels (no supergroups), which gives clear context for when to use it over alternatives. It does not explicitly name alternative tools or state exclusions, but the scoping is implied strongly. The parameter descriptions also clarify how to control the results, e.g., archived, only_unread, and participant count filters.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sanjar-x/claudegram'

If you have feedback or need assistance with the MCP directory API, please join our Discord server