Skip to main content
Glama
zai-one

telegram-ads-mcp

by zai-one

create_ad

Create an ad for Telegram Ads campaigns with targeting by channel, bot, search, or user, and configure budget, schedule, and audience to launch campaigns.

Instructions

Create an ad. TON/Gram cabinets allow channels, bots, search, and users (geo). EUR too.

Always create on_hold. Budget "0" cannot go to review. IDs are semicolon-separated.
Search ads: do not pass text/picture/media.
Empty strings are stripped and not sent.
Do not send langs together with specific channel IDs (platform Target invalid) —
langs is dropped in that case.
confirm: required for spend (budget>0 or active) when TG_ADS_WRITE_GATE is not open.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cpmYes
botsNo
textNo
langsNo
mediaNo
titleYes
activeNoon_hold
budgetNo0
buttonNo
deviceNo
topicsNo
confirmNo
pictureNo
channelsNo
scheduleNo
countriesNo
locationsNo
user_langsNo
audience_idNo
only_cryptoNo
promote_urlYes
schedule_tzNo
target_typeNochannels
user_topicsNo
daily_budgetNo0
only_politicNo
website_nameNo
activate_dateNo
user_channelsNo
exclude_cryptoNo
exclude_topicsNo
search_queriesNo
views_per_userNo1
deactivate_dateNo
exclude_politicNo
conversion_eventNo
exclude_channelsNo
intersect_topicsNo
schedule_tz_customNo
exclude_user_topicsNo
exclude_user_channelsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "default": false,
      +  "title": "Confirm",
      +  "type": "boolean"
      +}
  2. First observedv0.2.0

TDQS

A4.2/5.0
Behavior5/5

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

Discloses several non-obvious behaviors beyond the annotations: enforced on_hold status, zero-budget ads not going to review, empty strings being stripped and not sent, langs being dropped on conflict, and the confirm gate for spending. These are exactly the side effects and constraints an agent needs, and none contradict the annotations.

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?

The description is dense and front-loaded, with each sentence covering a distinct operational rule. The phrasing 'TON/Gram cabinets' and 'EUR too' is somewhat cryptic, but the overall size is appropriate for the tool's complexity.

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

Completeness3/5

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

The critical safety, validation, and spending constraints are present, and the output schema covers return expectations. Still, for a 41-parameter creation tool, significant details around target_type-specific fields, scheduling, and targeting exclusions are left implicit.

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?

The description adds useful cross-cutting parameter semantics such as semicolon-separated IDs, empty-string stripping, search-ad exclusions (text/picture/media), the langs/channels conflict, and the confirm requirement. However, with 41 parameters and 0% schema description coverage, many parameters like cpm, schedule, targeting options, and conversion_event still rely on self-explanatory names rather than documented 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?

The description opens with 'Create an ad'—a clear verb-and-resource statement that distinguishes it from sibling tools like edit_ad, delete_ad, and clone_ad. The additional context about target types and supported cabinets does not obscure the core purpose.

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?

The description provides explicit when-to/when-not-to rules: always create on_hold, do not pass text/picture/media for search ads, do not combine langs with channel IDs, and confirm is required for spend when the write gate is closed. It does not explicitly name alternative tools, but the primary use case is clear from the name and sibling set.

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