Skip to main content
Glama
draiqw

telegram-mcp

by draiqw

tg_cache_clear

Clear the cached chat-title index so renamed chats display correctly, and optionally delete all downloaded files.

Instructions

Drop the cached chat-title index (use after chats are renamed), and optionally delete everything in data/downloads.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
downloadsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description bears full responsibility. It explicitly discloses both destructive behaviors: dropping the cache index and optionally deleting everything in data/downloads. However, it omits details on reversibility or potential side effects, which is a minor gap.

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?

The description is a single, well-structured sentence: primary action, usage context in parentheses, and optional action. No redundant wording.

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?

Given the tool's simplicity and the presence of an output schema, the description covers essential behavior and usage context. It does not detail return values (unnecessary) or prerequisites, which are likely common across siblings.

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

Parameters4/5

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

Schema description coverage is 0%, so the description compensates by explaining the 'downloads' parameter's effect ('optionally delete everything in data/downloads'). This adds meaning beyond the schema's type/default, though it could explicitly state true/false mapping.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool's primary action ('Drop the cached chat-title index') and its optional secondary action ('delete everything in data/downloads'), with a specific usage context ('use after chats are renamed'). This definitively distinguishes it from sibling tools like tg_download or tg_delete by focusing on cache management.

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

Usage Guidelines4/5

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

The description specifies an explicit trigger for use ('after chats are renamed'), giving clear context. It does not mention alternatives or when-not-to-use scenarios, but for a singular cache-clearing tool, the context is sufficient.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/draiqw/telegram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server