Skip to main content
Glama
TeleHarvest
by SmtDcs

get_channel_bi_metrics

Retrieve computed channel business intelligence metrics—ER %, ERR %, average views, forwards, replies, and posts per day—for a selected chat and time window to assess performance.

Instructions

Get computed Business Intelligence metrics (ER %, ERR %, avg views, forwards, replies, posts/day) per channel.

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_channel_bi_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
chat_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.8/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 disclosure burden. The word "computed" implies pre-aggregated/derived read-only output, but the description says nothing about authentication needs, rate limits, cost, whether metrics are cached, or what happens when data is missing for the requested window. For a metrics endpoint with zero annotation coverage this is a notable gap.

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 that states the operation and then the metric set; nothing is redundant. It could be tightened only marginally or extended with the missing scoping details.

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?

Because an output schema exists, the metric names needn't be re-explained, and the aggregate-vs-per-channel behavior is partially implied. However, with two undocumented parameters and no routing guidance against similar analytics siblings, the definition is only minimally adequate.

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%, and the description does not mention either parameter. It never clarifies the meaning of "days" (default 30 in the schema) or, more importantly, what a null "chat_id" does — whether it aggregates across all channels or requires a specific one, which is critical given the phrase "per channel".

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?

"Get computed Business Intelligence metrics ... per channel" gives a specific verb (get computed metrics) and resource (channel), and even enumerates the metrics returned (ER %, ERR %, avg views, forwards, replies, posts/day). It does not explicitly distinguish itself from sibling tools like get_analytics or get_overview_stats, so an agent cannot be certain which to prefer.

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?

There is no guidance on when to use this tool versus get_analytics or get_overview_stats, no mention of prerequisites (e.g., whether the channel must be scraped/tracked first), and no explanation of how the days window should be chosen. The intended usage is only inferable from the name and metric list.

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