Skip to main content
Glama
Telegram Ads MCP

Telegram Ads MCP

Search Telegram Ads methods

tg_search
Read-only

Search official Telegram Ads API methods by name, description, or parameter to identify the correct method before calling the API or writing an execution script.

Instructions

Search the official Telegram Ads API methods by name, description or parameter. Use this to discover the right method before calling tg_api_call or writing a tg_execute script. Returns names, descriptions, write flags, return types and full parameter signatures.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoEmpty returns all methods.
writeNoOnly return methods that change state.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description goes beyond them by disclosing the return payload (names, descriptions, write flags, return types, full parameter signatures), which tells the agent what it will learn from a call. It does not mention result-count caps or default ordering, which keeps it short of 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 sentences, front-loaded with what the tool does, then when to use it, then what it returns. Every clause carries information an agent needs; nothing is padded or repeated across sentences.

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 properly lists the returned fields, and for a three-parameter read-only search tool that is nearly everything an agent needs. Minor omissions are the limit cap/behavior and whether query is a substring or keyword match, which a caller would still have to guess.

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?

At 67% schema coverage, the schema already documents query and write, and the description adds meaning only for query by saying searching is over name, description, or parameter. The limit parameter's purpose and the write-flag semantics are left entirely to the schema, so this sits at the baseline rather than compensating for the gap.

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?

"Search the official Telegram Ads API methods by name, description or parameter" gives a specific verb, resource, and the searchable fields. It also implicitly distinguishes itself from the execution siblings (tg_api_call, tg_execute) by positioning itself as the discovery step, so an agent can tell which tool to reach for 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?

The second sentence states the usage condition explicitly: use this to discover the right method before calling tg_api_call or writing a tg_execute script. That names both alternatives and the situation that selects this tool over them, leaving nothing to inference.

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