Skip to main content
Glama
tg-secretary-mcp

tg-secretary-mcp

by developkiko

secretary_read

Read-only

Reads archived Telegram direct-message conversations with one person, oldest first, letting you review prior chat history and context from bot-captured private chats.

Instructions

Read the archived conversation with one person, oldest 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

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

Input Schema

NameRequiredDescriptionDefault
chatYesChat: numeric id, @username, or part of the person's name
limitNoHow many to return, at most 200 (default 20)
sinceNoUnix seconds or ISO 8601 date-time
untilNoUnix seconds or ISO 8601 date-time

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?

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false), so the description's real contribution is data-availability disclosure: the archive only spans private chats received after connection and only while the server ran. That prevents an agent from treating empty results as proof a conversation never happened. It does not describe behavior when the chat identifier is ambiguous or matches multiple people.

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?

Two sentences, no filler. The positive statement of what is read and the ordering come first, followed by the availability caveats that most affect interpretation of results.

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 read tool with no output schema and a fully described parameter set, the definition covers scope, ordering and data limits well. Minor gaps remain around ambiguous chat identifiers and empty-result interpretation, but nothing essential for a correct call is missing.

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?

Schema description coverage is 100%, with formats for chat, limit, since and until already documented in the schema, so the baseline of 3 applies. The description adds only the ordering guarantee ('oldest first'), which hints at how limit/since/until interact but gives no guidance on identifier resolution or inclusive/exclusive bounds.

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 concrete verb and resource ('Read the archived conversation with one person') plus an ordering guarantee ('oldest first'), which is enough to distinguish it from a cross-chat search or a chat-list tool. It stops short of naming a sibling alternative explicitly.

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?

The definition gives clear when-not boundaries: groups, channels and older history are 'never available'. It also scopes the data to private chats that wrote to the owner after connection and while the server was running. What it lacks is an explicit routing statement pointing to a sibling (e.g. search across people).

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