Skip to main content
Glama
Qusto

vk-ads-mcp

by Qusto

get_top_objects

Read-onlyIdempotent

Rank VK Ads campaigns, ad groups, or banners by a chosen metric such as CTR or CPC, and retrieve the top N highest or lowest values for performance analysis and optimization.

Instructions

Rank VK Ads objects by a performance metric and return the top N.

Fetches statistics via the shared client, reads the chosen metric from each object's total.base aggregate, sorts the objects, and returns the best (or worst) limit of them. Use this to pick the best-performing (or worst-performing) campaigns, ad groups or banners.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_typeYesOne of ``"ad_plans"`` (campaigns), ``"ad_groups"`` or ``"banners"``.
metricYesThe metric to rank by, taken from ``total.base``, e.g. ``"ctr"``, ``"cpc"``, ``"cpa"``, ``"spent"``, ``"clicks"``, ``"shows"``, ``"cpm"``, ``"cr"``, ``"goals"``.
date_fromNoInclusive start date ``YYYY-MM-DD``. Pair with ``date_to``.
date_toNoInclusive end date ``YYYY-MM-DD``. Pair with ``date_from``.
limitNoHow many top objects to return (default 10). Clamped to >= 1.
orderNo``"desc"`` (default, best/highest first) or ``"asc"`` (lowest first — handy for cost metrics like ``cpc``/``cpa``).desc
periodNo``"summary"`` (default, one aggregate per object) or ``"day"``. Ranking always uses the per-object ``total.base`` aggregate.summary
metricsNoMetrics group to request (default ``"base"``).base

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond annotations (readOnlyHint, idempotentHint), the description adds details: fetches via shared client, reads metric from total.base aggregate, sorts, and returns top/bottom limit. No contradictions.

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?

Two sentences plus a usage directive; all content is relevant and front-loaded. No unnecessary words.

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 an output schema present and 100% parameter coverage, the description fills the remaining gaps by explaining the ranking logic, metric source, and usage intent. It is complete for a tool of this complexity.

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%, so baseline is 3. The description adds context like 'from each object's total.base aggregate' but does not significantly enhance parameter meaning beyond the schema's own 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 the verb (rank) and the resource (VK Ads objects by a performance metric, returning top N). It distinguishes from sibling tools like list_ad_groups by focusing on ranking and selection of best/worst performers.

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 explicitly says 'Use this to pick the best-performing (or worst-performing) campaigns, ad groups or banners.' However, it does not contrast with sibling tools like get_statistics for raw data or list_* for unfiltered listings, but the usage context is clear enough.

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/Qusto/vk-ads-mcp'

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