Skip to main content
Glama
TeleHarvest
by SmtDcs

list_chats

Retrieve all Telegram channels and groups stored in the local TeleHarvest SQLite database to inspect or manage archived chat data.

Instructions

List all Telegram channels and groups currently stored in the local TeleHarvest SQLite database.

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": "list_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it does signal that results come from the local database rather than the network, implying a safe read. It does not state ordering, whether empty results are possible, or whether the list reflects stale data, which matters for a cache-backed listing.

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?

A single sentence with the resource and its scope front-loaded; no filler, no restatement of the tool name alone.

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?

For a zero-parameter read tool with an output schema present, the description covers what is returned and where it comes from. The only gap is behavioral detail about freshness or ordering of the local cache, which the output schema does not address.

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 tool takes zero parameters, so there is nothing for the description to clarify beyond the schema, and the baseline for a no-parameter tool applies. The description correctly implies no filtering or pagination inputs are accepted.

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 and resource ("List all Telegram channels and groups") plus a clear scope: entries already stored in the local TeleHarvest SQLite database. That scope wording implicitly separates it from scraping siblings, though no sibling is named explicitly.

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?

The phrase "currently stored in the local ... database" implies this is the local-cache read rather than a live fetch, which is useful routing context. However, it never states when to prefer this over siblings like list_dialogs or scrape_chat, nor any precondition (e.g., having run a scrape first).

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