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

chats

Read-onlyIdempotent

Lists authorized Telegram conversations with ID, type, unread count, and last-message preview; filter by name substring, type, limit, or unread status. Returns JSON for agent inspection.

Instructions

Список чатов: имя, id, тип, непрочитанные, превью последнего сообщения. JSON-массив; name — фильтр по подстроке.

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

Input Schema

NameRequiredDescriptionDefault
nameNo
typeNo
limitNo
unread_onlyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds useful behavior — the result is a JSON array and name matching is substring-based — but says nothing about ordering, whether limit truncates silently, or how unread counts are computed. Output schema presence lowers the burden for return-value detail.

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 compact line that front-loads the resource and output fields before the filter note; no filler. It is arguably too terse for four parameters, but the terseness is deliberate compression rather than padding.

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

Completeness2/5

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

For a four-parameter tool with zero schema description coverage, the description should at minimum define each filter. It documents one parameter and gives no guidance on how limit interacts with the returned array or when unread_only applies, leaving the definition incomplete relative to its complexity. The existing output schema does cover return shape.

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 carries the full burden of explaining parameters. It explains only 'name' (substring filter) and leaves 'type', 'limit', and 'unread_only' entirely undefined in both schema and prose — three of four parameters give the agent nothing to reason about.

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 states a specific resource (chats) and enumerates the payload it returns — name, id, type, unread count, last-message preview — so an agent knows this is a chat-listing tool rather than a message-level one. The verb is only implied by 'Список', and it does not distinguish itself from ambiguous siblings like 'search' or 'app', so it stops short of 5.

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?

Filtering by name substring is explained, which implies the tool is for browsing/enumerating chats. However, there is no statement of when to prefer this over 'search' or other listing paths, and no mention that type/limit/unread_only can be used to narrow results, leaving usage largely inferred.

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