Skip to main content
Glama

Mark a chat as read

telegram_mark_read
Idempotent

Clear the unread badge on a conversation by marking a message, and everything before it, as read. Defaults to the newest message. Nothing is sent. Use an already connected Session where supported; preserve source, coverage and actual errors. Do not suggest connecting or reconnecting Session unless the user explicitly asks for Session setup. Never switch sender automatically or request login codes/passwords in chat.

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_id": "<chat_id>"
    },
    "name": "telegram_mark_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesChat to mark read.
message_idNoRead up to this message. Defaults to the newest one known.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations, the description discloses two genuinely useful traits: nothing is transmitted to other participants, and marking is retroactive across all earlier messages, which matters given destructiveHint=false and readOnlyHint=false. Idempotency is already covered by idempotentHint, so no credit there. The remaining session-policy sentences describe agent conduct, not this tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first two sentences are tight and front-loaded with the essential behavior. Roughly half the text is generic Session/login boilerplate that is not about this tool and dilutes the signal.

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, idempotent, non-destructive mutation with full schema coverage and annotations, the description covers what changes, the default scope, and that no message is emitted. Return values are unspecified but there is no output schema, and error handling is only gestured at with 'preserve... actual errors'.

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 both chat_id and message_id documented including the 'defaults to the newest' behavior. The description restates that default without adding syntax, ordering, or edge-case semantics, so it sits at the baseline.

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 gives a concrete verb and resource: clearing the unread badge by marking a message and everything before it as read, with a stated default. 'Nothing is sent' implicitly separates it from the send_* siblings, but no sibling is named explicitly, so differentiation is inferred rather than stated.

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?

Usage context is implied ('Use an already connected Session where supported') and there are clear prohibitions (don't suggest reconnecting, never switch sender, never request credentials). However, none of this tells the agent when to pick this tool over the message-reading or send tools; it is operational policy rather than tool-selection guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources