Skip to main content
Glama
tg-secretary-mcp

tg-secretary-mcp

by developkiko

secretary_wait

Read-only

Waits for new messages in a specified Telegram chat and returns them when one arrives (collecting a short burst) or when the timeout ends, so you can get the reply after sending a response.

Instructions

Wait for new incoming messages from one chat and return them. Resolves as soon as a message arrives (a short burst is collected together), or when the time is out. Use after secretary_reply to get the answer.

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_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYesChat: numeric id, @username, or part of the person's name
timeout_secondsNoHow long to wait, at most 180 (default 60)

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 only declare readOnlyHint and openWorldHint, so the blocking semantics carry real weight here: the description discloses that the call resolves on first arrival, coalesces a short burst, or expires on timeout. It does not restate the 180s cap or 60s default, but those live in the schema, so the description adds genuinely new behavioral context without contradicting annotations.

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?

Three short sentences: purpose first, resolution semantics second, workflow placement third. Every clause carries information an agent needs, and there is no filler.

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 two-parameter blocking tool with no output schema, the description covers what is returned ('the messages'), when it returns, and how it fits a reply-then-wait loop. Message shape and ordering are left unspecified, which is a minor gap given no output schema exists.

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 coverage is 100%, so both the chat identifier formats and the timeout bounds/default are already documented. The description only reinforces scoping ('from one chat') and implies the timeout's role in resolution, adding little beyond the schema — the baseline 3 applies.

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 verb and resource: 'Wait for new incoming messages from one chat and return them.' The word 'new' implicitly separates it from a history-reading sibling like secretary_read, but the distinction is left for the agent to infer rather than stated outright.

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?

It gives explicit sequencing guidance ('Use after secretary_reply to get the answer'), which tells the agent when in a workflow this belongs. It stops short of stating when not to use it (e.g. to fetch existing backlog) or naming the sibling that handles that case.

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