Skip to main content
Glama
tgsearch-mcp

tgsearch-mcp

by schebotar

tg_status

Checks Telegram configuration, login state, account, and local index before search, returning readiness details and hints when setup or session is missing.

Instructions

Check Telegram configuration, login state, account and local index.

Call this first. Never raises: when configuration or the session is missing it returns {ok:true, logged_in:false, hint}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tg_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does meaningful work: it promises the call never raises and specifies the degraded return shape ({ok:true, logged_in:false, hint}) when configuration or session is absent. That tells the agent it is safe to invoke speculatively without error handling. It does not discuss latency, network reachability, or permission scope, which keeps it off a 5.

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 lines with the primary action front-loaded and the contract statement immediately after. Every clause carries information: what is inspected, invocation ordering, and failure semantics. Nothing is padded.

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?

An output schema exists, so the return values do not need spelling out, and the description instead covers the one thing the schema cannot: the non-raising guarantee and the logged_out fallback. The `hint` field's contents are left unspecified, which is a minor gap for a diagnostic tool whose whole purpose is surfacing remediation guidance.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. No misleading claims are made about inputs.

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 names a specific verb plus resource ('Check Telegram configuration, login state, account and local index') and enumerates the four things verified, which cleanly separates it from the read/search siblings. It stops short of naming an adjacent tool it is not, so it falls just below the top of the scale.

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?

'Call this first' is an explicit sequencing directive that tells the agent when to reach for it relative to everything else in the catalog. There is no when-not guidance, but for a zero-argument status probe there is no competing alternative that would need excluding.

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