Skip to main content
Glama
askads

Yandex Direct MCP

Список групп объявлений

list_ad_groups
Read-onlyIdempotent

Returns ad groups filtered by campaign or group IDs. Supports pagination, field selection, and auto-pagination to fetch all matching records.

Instructions

Возвращает список групп объявлений. Нужно передать campaignIds и/или ids — API Яндекс Директа требует хотя бы один критерий отбора.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoФильтр по id групп объявлений.
limitNoМаксимум объектов на страницу.
offsetNoСмещение постраничной выдачи (сколько объектов пропустить).
fieldNamesNoКакие поля группы вернуть.
campaignIdsNoФильтр по id кампаний.
autoPaginateNoЗабрать все страницы, идя по LimitedBy (limit тогда не ограничивает общий объём).
Behavior3/5

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

The annotations already cover read-only, idempotent, and non-destructive behavior, so the description does not need to repeat safety traits. It does add useful behavioral context by stating that the Yandex Direct API requires at least one selection criterion. It does not, however, describe return format, error conditions, or pagination behavior beyond what annotations and schema imply.

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 two short sentences with no filler or redundant restatement. The core purpose is front-loaded, and the critical API requirement follows immediately. Every sentence earns its place.

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?

Given the simple read-only nature, full parameter documentation in the schema, and clear annotations, this description is nearly complete. The one notable gap is the absence of return-shape information and no hint about which fields may be requested via fieldNames, though both are mitigated by schema completeness and the tool's straightforward semantics.

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 description coverage is 100%, so each parameter is individually explained. The description adds genuine cross-parameter meaning: campaignIds and/or ids must be passed, and the API requires at least one criterion. This compensates for the schema listing zero required parameters and clarifies an otherwise non-obvious constraint.

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 the operation: it returns a list of ad groups. It unambiguously targets the resource 'ad groups', which distinguishes it from sibling tools like list_ads, list_campaigns, and list_keywords. The verb and object are both specific and accurate.

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 provides clear context for use: to list ad groups, you must supply campaignIds and/or ids. It does not explicitly name alternatives or exclusions, but the requirement is direct and practically actionable.

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

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