Skip to main content
Glama
Telegram Ads MCP

Telegram Ads MCP

Get pixel

tg_get_pixel
Read-only

Retrieves an account's Telegram Ads Pixel Tag, including its ID and HTML installation snippet, so you can add conversion tracking to a website.

Instructions

Get the account's Pixel Tag, including its ID and the HTML code snippet used to install it on a website.

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

Input Schema

NameRequiredDescriptionDefault
account_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A3.5/5.0
Behavior4/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 real value beyond that by disclosing the return payload (pixel ID plus the HTML installation snippet), which matters because there is no output schema. It stops short of noting auth requirements or what happens when account lookup fails.

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?

One tight sentence, front-loaded with the action and resource, and the payoff (ID and HTML snippet) follows immediately. Nothing redundant.

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 simple single-object read tool with annotations covering safety and no output schema, the description usefully explains what is returned. The remaining gap is the unexplained optional account_id, which leaves the agent guessing whether it must supply one.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter account_id is neither documented in the schema nor explained in the description — notably it is optional (0 required), yet nothing says what happens if it is omitted or whether it defaults to the authenticated account. With low coverage, the description should have compensated and does not.

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 ('Get the account's Pixel Tag') and even enumerates what comes back: the pixel ID and the install HTML snippet. That is clear enough to distinguish from a generic getter, but it gives no signal about how it differs from siblings like tg_manage_pixel or tg_list_pixel_events.

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?

Usage is only implied by the read-only verb 'Get' — the description never says when to reach for this versus tg_manage_pixel (which presumably creates/edits the pixel) or tg_list_pixel_events. An agent can infer it retrieves rather than mutates, but there is no explicit context or exclusion.

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