Skip to main content
Glama
Qusto

vk-ads-mcp

by Qusto

list_campaigns

Read-onlyIdempotent

Retrieve all ad campaigns from your VK Ads cabinet with optional field selection, status filtering, and sorting. Handles pagination automatically to return complete results.

Instructions

List ad campaigns (VK Ads ad_plans) for the authenticated cabinet.

Fetches every campaign from GET /ad_plans.json, transparently walking the offset-based pagination, and returns the RAW item dicts so every field you request reaches you for analysis.

By default the API returns a MINIMAL field set. To get rich data pass fields with the columns you need, e.g. "id,name,status,objective,budget_limit,budget_limit_day,autobidding_mode," "max_price,priced_goal,delivery,efficiency_status,date_start,date_end". Call the describe_fields tool with resource="ad_plans" first to learn the full set of valid field names for this resource.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNoOptional comma-separated list of object fields to request from the API. Forwarded verbatim as the ``fields`` query parameter. When ``None`` the API default (minimal) field set is returned. Rich fields include ``objective``, ``budget_limit_day``, ``autobidding_mode``, ``priced_goal``, ``delivery``, ``efficiency_status`` — see ``describe_fields``.
statusNoOptional campaign status to filter by (sent as the ``_status__in`` filter), e.g. ``"active"``, ``"blocked"``, ``"deleted"``. When ``None`` no status filter is applied.
sortingNoOptional sort spec, e.g. ``"-id"`` (newest first) or ``"id"``. Forwarded verbatim as the ``sorting`` query parameter.
limitNoPage size for pagination (1-50). The API caps page size at 50; larger values are clamped. This affects request batching only — all matching campaigns are returned regardless.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Discloses pagination walking, raw dict return, and default field behavior, adding value beyond the `readOnlyHint` and `idempotentHint` annotations. 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?

Concise and front-loaded: 5 sentences cover purpose, pagination, field selection, and reference to another tool. No superfluous information.

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?

Covers main aspects: what it does, pagination, field selection, and integration with `describe_fields`. With output schema present, return values are documented elsewhere. Minor omission of error handling but not critical.

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 coverage is 100%, but the description adds meaning: provides example for fields parameter, explains status filter, sorting, and limit with clamping. This goes beyond the schema 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 lists ad campaigns (VK Ads `ad_plans`) for the authenticated cabinet, with a specific verb and resource. It distinguishes from siblings like `list_ad_groups` and `list_banners` by naming the 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?

Provides clear context: mentions default minimal field set, suggests using `describe_fields` first to learn valid fields, and explains how to get rich data. While it doesn't explicitly say when not to use, the guidance is sufficient for an AI agent.

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