Skip to main content
Glama
theYahia

@theyahia/tgstat-mcp

by theYahia

get_channel_avg_reach

Retrieve average post reach for a Telegram channel over a chosen date range, grouping results by hour, day, week, or month to analyze engagement trends.

Instructions

Average post-reach history of a channel over time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupNoGrouping periodday
end_dateNoRange end (YYYY-MM-DD)
channel_idYesChannel @username / t.me link / TGStat ID
start_dateNoRange start (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are present, and the description does not disclose side effects, return behavior, data source, or limitations. Since it is a read-like operation the risk is low, but the description carries the full burden and does not elaborate.

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 a single clear sentence with no unnecessary words. It is appropriately sized and front-loaded with the core purpose.

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

Completeness3/5

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

The tool has no output schema and the description does not specify the response format, units, or whether the average is computed per post or per period. The parameter set covers the main inputs, but return semantics are left implicit.

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?

The schema covers all four parameters with concise descriptions: channel_id format, date patterns, and grouping period. However, it does not explain whether start_date/end_date are both required for a meaningful range or how the default group 'day' affects the returned history.

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?

Description clearly identifies the resource (a channel) and metric (average post-reach) over time. It is distinguishable from siblings like get_channel_stats or get_channel_views, though it is phrased as a noun phrase rather than an explicit verb.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus related tools such as get_channel_stats, get_channel_views, or get_channel_posts. The description does not mention preferred use cases or conditions that would make this tool the right choice.

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