Skip to main content
Glama
tg-secretary-mcp

tg-secretary-mcp

by developkiko

secretary_chats

Read-only

Lists private Telegram chats that messaged the owner since the bot connected, ordered most recent first, to help identify recent direct conversations.

Instructions

List the private chats the archive has seen, most recent first. The bot only sees private chats that wrote to the owner after it was connected (Settings → Chat Automation), and only while the server was running. Groups, channels and older history are never available.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many to return, at most 200 (default 30)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

Although annotations already establish readOnlyHint=true and openWorldHint=false, the description adds substantial behavioral context: only private chats that wrote after connection, only while the server was running, and never groups, channels, or older history. This clarifies real data-availability boundaries that the annotations do not express.

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 three sentences and front-loads the core action and ordering before explaining visibility constraints. Every sentence contributes useful scope information, and there is no redundant or filler wording.

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 simple one-parameter list tool with full schema coverage and annotations, the description is nearly complete. It covers visibility limitations well, though it does not describe the shape of each returned chat object, which is a minor gap given the absence of an output schema.

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?

The schema fully documents the single 'limit' parameter, including its default and maximum, so the description need not repeat it. The description does add useful ordering context ('most recent first'), which affects how limit is interpreted, but it does not otherwise elaborate on parameter meaning beyond the schema.

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 uses a specific verb and resource: 'List the private chats the archive has seen,' and adds ordering ('most recent first'). This clearly separates it from siblings that read, search, or reply to messages, because it enumerates chats rather than message content.

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 usage by explaining which chats are visible, but it does not explicitly state when to choose this tool over alternatives such as secretary_search or secretary_read. An agent can infer that this is the way to discover available conversations, but the guidance is indirect.

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