Skip to main content
Glama

Observed revisions of a page

list_telegram_document_revisions
Read-onlyIdempotent

List observed revisions of an official Telegram documentation page, newest first, to check whether it changed since an earlier read. Returns SHA and capture time.

Instructions

List the revisions of one documentation page that this installation has observed, newest first.

Use it to see whether a page changed since an earlier read. To read the current text use get_telegram_document. Returns revisions: a list of {sha, captured_at, characters}, newest first. A page that this installation has never fetched returns an empty list; a URL outside the official sources is rejected with an error. It does not reconstruct history before the page was first fetched here; for Telegram release history use list_bot_api_changes or the changelogs (area releases or ton-releases).

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": {
      "url": "<url>"
    },
    "name": "list_telegram_document_revisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesOfficial page URL, the same form accepted by get_telegram_document.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavior: the return shape `{sha, captured_at, characters}`, the empty-list case for never-fetched pages, an error for URLs outside official sources, and the limitation that history before first fetch is not reconstructed. That is exactly the context annotations cannot 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?

Four sentences, front-loaded with purpose and ordering, then the when-to-use/alternative routing, then return shape and edge cases, then scope limits with pointers to other tools. Every sentence carries distinct information with no restatement of the name or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, yet the description documents the returned field set and its ordering, plus the empty-list and error paths. Combined with the explicit scope boundary (no pre-fetch history reconstruction) and sibling routing, nothing an agent needs to call this correctly is missing.

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?

With one parameter at 100% schema coverage, the baseline is 3, but the description adds real constraint on that parameter: the URL must be an official page URL and anything outside the official sources is rejected with an error, plus it must match the form accepted by `get_telegram_document`. That meaningfully narrows valid input beyond the schema text.

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 ("List the revisions of one documentation page"), adds scope ("that this installation has observed"), and states ordering ("newest first"). It also distinguishes itself from `get_telegram_document` (current text) and `list_bot_api_changes` (release history), so an agent can tell it apart without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use ("see whether a page changed since an earlier read"), explicit alternative for the current text (`get_telegram_document`), and explicit routing elsewhere for release history (`list_bot_api_changes` or changelogs under areas `releases`/`ton-releases`). Exclusions are stated, not inferred.

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