Skip to main content
Glama

Telegram analytics

get_telegram_analytics

Chats, messages, voice calls, text messages, unique users and credits (text/voice) of the agent's Telegram bot for a date range. Read-only.

Input Schema

NameRequiredDescriptionDefault
idYesAgent id (UUID) — from list_agents
date_toNoTo (YYYY-MM-DD or ISO 8601)
date_fromNoFrom (YYYY-MM-DD or ISO 8601)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / date_from
      Added value: +{
      +  "description": "From (YYYY-MM-DD or ISO 8601)",
      +  "type": "string"
      +}
    • addedInput schema / properties / date_to
      Added value: +{
      +  "description": "To (YYYY-MM-DD or ISO 8601)",
      +  "type": "string"
      +}
    • addedInput schema / properties / id / description
      Added value: +"Agent id (UUID) — from list_agents"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It does disclose 'Read-only', which is the key safety signal, but adds nothing about auth requirements, whether the date range is optional, or any limits on the aggregation. Adequate but thin for an unannotated tool.

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 dense sentence that front-loads the returned metrics and ends with the scoping and safety notes. The metric enumeration is long but each item is meaningful given there is no output schema. No filler.

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?

With no output schema, enumerating the returned metrics (chats, messages, voice calls, unique users, credits) is genuinely useful and covers the return-value gap. The scope (single agent, date range) and safety (read-only) are stated. Missing only edge behavior such as default date range or empty-result handling.

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 coverage is 100%, so all three parameters (id, date_from, date_to) are already documented in the schema. The description's 'of the agent's Telegram bot for a date range' loosely ties the id and date params together but adds no format or boundary detail beyond the schema. Baseline 3 is appropriate.

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 names the specific resource (the agent's Telegram bot) and enumerates the metrics returned (chats, messages, voice calls, unique users, credits), which is more concrete than a bare 'get analytics'. It doesn't explicitly contrast with nearby siblings like get_telegram_bot_info, get_telegram_chat or get_connection_analytics, so an agent must infer the distinction.

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?

'for a date range' implies the calling context (scoped to a date window on one agent's bot), but there is no explicit when-to-use/when-not statement and no alternative tool is named. The agent has to infer that this is the stats endpoint rather than the chat/listing endpoints from siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources