Skip to main content
Glama
yandex-direct-mcp-plus

yandex-direct-mcp-plus

by Pavelsiba

Аукцион по фразам

get_keyword_auction
Read-only

Retrieve current auction bids, click prices, and traffic-volume options for keywords, ad groups, or campaigns across search and network placements to plan bids accurately.

Instructions

Сколько стоит трафик по фразам: текущие ставки и торги на поиске и в сетях. Всё в рублях. На поиске Search.AuctionBids — для каждого объёма трафика фразы TrafficVolume Bid — сколько поставить и Price — сколько спишется за клик. Объём трафика — индекс кликабельности места показа: 100 — первое место премиум-показов, следующие места — 85, 75, 65; выше 100 — места кликабельнее первого, например показ в расширенном формате. В сетях Network.Coverage — ставка под долю аудитории (Probability, %). Отбор по одному уровню: фразы, группы или кампании. Торги видны при любой стратегии, но ставкой управляются только при ручной: на автостратегии (WB_*, AVERAGE_CPA, AVERAGE_CPC и прочие) ставки назначает Директ. Стратегию кампании проверяйте через get_strategy.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_keyword_auction"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoСколько объектов вернуть (максимум 10000)
offsetNoСмещение выборки: сюда передаётся LimitedBy предыдущей страницы
placementsNoЧьи торги показать: search — поиск, network — сети. По умолчанию обе; у кампании с выключенными показами на одной из площадок запрашивайте только другую
keyword_idsNoАукцион по указанным фразам и автотаргетингам
ad_group_idsNoАукцион по всем фразам указанных групп
campaign_idsNoАукцион по всем фразам указанных кампаний

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.1.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / keyword_ids / description
      Previous value: -"Аукцион по указанным фразам"New value: +"Аукцион по указанным фразам и автотаргетингам"
    • changedInput schema / properties / keyword_ids / items / description
      Previous value: -"ID ключевой фразы"New value: +"ID ключевой фразы или автотаргетинга"
    • addedInput schema / properties / placements
      Added value: +{
      +  "default": [
      +    "search",
      +    "network"
      +  ],
      +  "description": "Чьи торги показать: search — поиск, network — сети. По умолчанию обе; у кампании с выключенными показами на одной из площадок запрашивайте только другую",
      +  "items": {
      +    "enum": [
      +      "search",
      +      "network"
      +    ],
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
  2. First observedv1.6.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say readOnly/openWorld; the description adds substantial behavior beyond that: values are in rubles, bids are visible under any strategy but only manageable under a manual strategy, autostrategies (WB_*, AVERAGE_CPA, AVERAGE_CPC) have Direct assigning bids, and TrafficVolume is an index where 100 = first premium position with 85/75/65 below. No contradiction with readOnlyHint=true.

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 purpose, then return semantics, then selection rules and the strategy caveat. The TrafficVolume index enumeration (100/85/75/65, above 100) is verbose but genuinely aids interpretation, so it mostly earns its space.

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?

There is no output schema, so the description carries the full burden of explaining return structure — and it does so for both search (TrafficVolume/Bid/Price) and network (Coverage/Probability) outputs, plus units and strategy dependency. An agent has everything needed to call and read the result correctly.

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 the baseline is 3; the description earns an extra point by stating the mutual-exclusion rule that the schema does not express (one level of keyword_ids / ad_group_ids / campaign_ids at a time) and by explaining how placements interacts with disabled placements.

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+resource: current bid prices for traffic on phrases, on search and networks, in rubles. It distinguishes itself from siblings like get_keyword_forecast (forecast) and set_keyword_bids (mutation) by being a read of live auction/bid data, and it names the exact response containers (Search.AuctionBids, Network.Coverage).

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?

Gives real selection rules: 'Отбор по одному уровню: фразы, группы или кампании' and 'у кампании с выключенными показами на одной из площадок запрашивайте только другую'. It also routes the agent to get_strategy before interpreting bid control. It stops short of explicitly contrasting with get_keyword_forecast or stating when not to call it.

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