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

yandex-direct-mcp-plus

by Pavelsiba

Список кампаний

list_campaigns
Read-only

List Yandex.Direct ad campaigns and filter by status or type; request extra fields as needed. Note: MCBANNER campaigns are not returned by the API.

Instructions

Список рекламных кампаний Яндекс.Директ с фильтрацией по статусу и типу. Бюджеты — в рублях. По умолчанию возвращается узкий набор полей; нужны другие (Funds, TimeZone, NegativeKeywords и прочие из CampaignFieldEnum) — перечислите их в fields. Кампаний «Баннер на поиске» (MCBANNER) API не отдаёт вовсе: их нет в списке, и это граница API, а не ошибка логина или фильтра — такие кампании видны только в веб-интерфейсе.

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_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoСколько объектов вернуть (максимум 10000)
typesNoФильтр по типам кампаний
fieldsNoКакие поля вернуть; по умолчанию Id, Name, Status, StatusClarification, State, DailyBudget, StartDate, Type, Statistics
offsetNoСмещение выборки: сюда передаётся LimitedBy предыдущей страницы
statusNoФильтр по статусу модерации кампании

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

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, yet the description adds genuinely non-obvious behavior: budgets are denominated in rubles, and MCBANNER-type campaigns are absent at the API boundary rather than due to login or filter problems. That last note is high-value troubleshooting context that neither annotations nor schema provide. It stops short of covering pagination/ordering behavior, so not a 5.

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?

Front-loaded with purpose, then the currency convention, then field selection, then the MCBANNER caveat. Four sentences, each carrying distinct information with no redundancy.

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?

All parameters are optional and fully schema-documented, and there is no output schema, so the description's job is mostly scope and gotchas — which it covers well, including the unlisted MCBANNER campaigns. Minor gap: no statement about result ordering or how pagination terminates, though `offset` documentation partly compensates.

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 five parameters (limit, types, fields, offset, status) are already documented with defaults, bounds and enums. The description restates the default field list and names CampaignFieldEnum, but adds little parameter-level meaning beyond the schema — the ruble-unit note concerns returned values rather than inputs.

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?

Names a specific verb+resource combination ('Список рекламных кампаний Яндекс.Директ') and adds scope ('с фильтрацией по статусу и типу'), which cleanly separates it from the singular get_campaign and the mutating create_campaign/update_campaign/manage_campaigns siblings.

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 clear usage context: filter by status/type, and only pass `fields` when the default narrow field set is insufficient, with concrete examples (Funds, TimeZone, NegativeKeywords). It also sets an expectation boundary (MCBANNER campaigns never appear), but it does not explicitly contrast itself with get_campaign or manage_campaigns.

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