Skip to main content
Glama
theYahia

@theyahia/tgstat-mcp

by theYahia

get_word_mentions_by_channels

Break down keyword mentions by channel, showing which channels mention a keyword most along with view counts.

Instructions

Break down keyword mentions by the channels that mention it most (channel + mention/view counts).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax channels (max 50)
queryYesKeyword / phrase to track
end_dateNoRange end (YYYY-MM-DD)
peer_typeNoSource typeall
start_dateNoRange start (YYYY-MM-DD)
minus_wordsNoComma-separated words to exclude
hide_forwardsNoExclude reposts
strong_searchNoStrict phrase match

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?

With no annotations, the description carries the full burden of explaining behavior. It mentions the output (channel + mention/view counts) but does not disclose limitations, data freshness, or how the breakdown is ordered or aggregated.

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 that gets directly to the point. It is concise and well-structured, with minimal unnecessary wording.

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?

Since there is no output schema, the description should summarize the return values. It mentions channel and mention/view counts, which is helpful, but it does not explain ordering, pagination, or whether the result is sorted by mention count or view count, leaving some ambiguity.

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 parameters with descriptions, so the baseline is 3. The tool description does not add additional meaning beyond what the schema already provides, so no boost is warranted.

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 clearly states that the tool breaks down keyword mentions by channels and provides counts, which is a specific function. It distinguishes itself from raw mention queries and channel-specific mentions, though it doesn't explicitly name alternative tools.

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 given on when to use this tool versus alternatives like get_word_mentions or get_channel_mentions. The description only states what it does, not the context in which it is preferable.

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