Skip to main content
Glama
thenavidm

telegram-mcp-cli

by thenavidm

Search messages

search
Read-onlyIdempotent

Find messages by text query. Specify a peer to search within one chat, or omit it to search all chats in your account.

Instructions

Search message text, either inside one chat or across the whole account when no peer is given.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
peerNoLimit to one chat. Omit to search everywhere.
limitNoHow many results. Default 20, max 100.
queryYesText to search for.
fieldsNoComma separated fields to keep, e.g. 'id,text'. Dotted paths descend. Cuts response size.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.4.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false. The description adds the scoping behavior (peer vs no peer), which is consistent with annotations. It does not disclose additional behavioral traits beyond that, but with annotations covering safety, a 3 is appropriate.

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 concise sentence that front-loads the action and resource ('Search message text') and includes the scope qualifier. No wasted words.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple, all parameters are documented in the schema, and annotations cover safety. The description provides the necessary purpose and scope, making it complete for an agent to invoke correctly.

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?

Schema coverage is 100%, so all four parameters are documented in the schema. The description adds minimal value, only reinforcing the peer omission behavior already stated in the schema ('Omit to search everywhere'). It does not compensate with extra semantic details.

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 states 'Search message text' with a specific verb and resource, and distinguishes scope: 'inside one chat or across the whole account when no peer is given.' This differentiates it from sibling tools like history or list_chats.

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 explains the two usage modes: with a peer (limit to a chat) or without (search across the account). It gives clear context for when to use the tool, though it does not explicitly name alternatives or exclusions.

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

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/thenavidm/telegram-mcp-cli'

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