Skip to main content
Glama

Список креативов

list_creatives
Read-onlyIdempotent

List ad creatives from your Avito Ads account with pagination and filters by status, campaign, advertiser, and more. Access ad details including legal ERID data and remaining API quota.

Instructions

Перечисляет креативы аккаунта — сами объявления — постранично. Возвращает {total, items, page, limit, hasNextPage} плюс apiPointBalance (остаток недельных баллов API). У каждого креатива есть id, name, title, description, buttonText, link, status, groupID, campaignID, advertiserID, paymentModel, campaignType и legalInfo (данные рекламного реестра / ERID). Только чтение: загрузить, изменить, отправить на модерацию, приостановить или удалить креатив через этот API нельзя — изменять можно только бюджет и ставку группы объявлений.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoОставить креативы с этими id.
pageNoНомер страницы, нумерация с 1. По умолчанию 1.
limitNoРазмер страницы, 1..100. По умолчанию 20.
filterNoУниверсальный фильтр: дополнительные ключи, которые подмешиваются в фильтр запроса как есть (в написании API). При конфликте побеждают именованные поля выше.
groupIdsNoОставить креативы этих групп объявлений (по id).
managersNoОставить креативы этих менеджеров — пользователей аккаунта (по id).
statusesNoОставить креативы с этими статусами: draft, ready_for_moderation, in_moderation, moderation_failed, erir_registration, active, paused, stopped, finished, archived.
timeFrameNoОставить креативы, период размещения которых попадает в этот диапазон: {from, to}, YYYY-MM-DD.
advertisersNoОставить креативы этих рекламодателей (по id).
campaignIdsNoОставить креативы этих кампаний (по id).
campaignTypesNoОставить только эти типы кампаний: textImage, HTML, video.
paymentModelsNoОставить только эти модели оплаты: CPM, CPC.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changedv1.1.0
    • changedInput schema / properties / advertisers / description
      Previous value: -"Advertiser ids whose creatives to keep."New value: +"Оставить креативы этих рекламодателей (по id)."
    • changedInput schema / properties / campaignIds / description
      Previous value: -"Campaign ids whose creatives to keep."New value: +"Оставить креативы этих кампаний (по id)."
    • changedInput schema / properties / campaignTypes / description
      Previous value: -"Campaign types to keep: textImage, HTML, video."New value: +"Оставить только эти типы кампаний: textImage, HTML, video."
    • changedInput schema / properties / filter / description
      Previous value: -"Escape hatch: extra filter keys merged as-is into the request filter (API spelling). The named fields above win on conflict."New value: +"Универсальный фильтр: дополнительные ключи, которые подмешиваются в фильтр запроса как есть (в написании API). При конфликте побеждают именованные поля выше."
    • changedInput schema / properties / groupIds / description
      Previous value: -"Ad group ids whose creatives to keep."New value: +"Оставить креативы этих групп объявлений (по id)."
    • changedInput schema / properties / ids / description
      Previous value: -"Creative ids to keep."New value: +"Оставить креативы с этими id."
    • changedInput schema / properties / limit / description
      Previous value: -"Page size, 1..100. Default 20."New value: +"Размер страницы, 1..100. По умолчанию 20."
    • changedInput schema / properties / managers / description
      Previous value: -"Manager (account user) ids whose creatives to keep."New value: +"Оставить креативы этих менеджеров — пользователей аккаунта (по id)."
    • changedInput schema / properties / page / description
      Previous value: -"1-based page number. Default 1."New value: +"Номер страницы, нумерация с 1. По умолчанию 1."
    • changedInput schema / properties / paymentModels / description
      Previous value: -"Payment models to keep: CPM, CPC."New value: +"Оставить только эти модели оплаты: CPM, CPC."
    • changedInput schema / properties / statuses / description
      Previous value: -"Creative statuses to keep: draft, ready_for_moderation, in_moderation, moderation_failed, erir_registration, active, paused, stopped, finished, archived."New value: +"Оставить креативы с этими статусами: draft, ready_for_moderation, in_moderation, moderation_failed, erir_registration, active, paused, stopped, finished, archived."
    • changedInput schema / properties / timeFrame / description
      Previous value: -"Keep creatives whose flight window falls in this range: {from, to}, YYYY-MM-DD."New value: +"Оставить креативы, период размещения которых попадает в этот диапазон: {from, to}, YYYY-MM-DD."
    • changedInput schema / properties / timeFrame / properties / from / description
      Previous value: -"Range start, YYYY-MM-DD."New value: +"Начало диапазона, YYYY-MM-DD."
    • changedInput schema / properties / timeFrame / properties / to / description
      Previous value: -"Range end, YYYY-MM-DD."New value: +"Конец диапазона, YYYY-MM-DD."
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. Description adds: pagination behavior (returns page/limit/hasNextPage), apiPointBalance disclosure, and explicit list of what actions are NOT possible (modify/pause/delete). This exceeds annotation coverage meaningfully, though could mention rate limits (weekly API points).

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?

Description is a single dense paragraph, front-loaded with purpose and return structure, then filters, then constraints. Efficient but slightly long due to exhaustive field listing; no waste though.

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?

For a read-only listing tool with 12 parameters and no output schema, description covers return fields, pagination, and constraints. Missing output schema is compensated by describing items. Could mention default pagination values, but schema already covers defaults. Overall complete enough.

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 coverage is 100% with detailed descriptions for every parameter, including enums inline. Description reinforces filter behavior (e.g., conflict precedence for 'filter' field) but adds only marginal value beyond schema. Baseline 3 is correct.

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?

Description states 'Перечисляет креативы аккаунта' (lists account creatives) with explicit pagination and return structure. Differentiates from siblings by naming what it returns (creatives/ads) vs campaigns/groups/stats tools. Clear verb+resource.

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?

Lists all filter parameters and their semantics, implying use for filtering. Explicitly states it's read-only and what can't be done via this API. However, doesn't explicitly name sibling alternatives (like list_campaigns or creative_stats) for when to use them instead.

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