Skip to main content
Glama
OlegRadinuk

Yandex Direct MCP Server

by OlegRadinuk

add_campaigns

Create text campaigns in Yandex Direct with specified budgets, dates, and bidding strategies. Use confirm parameter to execute or dry-run to preview.

Instructions

Create one or more TEXT_CAMPAIGN campaigns.

Args: campaigns: List of campaign objects. Each must include: - Name (str): campaign name (required) - StartDate (str): YYYY-MM-DD (required) - EndDate (str, optional): YYYY-MM-DD - DailyBudget (dict, optional): {"Amount": , "Mode": "STANDARD"|"DISTRIBUTED"} - NegativeKeywords (list[str], optional): minus-words for entire campaign - TextCampaign (dict, required for TEXT_CAMPAIGN): bidding strategy config - ManualCPC (search only, no networks): {"BiddingStrategy": { "Search": {"BiddingStrategyType": "HIGHEST_POSITION"}, "Network": {"BiddingStrategyType": "SERVING_OFF"} }} - Auto, max clicks (recommended for new campaigns): {"BiddingStrategy": { "Search": {"BiddingStrategyType": "WB_MAXIMUM_CLICKS", "WbMaximumClicks": {"WeeklySpendLimit": }}, "Network": {"BiddingStrategyType": "NETWORK_DEFAULT"} }} - Auto, target CPC: {"BiddingStrategy": { "Search": {"BiddingStrategyType": "AVERAGE_CPC", "AverageCpc": {"AverageCpc": }}, "Network": {"BiddingStrategyType": "NETWORK_DEFAULT"} }}

confirm: True to actually create campaigns; False returns dry-run plan.

MONEY NOTE: DailyBudget.Amount and all bid values are in MICROS. 1 RUB = 1_000_000 micros. 300 RUB/day = 300_000_000.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaignsYes
confirmNo
Behavior4/5

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

Despite no annotations, the description discloses critical behaviors: the confirm parameter for dry-run vs. actual creation, the money note about micros, and the detailed bidding strategy options. However, it does not mention error handling, permissions, or whether creation is asynchronous, which are minor gaps.

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 front-loaded with a clear one-sentence purpose, then structured into args with examples and a money note. While somewhat lengthy due to the bidding strategy details, each part is necessary for correct usage; however, minor redundancy (e.g., repeating 'required' multiple times) could be trimmed.

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?

Given the complexity (2 parameters, no output schema, no annotations), the description covers campaign structure, confirm behavior, and micros. It lacks an explanation of the return value or error scenarios, but the dry-run mention partially addresses output. Overall, it is comprehensive enough for an agent to invoke correctly.

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

Parameters5/5

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

With 0% schema coverage, the description fully compensates by detailing every field of the `campaigns` array parameter: required fields (Name, StartDate), optional fields (EndDate, DailyBudget, NegativeKeywords), and the complex TextCampaign structure with multiple bidding strategy examples. This adds immense value beyond the bare schema.

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 starts with 'Create one or more TEXT_CAMPAIGN campaigns,' which clearly specifies the action (create), the resource (campaigns), and the specific type (TEXT_CAMPAIGN). This distinguishes it from siblings like add_ad_groups or add_ads, making the tool's purpose immediately clear.

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?

The description implicitly indicates usage for creation, but lacks explicit guidance on when to prefer this tool over alternatives like update_campaigns or when not to use it (e.g., for non-TEXT_CAMPAIGN types). No exclusions or context are provided for deciding between siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OlegRadinuk/yandex-direct-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server