Skip to main content
Glama
telegram-api-mcp

telegram-api-mcp

by EngDawood

get_user_personal_chat_messages

Read-onlyIdempotent

Retrieves the last messages from a user's profile-linked personal chat by user ID and limit so you can review recent conversation history.

Instructions

Get the last messages from the personal chat a user has added to their profile (v10.0).

Input Schema

NameRequiredDescriptionDefault
limitYes
user_idYesUser ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds two useful facts beyond that: only the *last* messages are returned (not full history) and a version marker (v10.0). It omits ordering, page/window size semantics, and what happens if the user has no personal chat.

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 tight sentence with the retrieval scope front-loaded; nothing is redundant. The trailing version marker is slightly noisy but harmless.

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

Completeness3/5

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

With no output schema, the description carries the burden of describing what comes back, and it only says 'last messages' without indicating message shape, ordering, or whether an empty result is possible when no personal chat exists. It is adequate for a simple two-parameter read but leaves real gaps.

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 coverage is only 50%: user_id is documented in the schema, but 'limit' has no description anywhere. The phrase 'last messages' weakly implies that limit caps how many recent messages are returned, but the description never names or constrains the parameter, so the agent is left guessing about its unit and defaults.

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 ('Get') and a specific resource ('the last messages from the personal chat a user has added to their profile'), which is a well-defined Telegram Business concept an agent can distinguish from the many chat-admin siblings. It stops short of naming any sibling it should be preferred over, but the resource itself is unambiguous.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g. does the user need a business account or a personal chat configured?), and no mention of alternatives among the large sibling set. The agent must infer the context entirely from the resource name.

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

Deploy Server

Other Tools