Skip to main content
Glama
tg-secretary-mcp

tg-secretary-mcp

by developkiko

secretary_reply

Send a Telegram reply that appears as written by the owner, not a bot, to a private chat that messaged within the last 24 hours. Use only with owner-approved text.

Instructions

Send a text message to a private chat AS THE OWNER: the recipient sees it written by the owner, not by a bot. Use only for text the owner has approved for this chat. Replies only work in private chats that wrote to the owner during the last 24 hours.

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>",
      "text": "<text>"
    },
    "name": "secretary_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYesChat: numeric id, @username, or part of the person's name
textYesMessage text, plain text, up to 4096 characters
reply_toNomessage_id to reply to, as shown by secretary_read

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), and the description adds genuinely non-obvious behavior: the message is attributed to the owner and delivery is restricted to a 24-hour reply window on inbound private chats. It stops short of describing what happens on window expiry or what identifier is returned.

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, both front-loaded with the highest-stakes fact first (it posts as the owner) before the eligibility constraints. No filler or restatement of the tool name.

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?

No output schema exists, and the description does not indicate what comes back after sending (e.g. a message_id useful for secretary_delete_sent or a later reply_to). Otherwise it is complete for a three-parameter send tool whose parameters are fully documented in the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3; the description earns more by constraining the meaning of chat to an active private chat with recent inbound traffic and of text to owner-approved content. It does not expand on reply_to beyond what the schema already says.

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?

States a specific verb and resource ("Send a text message to a private chat") plus the critical distinguishing trait: it is delivered AS THE OWNER, not as a bot. That impersonation framing separates it from any generic send tool in the sibling set.

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?

Gives explicit gating conditions: only text the owner has approved, and only to private chats that wrote to the owner in the last 24 hours. That is strong when-to-use and when-not-to-use guidance, though it does not name a sibling (e.g. secretary_read) as the fallback path when the 24-hour window has lapsed.

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