Skip to main content
Glama
x402-data-mcp

x402-data-mcp

Recent posts from a public Telegram channel: text, views, reactions, media, links ($0.004)

get_telegram_channel_posts

Retrieve recent posts from any public Telegram channel, including text, media, views, reactions and links. Filter results by keyword or posting age for monitoring, research or content discovery.

Instructions

Recent posts from any public Telegram channel (t.me/s web preview), newest first: text, date, views, reactions, forwarded-from, reply, author, media (photo, video, poll, file), links, hashtags, mentions, plus channel title, description and subscriber count. Filter by keyword or age. Emails and phone numbers are removed. Not charged on 404/502. Price: $0.004 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

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": {
      "channel": "<channel>"
    },
    "name": "get_telegram_channel_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPosts to return, 1-100 (default 20)
channelYesPublic channel: name, @name, t.me/name or t.me/s/name (e.g. durov)
keywordNoOptional comma list (max 10); keep posts whose text contains any
postedWithinDaysNoOptional: only posts from the last N days, 1-3650

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Adds substantial behavior beyond the annotations: cost and payment rail ($0.004 USDC via x402 on Base using X402_PRIVATE_KEY), no charge on 404/502 or failure, PII stripping of emails and phone numbers, and newest-first ordering. However, the annotations declare readOnlyHint=false for what the description frames as a retrieval operation, and the description never explains that non-read-only status (presumably the charge or network fetch), leaving a gap an agent must reconcile.

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

Conciseness4/5

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

Front-loaded with the scope and returned data, then filters, then cost — a sensible order. There is some redundancy on failure charging ('Not charged on 404/502' followed by 'not charged when the call fails') and the price is repeated from the title, but most sentences carry distinct information.

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?

With no output schema, the description usefully enumerates return fields (text, views, reactions, media, links, channel metadata) and covers cost, auth wallet, and failure behavior. It omits pagination/ordering details beyond 'newest first', 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 coverage is 100%, so all four parameters are already documented, including formats for 'channel' and the default for 'limit'. The description only restates the same filtering semantics ('Filter by keyword or age') without adding syntax, precedence, or edge-case meaning.

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 ('Recent posts from any public Telegram channel (t.me/s web preview), newest first') and enumerates the returned fields, so an agent can tell exactly what this fetches and from where. The source disclosure (t.me/s preview) also implicitly bounds it to public channels.

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 clear context for when this applies — public Telegram channels — and tells the agent that 'keyword' or 'postedWithinDays' narrow the result. It stops short of naming an alternative tool (e.g., a generic page reader) or stating explicit exclusions, so it is context without routing.

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