Skip to main content
Glama
gmen1057

yandex-direct-mcp

by gmen1057

direct_add_ads

Add new text ads to Yandex Direct ad groups, providing title, text, and href. Supports optional fields like sitelinks and mobile settings, with a limit of 3 ads per group on UNIFIED campaigns.

Instructions

WRITE: ads.add TextAd. ads=[{adgroup_id, title, title2?, text, href, display_url_path?, image_hash?, sitelink_set_id?, mobile?}]. Max 3 ads/group on UNIFIED. Title ≤56, Title2 ≤30, Text ≤81. No ₽·— VPN in copy. allow_write=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adsYes
dry_runNo
projectNoКлюч бренда из projects.json, либо all | unknown. Write: только ключ из projects.json (не all).
moderateNoCall ads.moderate after add
allow_writeNoMust be true to mutate live cabinet. Without it tools return dry plan only.
Behavior4/5

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

With no annotations, the description carries the transparency burden. It clearly marks this as a WRITE operation, discloses the need for allow_write=true to mutate, and provides concrete rules: maximum 3 ads per group, character limits (Title ≤56, Title2 ≤30, Text ≤81), and content restrictions ('No ₽·— VPN in copy'). This is substantial behavioral disclosure, though it doesn't mention response format or error behavior.

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 compact and dense, using a technical shorthand that efficiently conveys the ad structure and rules. It is front-loaded with the core purpose ('WRITE: ads.add TextAd') followed by structured constraints. Slightly unstructured due to the mix of prose and code-like notation, but every part earns its place.

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?

The description covers the core ads parameter very well, but leaves gaps: the dry_run parameter is undocumented in both schema and description, and the tool's return value/behavior on success is not mentioned. The schema descriptions for project, moderate, and allow_write partially compensate, but with no output schema, some operational context is still missing.

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?

The description adds significant meaning to the 'ads' parameter by enumerating its fields, marking optional ones with '?', and imposing length constraints and content restrictions. The schema only provides types for these nested fields, so the description fills a major gap. It also reinforces the allow_write parameter's requirement. This goes well beyond the 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 opens with 'WRITE: ads.add TextAd' which clearly specifies the action (adding TextAds) and the API method. It lists the exact fields for the ads array, distinguishing this tool from sibling tools like direct_add_adgroups or direct_add_keywords. The scope is unambiguous.

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 implies usage by stating it adds TextAds and includes constraints like 'Max 3 ads/group on UNIFIED' and 'allow_write=true' as a requirement. However, it does not explicitly mention when to use this tool over alternatives or provide exclusions (e.g., for image ads use a different tool). The context is clear but lacks explicit guidance.

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/gmen1057/yandex-direct-mcp'

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