Skip to main content
Glama
telegram-user-mcp

telegram-user-mcp

by tarikra1

search_messages_global

Search messages across all your Telegram chats, groups, and channels in one query. Finds relevant conversations anywhere in your account without checking each chat individually.

Instructions

Search messages across ALL your Telegram chats, groups, and channels.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_messages_global"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/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 behavioral burden, and it discloses almost nothing: no indication of result ordering, whether results span pagination, whether auth is required, or any rate limits. The only behavioral signal is the global scope, which is useful but thin for an unannotated read 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 front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is partly the source of the specification gaps rather than a virtue in itself.

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 not be explained, but with no annotations and no parameter documentation the definition leaves an agent guessing about query syntax and result limits. For a cross-chat search tool that likely hits many results, that is a meaningful omission.

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% for two parameters, and the description says nothing about what 'query' accepts (plain text, Telegram search syntax, filters) or what 'limit' controls beyond its default of 25. With zero schema text, the description needed to compensate and does not.

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 ('Search messages') plus a precise scope ('across ALL your Telegram chats, groups, and channels'), which makes the global-search nature immediately graspable. It stops short of naming a sibling (e.g. get_messages or chat-scoped search) to contrast with, so it lands at 4 rather than 5.

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 capitalized 'ALL' implies this is the broad-search option rather than a single-chat lookup, which gives an implicit cue about when to prefer it. However, it never names an alternative tool or states an explicit condition such as 'use when you don't know which chat the message is in', so guidance remains inferred.

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