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

yandex-direct-mcp-plus

by Pavelsiba

Аудиторные цели

list_audience_targets
Read-only

Retrieve audience targeting conditions by campaign, ad group, retargeting list, or interest ID, with filters for state and pagination to inspect and manage targeting settings.

Instructions

Получить условия нацеливания на аудиторию по ID кампании, группы, ретаргетинга или интереса.

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": "list_audience_targets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoСколько объектов вернуть (максимум 10000)
offsetNoСмещение выборки: сюда передаётся LimitedBy предыдущей страницы
statesNoФильтр по состоянию: ON или SUSPENDED
ad_group_idsNoУсловия выбранных групп
campaign_idsNoУсловия выбранных кампаний
interest_idsNoУсловия, построенные на этих интересах
audience_target_idsNoКонкретные условия нацеливания
retargeting_list_idsNoУсловия, построенные на этих списках ретаргетинга

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 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
  2. First observedv1.6.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. Beyond that the description discloses nothing: it does not say what happens when no IDs are supplied (all targets for the account?), what the default or maximum page size is, or how pagination works, even though the tool returns a paged collection.

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?

A single well-formed sentence with zero filler, and the verb plus resource are front-loaded. It is efficiently written; the shortfall is missing content rather than wasted wording.

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

Completeness2/5

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

This is an eight-parameter listing tool with no required parameters and no output schema, so the description has to carry the burden of telling the agent what a call returns and how the filters combine. It says nothing about the return shape, pagination, default page size, or whether filters are ANDed, leaving significant gaps for a tool of this complexity.

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 all eight parameters are already documented in the schema, and the baseline is 3. The description echoes four of the filter dimensions (campaign, ad group, retargeting, interest) but omits audience_target_ids, states, limit and offset, so it adds no meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Получить') and resource ('условия нацеливания на аудиторию') and names the ID dimensions used to select them. The verb form implicitly contrasts with the sibling set_audience_targets, but the description never names that sibling or any other alternative, so it stops short of full differentiation.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no when-not, and no mention of alternatives such as list_dynamic_targets or list_retargeting_lists, which are the nearest siblings in the tool list. The agent must infer from the verb that this is the read path for audience targeting conditions.

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