Skip to main content
Glama
tgu-mcp
by rival-afk

read_ids

Read-onlyIdempotent

Retrieve IDs of the latest messages in a Telegram chat, optionally limiting the count, to reference or process specific messages.

Instructions

Список id последних сообщений чата (через пробел).

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": {
      "chat": "<chat>"
    },
    "name": "read_ids"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYes
lastNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description still adds one genuinely useful fact beyond them: the result is IDs only, space-separated, not message content. It says nothing about ordering, empty chats, or what happens when fewer messages exist than requested.

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 short sentence with no filler, and the key fact (IDs, space-separated) is front-loaded. It is efficient, though its terseness leans on the schema more than an ideal definition would.

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?

An output schema exists, so return values need no explanation, and the tool is simple with only two parameters. Still, the undefined 'chat' identifier format and unexplained 'last' semantics leave real gaps for an agent invoking it the first time.

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%, so the description must carry parameter meaning and largely does not. 'Последних сообщений' loosely implies the 'last' count parameter, but neither 'chat' (ID vs. username vs. title) nor 'last' (count, default 10, upper bound) is clarified in the text.

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?

The description names a concrete resource and result: a space-separated list of message IDs from a chat's most recent messages. That verb+resource pairing is clear enough to distinguish it in spirit from a content-reading sibling like 'read', but it never names or contrasts with any sibling explicitly.

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 guidance on when this tool should be chosen over 'read', 'search', or the other message-related siblings, and no stated prerequisites. The only implied usage (grab IDs, then act on them elsewhere) has to be inferred by the agent.

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