Skip to main content
Glama
askads

VK Ads MCP

Создать объявление (banner)

create_banner

Creates an ad banner inside a specified VK Ads ad group, linking uploaded media, text blocks, and URLs so you can publish a complete ad creative.

Instructions

Создаёт объявление внутри группы объявлений (POST v2/ad_groups/{adGroupId}/banners.json; верхний v2/banners.json — только список). Креатив ссылается на загруженные медиа через content, тексты объявления — в textblocks, ссылки — в urls. Эти структуры отправляются как есть; точная форма для каждого формата объявления — в документации VK Рекламы.

Input Schema

NameRequiredDescriptionDefault
nameNoНазвание объявления.
urlsNoОбъекты ссылок, например {"primary":{"url":"https://..."}}.
extraNoДополнительные поля объявления, подмешиваемые в тело запроса как есть.
contentNoСсылки на содержимое креатива: {"<слот>": {"id": <id из upload_image>}}. Картинка должна подходить слоту по размеру (image_600x600 — не шире 600 px).
adGroupIdYesId родительской группы объявлений.
textblocksNoТекстовые блоки, например {"title":{"text":"..."},"text":{"text":"..."}}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.1
    • changedInput schema / properties / content / description
      Previous value: -"Ссылки на содержимое креатива (id загруженных медиа)."New value: +"Ссылки на содержимое креатива: {\"<слот>\": {\"id\": <id из upload_image>}}. Картинка должна подходить слоту по размеру (image_600x600 — не шире 600 px)."
  2. Changed6 schema fields changedv1.5.0
    • changedInput schema / properties / adGroupId / description
      Previous value: -"Parent ad group id."New value: +"Id родительской группы объявлений."
    • changedInput schema / properties / content / description
      Previous value: -"Creative content references (uploaded media ids)."New value: +"Ссылки на содержимое креатива (id загруженных медиа)."
    • changedInput schema / properties / extra / description
      Previous value: -"Extra banner fields merged into the body verbatim."New value: +"Дополнительные поля объявления, подмешиваемые в тело запроса как есть."
    • changedInput schema / properties / name / description
      Previous value: -"Banner name."New value: +"Название объявления."
    • changedInput schema / properties / textblocks / description
      Previous value: -"Text blocks, e.g. {\"title\":{\"text\":\"...\"},\"text\":{\"text\":\"...\"}}."New value: +"Текстовые блоки, например {\"title\":{\"text\":\"...\"},\"text\":{\"text\":\"...\"}}."
    • changedInput schema / properties / urls / description
      Previous value: -"Link objects, e.g. {\"primary\":{\"url\":\"https://...\"}}."New value: +"Объекты ссылок, например {\"primary\":{\"url\":\"https://...\"}}."
  3. First observedv1.1.3

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the write/one-shot/open-world profile, so the bar is lower and the description earns credit for adding real context: the structures are passed through as-is with no server-side reshaping, and the format-specific shape is delegated to VK Ads documentation. It stops short of saying what is returned (banner id) or whether validation errors are surfaced per field.

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?

Front-loaded with the action and endpoint, then the payload semantics, then the documentation pointer — a logical order with no filler. The parenthetical endpoint note costs some density but pays for itself by preventing a wrong-endpoint call.

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 6-parameter tool with nested free-form objects and no output schema, the description covers the destination, the meaning of each payload shape, and where to find the per-format contract. The remaining gap is the response shape and the upload_image dependency, which are only implied.

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

Parameters4/5

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

Schema coverage is 100%, so 3 is the baseline; the description earns a bump by explaining the relationship between the three passthrough objects (content → uploaded media, textblocks → ad copy, urls → links) and by flagging that the exact shape varies per banner format and lives in external docs — something the schema explicitly cannot express.

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?

States a specific verb and resource ('Создаёт объявление') and pins down the exact endpoint (POST v2/ad_groups/{adGroupId}/banners.json), which immediately distinguishes it from list_banners and the other create_* siblings. It also pre-empts a likely confusion by noting that the top-level v2/banners.json is list-only.

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?

Clearly establishes the required context — a banner can only be created inside an existing ad group — and rules out the top-level path. It implies the upload_image prerequisite by saying the creative references already-uploaded media, but does not state prerequisites or failure modes explicitly (e.g. what happens with a wrong adGroupId or a slot-mismatched image).

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