Skip to main content
Glama

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

creative_stats
Read-onlyIdempotent

Fetch performance metrics for selected creative IDs within one campaign (views, clicks, CTR, spend, CPM, CPC, VTR, video quartiles). For campaign totals, use the campaign stats tool.

Instructions

Статистика по перечисленным креативам одной кампании: плоский массив, по записи на креатив ({id, name, groupId, paymentModel, campaignType, data[] по дням, totalData за период}). Метрики те же, что у campaign_stats — views (показы), clicks (клики), ctr, spend (расход), spendBonus, cpm, cpc, квартили видео, vtr, — деньги в рублях. Поле creativeIds обязательно: инструмент сужает выборку, а не перечисляет её. Период включает обе границы, формат YYYY-MM-DD, длительность не больше 100 дней. Итогов по кампании не возвращает; чтобы охватить все креативы кампании, есть campaign_stats с той же разбивкой. Тратит недельные баллы API; apiPointBalance в ответе — остаток до пополнения квоты в понедельник в 00:00 UTC, поэтому один широкий период предпочтительнее многих узких вызовов.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateToYesПоследний день периода, включительно (YYYY-MM-DD). Должен быть >= dateFrom, а период — не длиннее 100 дней.
dateFromYesПервый день периода, включительно (YYYY-MM-DD).
campaignIdYesКампания, креативы которой попадают в отчёт. Id можно найти через list_campaigns.
creativeIdsYesId креативов для отчёта, например [9001]. Обязательное поле; id даёт list_creatives, а по всей кампании отчитывается campaign_stats.
Behavior5/5

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

Annotations already declare read-only, idempotent, and non-destructive. The description adds critical behavioral context: it spends weekly API points, includes apiPointBalance in the response, enforces a 100-day period limit with inclusive boundaries, and clarifies that it narrows selection via creativeIds. No contradiction with annotations.

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 dense but every sentence adds value: purpose, output structure, metrics, constraints, and quota advice. It is front-loaded with the core function and logically organized, with no 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?

Given no output schema, the description sufficiently details the return format (fields per creative, data per day, totalData), mentions metric names, currency, period rules, and the response quota field. It provides enough to call the tool correctly without ambiguity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

While schema covers all 4 parameters (100% coverage), the description adds non-obvious semantics: creativeIds narrows the selection rather than enumerates, and the period includes both boundaries with a max duration. This goes beyond the schema's basic descriptions.

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 it provides statistics for the listed creatives of one campaign, returns a flat array with per-creative fields, and lists the metrics. It distinguishes itself from campaign_stats by explicitly noting it does not return campaign totals and that campaign_stats covers all creatives.

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?

It explicitly states when to use the alternative: 'to cover all creatives of a campaign, there is campaign_stats'. It also advises one broad period over many narrow calls due to API point spending, providing clear decision guidance.

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