Skip to main content
Glama
theYahia

@theyahia/tgstat-mcp

by theYahia

list_categories

Retrieve available Telegram channel category codes. Optionally set a language for localized names.

Instructions

List available channel category codes (use as the category filter in search).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoResponse language for namesru

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4/5.0
Behavior3/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. It correctly implies a read-only operation and mentions the output (category codes), but does not disclose details like response format or any side effects. For a simple list tool this is adequate, but not rich.

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?

A single, front-loaded sentence that conveys the purpose and usage without any filler. Every word earns its place.

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?

The tool is simple: one optional parameter and no output schema. The description tells the agent what it returns and how to use the result. It could mention the output structure, but that is not essential for a list of codes.

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% (the 'lang' parameter has a description), so the baseline is 3. The description does not add anything about the parameter, but it is not necessary given the schema covers it.

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 states a clear verb ('list') and resource ('channel category codes'), and explicitly notes its intended use as a filter in search, which differentiates it from sibling tools like search_channels or get_channel.

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 tells the agent exactly when to use it (to obtain category codes for the 'category' filter in search). It lacks explicit 'when not to use' or alternatives, but the context is clear enough for a reference tool.

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