Skip to main content
Glama
Telegram Ads MCP

Telegram Ads MCP

Move budget between accounts

tg_account_budget
Destructive

Increase or decrease the budget of a related Telegram Ads account using currency-precision amounts; confirmation and write mode are required to apply changes.

Instructions

Increase or decrease the budget of a related account from the current account. amount uses the currency's amount precision (EUR/TON: 5 decimals, XTR: 3). Requires confirm: true and TG_ADS_MODE=write.

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": {
      "account_id": "<account_id>",
      "direction": "<direction>",
      "amount": "<amount>"
    },
    "name": "tg_account_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYes
confirmNo
directionYes
account_idYesRelated account to fund or withdraw from.
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already flag this as a destructive, open-world write, so the description doesn't need to restate that. It adds genuinely non-obvious context: a mandatory confirm flag and an environment-level write-mode gate, both of which change how an agent must sequence the call. It stops short of saying whether a decrease can be undone or what the response contains.

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 tight sentences, with the action front-loaded and the operational prerequisites and precision rules following. The parenthetical precision list is dense but each clause is load-bearing; only the loose phrase 'from the current account' is ambiguous.

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?

For a destructive 5-parameter mutation with no output schema, the definition covers the action, the write gate and confirm, but leaves idempotency_key undefined and gives no picture of the result or failure modes. Adequate to attempt the call, not fully complete.

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 20%, so the description carries real weight here and does explain amount's currency-dependent precision and confirm's required value. However idempotency_key is never mentioned and 'from the current account' is vague about how the source account is identified when account_id is the target.

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 gives a specific verb pair ('Increase or decrease') and a precise resource ('budget of a related account'), plus the scope constraint that the account must be related to the current one. It is clearly distinguishable from an ad-level budget tool, though it does not name tg_ad_budget as the sibling it is not.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states hard preconditions (confirm: true, TG_ADS_MODE=write) which tells the agent when the call will succeed, but gives no guidance on choosing between this and tg_ad_budget or tg_get_account for related-account work. Usage is implied rather than contrasted with alternatives.

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