Skip to main content
Glama
Pavelsiba

yandex-direct-mcp-plus

by Pavelsiba

Создать кампанию

create_campaign

Create a Yandex.Direct text-and-image campaign with ruble budgets, start date, and bid strategies. Dry-run checks settings; keep test campaigns as drafts because writes hit the live account.

Instructions

Создать новую текстово-графическую кампанию. Бюджет в рублях. Смарт-баннеры и динамические объявления Директ через API не создаёт с 22.05.2026, единую перфоманс-кампанию этот сервер пока не создаёт: такие кампании заводятся в интерфейсе Директа, дальше их можно читать и править здесь. ⚠️ Тестовой среды у Директа нет: кампания создаётся в боевом аккаунте. Деньги она начнёт тратить после модерации и включения, поэтому созданную для проверки оставляйте черновиком.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesНазвание кампании
typeNoТип кампании. Через API создаётся только текстово-графическая: смарт-баннеры и динамические объявления Директ через API не создаётTEXT_CAMPAIGN
dry_runNotrue — ничего не менять: проверить параметры и вернуть тела запросов, которые ушли бы в Директ. Чтение при этом выполняется.
time_zoneNoЧасовой пояс показов, например Europe/Moscow (по умолчанию). Список — в справочнике list_time_zones; на даты отчётов не влияет, они всегда по Москве
start_dateYesДата начала показов, YYYY-MM-DD
daily_budgetNoДневной бюджет в рублях, например 1000 — это 1000 ₽
search_strategyNoСтратегия показов на поиске; SERVING_OFF отключает показы на поискеHIGHEST_POSITION
tracking_paramsNoUTM-разметка, дописывается к ссылкам всех объявлений кампании. Без ведущего «?»: utm_source=yandex&utm_campaign={campaign_id}. Допустимы подстановки Директа в фигурных скобках. null снимает разметку
network_strategyNoСтратегия показов в сетях (РСЯ); SERVING_OFF отключает показы в сетяхSERVING_OFF

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.7.0
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "true — ничего не менять: проверить параметры и вернуть тела запросов, которые ушли бы в Директ. Чтение при этом выполняется.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / type / const
      Added value: +"TEXT_CAMPAIGN"
    • changedInput schema / properties / type / description
      Previous value: -"Тип кампании: текстово-графическая или динамические объявления"New value: +"Тип кампании. Через API создаётся только текстово-графическая: смарт-баннеры и динамические объявления Директ через API не создаёт"
    • removedInput schema / properties / type / enum
      Removed value: -[
      -  "TEXT_CAMPAIGN",
      -  "DYNAMIC_TEXT_CAMPAIGN"
      -]
  2. First observedv1.6.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover only readOnlyHint=false and openWorldHint=true; the description adds the crucial behavioral facts the annotations do not: there is no sandbox, the campaign is created in a live account, and it will only spend money after moderation and enabling. It does not describe error modes or what a dry_run response actually contains, so it falls just short of a 5.

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 core action, then constraints, then the safety warning — every sentence carries information. It is somewhat dense and the warning block could be tightened, but nothing is filler.

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

Completeness5/5

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

For a 9-parameter mutation tool with no output schema and open-world annotations, the description supplies the missing risk context (production account, spend after moderation, dry_run flag, draft guidance) that an agent needs to call it safely.

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 100%, so the schema already documents all nine parameters (including dry_run, time_zone and tracking_params semantics). The description only adds the currency unit for budget ("Бюджет в рублях") and restates the type restriction already in the schema's type description.

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 a specific verb+resource ("Создать новую текстово-графическую кампанию") and immediately narrows scope to text-graphic campaigns only, which cleanly separates it from update_campaign, manage_campaigns and create_ad_group. An agent knows exactly what artifact this produces.

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

Usage Guidelines5/5

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

It states explicit when-not conditions: smart banners, dynamic ads and unified performance campaigns cannot be created via this API/server and must be made in the Директ UI. It also gives an operating instruction (keep test-created campaigns as drafts) that directly shapes how the tool should be used.

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