Skip to main content
Glama
Telegram Ads MCP

Telegram Ads MCP

List ads

tg_list_ads
Read-only

Lists advertisements for an account, newest first, with status, budgets, lifetime metrics, and optional targeting. Use the returned pagination cursor to fetch the next page.

Instructions

List advertisements for an account, newest first, with status, budgets and lifetime metrics. Use next_offset from the response to fetch the next page. Set include_targeting to receive targeting settings (larger response).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNoPagination cursor from a previous response.
account_idNo
include_targetingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuine value by disclosing result ordering (newest first) and flagging that include_targeting produces a larger payload, but it says nothing about rate limits, page-size behavior, or default result volume.

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?

Two compact sentences, front-loaded with what is returned and followed by operational notes. Every clause carries information, though the pagination and targeting hints could be merged more tightly.

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 four-parameter read tool with no output schema, the description covers purpose, ordering, returned metrics, pagination mechanics, and payload-size tradeoff. The gap is the undocumented limit bounds and account_id semantics, which the agent must infer from the schema alone.

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 only 25% (offset is the sole documented property), so the description must compensate. It does explain include_targeting's payload tradeoff and links offset to next_offset from the response, but limit and account_id remain unexplained, leaving half the parameters without semantic guidance.

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?

States a specific verb and resource ("List advertisements for an account") and adds scope details: newest-first ordering and returned fields (status, budgets, lifetime metrics). This separates it from the single-record tg_get_ads without naming it, so it falls just short of explicit sibling differentiation.

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 two concrete usage rules: call again with next_offset to page, and set include_targeting when targeting settings are needed. It offers no when-not guidance or explicit alternatives, but the conditional logic it does provide is clear and actionable.

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