Skip to main content
Glama
osintukraine

OSINT MCP Server

by osintukraine

search_messages

Search Telegram messages with full-text search and over 15 filters to find intelligence by channel, date, importance, topic, media type, language, views, and forwards.

Instructions

Search Telegram messages with full-text search and 15+ filters. Supports filtering by channel, date, importance (high/medium/low), topic, media type, language, minimum views/forwards, and channel folder.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoLimit to last N days
pageNoPage number (default: 1)
queryNoSearch query text (full-text search)
topicNoTopic filter (combat, equipment, casualties, infrastructure, humanitarian, diplomatic, etc.)
date_toNoEnd date (YYYY-MM-DD)
languageNoLanguage code (uk, ru, en)
date_fromNoStart date (YYYY-MM-DD)
has_mediaNoMessages with media attachments
min_viewsNoMinimum view count
page_sizeNoResults per page (default: 20, max: 100)
channel_idNoFilter by specific channel ID
media_typeNoSpecific media type
min_forwardsNoMinimum forward count
channel_folderNoFilter by Telegram folder (e.g., Archive-UA, Archive-RU)
importance_levelNoAI-assigned importance
Behavior4/5

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

No annotations are provided, so the description must disclose behavior. It honestly states it searches and filters messages, implying a read-only operation. It does not discuss rate limits or auth, but for a search tool this is acceptable. The description is transparent enough.

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 sentence plus a clarifying second sentence. It is front-loaded with the core action and then lists filter groups. No wasted words.

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 15 parameters and no output schema, the description covers the main purpose and filter categories. It could mention what the output is (list of messages), but that is implied by 'search'. For a search tool, it is fairly complete.

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% (all parameters have descriptions). The description adds a summary grouping of filters (channel, date, importance, etc.), but does not provide new details beyond the schema. Baseline 3 is appropriate.

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 the tool searches Telegram messages with full-text search and mentions many filters. The verb 'search' and resource 'messages' are specific and distinguish it from other tools that do different things (e.g., get_*, list_*).

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 description implies when to use by listing filters ('search with full-text and 15+ filters'), but does not explicitly contrast with sibling search tools like semantic_search, find_similar_messages, or unified_search. No when-not or alternatives are provided.

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/osintukraine/osint-mcp-server'

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