Skip to main content
Glama
OlegRadinuk

Yandex Direct MCP Server

by OlegRadinuk

add_ad_groups

Create ad groups within existing Yandex Direct campaigns, specifying geo targeting, type, negative keywords, and tracking parameters. Dry-run mode prevents unintended changes.

Instructions

Create ad groups inside existing campaigns.

Args: ad_groups: List of ad group objects. Each must include: - Name (str): group name (required) - CampaignId (int): parent campaign ID (required) - RegionIds (list[int]): geo targeting region IDs (required). Russia = 225, Moscow = 1, Saint-Petersburg = 2. Use get region IDs from Yandex geo tree. - Type (str, optional): "TEXT_AD_GROUP" (default), "MOBILE_APP_AD_GROUP" - NegativeKeywords (list[str], optional): minus-words for this group - TrackingParams (str, optional): UTM params appended to URLs

confirm: True to execute; False returns dry-run plan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_groupsYes
confirmNo
Behavior4/5

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

With no annotations, the description carries full burden. It clearly explains the dry-run capability and constraints on required fields. It does not mention permissions, rate limits, or side effects, but it is transparent about the create operation and parameter roles.

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?

The description is well-structured with a clear title and a bullet-like Args section. Each sentence provides essential information without redundancy. It is concise yet thorough.

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?

The description covers the complex nested object array for ad_groups, required fields, and optional fields with region ID examples. It lacks details on error handling or existence checks but is complete for a creation tool given no output schema.

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?

Schema coverage is 0% with no descriptions in the schema. The description adds comprehensive parameter details: Name, CampaignId, RegionIds (with examples), Type, NegativeKeywords, TrackingParams, and confirm. This far exceeds 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 clearly states 'Create ad groups inside existing campaigns', using a specific verb and resource. It distinguishes from sibling tools like 'add_campaigns' and 'list_ad_groups', which have different purposes.

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?

The description implies campaigns must exist and explains the confirm parameter for dry-run vs execution. However, it does not explicitly compare with alternatives like 'add_ads' or provide when-not-to-use scenarios.

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