Skip to main content
Glama

Messages sent to the bot's own account directly

telegram_bot_direct_messages
Read-onlyIdempotent

Read messages sent directly to the bot's account, outside the owner's Business connection — a different chat than the owner's business line, kept separate because it is a different conversation with the same chat_id. Not covered by telegram_get_messages or telegram_search_messages. Use an already connected Session where supported; preserve source, coverage and actual errors. Do not suggest connecting or reconnecting Session unless the user explicitly asks for Session setup. Never switch sender automatically or request login codes/passwords in chat.

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

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and non-destructive behavior, so the safety profile is supplied. The description still adds useful context beyond the schema: it distinguishes the underlying chat scope, indicates session/auth handling expectations, and asks that source, coverage, and actual errors be preserved rather than smoothed over.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence correctly front-loads scope, but the parenthetical about chat_id is convoluted, and several trailing sentences are policy guardrails about Session setup and login codes that are relevant yet wordy. Some pruning would sharpen selection without losing meaning.

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?

For a single-parameter read tool with full annotation coverage and no output schema, the description covers scope, sibling boundaries, and session handling adequately. The remaining gap is the unexplained limit parameter and no hint about what a returned message looks like, though the latter is less critical for a read operation.

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?

One parameter exists (limit, integer 1-100) with 0% schema description coverage, and the description never explains what limit governs or what the default page size is. Type and bounds come from the schema, so the agent can construct a call, but the description adds no meaning beyond the structured fields.

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?

States a specific verb and resource ('Read messages sent directly to the bot's account') and immediately scopes it against the owner's Business connection, clarifying that the same chat_id refers to a different conversation. The agent can distinguish this from telegram_get_messages and telegram_search_messages without opening another schema.

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?

Explicitly names the alternatives it is not covered by ('Not covered by telegram_get_messages or telegram_search_messages') and adds operating constraints: use an already connected Session, do not suggest reconnecting unless asked, never switch sender. It stops short of stating positive conditions for choosing this over the sibling DM reply/react tools, but the boundary against the main read tools is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources