Skip to main content
Glama
TeleHarvest
by SmtDcs

export_dataset

Save filtered Telegram messages and member data to JSON, JSONL, CSV, XLSX, HTML, Markdown, or SQLite files for analysis and reporting.

Instructions

Export scraped Telegram data to a file.

Supported formats: json, jsonl, csv, xlsx, html, markdown, sqlite (secret-free), members_csv, members_json.

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

Input Schema

NameRequiredDescriptionDefault
fmtNojson
queryNo
chat_idNo
date_toNo
date_fromNo
include_membersNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden and does only part of the job. It usefully flags that the sqlite export is 'secret-free' and enumerates output formats, but says nothing about where the file is written, whether an export overwrites or appends, size/time limits, or required permissions for a potentially large write-to-disk operation.

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?

Two short lines with the purpose front-loaded and the format enumeration following. The format list is long but load-bearing since no enum exists in the schema, so little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 no explanation, but for a six-parameter, annotation-free tool the description is thin. Nothing explains what the filter parameters do or how the export is scoped, which is the main thing an agent needs to call this correctly.

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% across six parameters, and the description only addresses one of them indirectly by listing format values for 'fmt' (valuable, since the schema has no enum). The scoping parameters query, chat_id, date_from, date_to, and include_members are left entirely undefined, so an agent cannot tell whether they filter the exported content.

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?

'Export scraped Telegram data to a file' gives a specific verb (export) and resource (scraped Telegram data), and the format list clarifies the output artifact. It distinguishes this from the scrape_* siblings by framing it as an export step, though it never names them.

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 explicit when-to-use guidance: nothing says the data must have been scraped first, nor how this relates to scrape_chat or search_messages before exporting. The prerequisite is only faintly implied by the phrase 'scraped Telegram data', and no alternatives or exclusions are given.

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