Skip to main content
Glama
theYahia

@theyahia/tgstat-mcp

by theYahia

get_channel_views

Retrieve the total post-views history for a Telegram channel over time, with options to group by day, hour, week, or month and specify a date range.

Instructions

Total post-views 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

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool returns a history over time, but does not mention whether it is read-only, what aggregation or granularity is used, any rate limits, or what the response structure looks like. For a data retrieval tool, this is minimal disclosure.

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?

The description is a single, concise sentence with no redundancy. It is front-loaded with the core action and resource. It could be more informative, but for conciseness alone it is efficient.

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

Completeness2/5

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

For a tool with 4 parameters, no output schema, and no annotations, the description is notably incomplete. It does not explain how time range works, what 'post-views history' means in terms of aggregation, whether data is returned as a series, or any constraints on date ranges. An agent would need to inspect the schema to infer behavior, but the schema only describes parameter types, not expected output or edge cases.

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 input schema covers 100% of parameters with descriptions, so the baseline is 3. The tool description adds no parameter-specific meaning beyond what the schema already provides, so it does not exceed the baseline.

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 states a specific verb (get) and resource (channel post-views history over time). It is clear what the tool does, but it does not explicitly differentiate from siblings like get_channel_stats or get_channel_avg_reach, which might also return view-related metrics.

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 on when to use this tool versus alternatives. It does not mention any conditions, prerequisites, or scenarios where a different tool would be more appropriate. The agent is left to infer from the name and schema.

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