Skip to main content
Glama
TeleHarvest
by SmtDcs

get_analytics

Retrieve analytics for scraped Telegram messages, including daily/hourly volume, top hashtags, cashtags, domains, mentions, reactions, and viral posts to identify trends and engagement.

Instructions

Get analytics across scraped messages: daily/hourly volume, top hashtags, cashtags, domains, mentions, reactions, and viral posts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
chat_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it says nothing about cost, permission/auth requirements, whether aggregation runs over the whole corpus or only scraped data within a window, or how the default 30-day window applies. It also omits any note about result volume or pagination behavior for a multi-metric aggregation call.

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?

A single front-loaded sentence with no filler; the metric enumeration is dense but each item conveys real capability. It is efficient, though the flat list could have been grouped by aggregation type for faster scanning.

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?

An output schema exists, so return values need not be explained. However, with zero annotation coverage and zero parameter documentation, the definition leaves the agent guessing about the time-window semantics and chat scoping, which are the two knobs that determine what this tool actually returns.

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

Parameters2/5

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

Schema description coverage is 0% for two parameters, and the description compensates for neither. It never mentions that 'days' defaults to 30 and controls the aggregation window, nor that 'chat_id' optionally scopes results to a single chat — both are essential to calling the tool correctly.

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?

States a specific verb (get) and resource (analytics) and enumerates the metric families returned: volume, hashtags, cashtags, domains, mentions, reactions, viral posts. The scope is narrowed to 'scraped messages', which helps, but it never distinguishes itself from near-siblings like get_overview_stats or get_channel_bi_metrics.

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

Usage Guidelines3/5

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

Usage is only implied by the scope phrase 'across scraped messages' and the metric list. There is no statement of when to prefer this over get_overview_stats, get_channel_bi_metrics, or search_messages, and no exclusions or prerequisites are given.

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