Skip to main content
Glama

List ad groups

list_groups
Read-onlyIdempotent

Retrieve paginated ad groups from your Avito Ads account, showing budgets, bids, statuses, and API point balance. Filters allow targeting by campaign, advertiser, status, and payment model.

Instructions

Lists the account's ad groups, one page at a time. Returns {total, items, page, limit, hasNextPage} plus apiPointBalance (weekly API points left). The group is the level that holds the money: each item carries id, name, campaignID, status, budget and price (the bid) in rubles, paymentModel, campaignType, advertiserID, haveCreative and timestamps. Use change_group_budget / change_group_price to change those two numbers — they are the only writable fields in the whole ad object tree. Groups cannot be created, renamed, paused, resumed or deleted here, and their targeting is not exposed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoAd group ids to keep.
pageNo1-based page number. Default 1.
limitNoPage size, 1..100. Default 20.
pacesNoBudget pacing modes to keep. Free-form: the SDK documents no fixed vocabulary for this filter.
filterNoEscape hatch: extra filter keys merged as-is into the request filter (API spelling). The named fields above win on conflict.
managersNoManager (account user) ids whose groups to keep.
statusesNoGroup statuses to keep: draft, in_moderation, moderation_failed, will_launch_soon, active, will_stop_soon, pausing, paused, unpausing, stopped, finished, archived.
timeFrameNoKeep groups whose flight window falls in this range: {from, to}, YYYY-MM-DD.
advertisersNoAdvertiser ids whose groups to keep.
campaignIdsNoCampaign ids whose groups to keep.
paymentModelsNoPayment models to keep: CPM, CPC.
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is known. The description adds behavioral context beyond annotations: pagination behavior, the exact return shape including apiPointBalance, the meaning of key fields (e.g., price is the bid in rubles), and limitations like targeting not being exposed. This is substantial added value, though it doesn't cover error conditions or authentication nuances.

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 front-loaded with the core purpose, then efficiently covers return structure, key field semantics, and usage alternatives. Each sentence earns its place; no filler or redundancy.

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?

With 11 parameters, no output schema, and no explicit return value documentation elsewhere, the description takes on the burden of explaining the response structure and key field meanings. It also covers the level's financial significance and what is not included (targeting), making it highly complete for a list operation.

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?

Parameter schema coverage is 100%, so the baseline is 3. The description does not add any additional semantic meaning to the parameters themselves; it mentions pagination but the schema already documents page/limit defaults and ranges. No extra clarity beyond schema is provided.

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?

Clearly states it lists the account's ad groups with pagination, using a specific verb and resource. It distinguishes from siblings by emphasizing that this is the list operation for groups, and contrasts with mutation tools like change_group_budget/change_group_price. 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 Guidelines5/5

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

Explicitly directs users to change_group_budget and change_group_price for modifying the only writable fields, and states that groups cannot be created, renamed, paused, resumed, or deleted here. This provides clear when-to-use and when-not-to-use guidance relative to alternatives.

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/A1-x-Tech/mcp-avito-ads'

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