Skip to main content
Glama
askads

Yandex Direct MCP

Get statistics

get_statistics
Read-onlyIdempotent

Retrieve performance reports for Yandex Direct campaigns, ads, keywords, and search queries. Supports custom date ranges, filters, and aggregation options to analyze advertising metrics.

Instructions

Requests a performance report via the Yandex Direct Reports service. By default the report is AGGREGATED over the whole period (one row per object) — add "Date" to fieldNames only for day-by-day dynamics or trend questions. ALL_TIME without a campaign filter is rejected for SEARCH_QUERY/CRITERIA reports; pass campaignIds or a bounded date range. SEARCH_QUERY_PERFORMANCE_REPORT returns a COMPUTED SUMMARY (totals over ALL rows + top-N detail + tail rollup + zero-click/zero-conversion counts), not raw rows — shape it with sortBy/topN/minCost/queryContains/zeroClicksOnly/zeroConversionsOnly, and add Conversions to fieldNames for conversion-based counts. Other report types return tab-separated rows (no header).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNNoMax detail rows in the summary (server-capped at 100). Default 50.
orderNoSort order for detail rows. Default desc.
dateToNoEnd date YYYY-MM-DD (required for CUSTOM_DATE).
sortByNoMetric to rank the detail rows by. Default Cost.
minCostNoOnly include rows with Cost >= this in the detail list.
dateFromNoStart date YYYY-MM-DD (required for CUSTOM_DATE).
fieldNamesNoReport columns (must be valid for the report type).
includeVatNoWhether costs include VAT. Default true.
reportTypeNoReport type. Default CAMPAIGN_PERFORMANCE_REPORT.
campaignIdsNoLimit the report to these campaign ids.
dateRangeTypeNoPredefined date range. Inferred as CUSTOM_DATE when dateFrom/dateTo are given.
queryContainsNoOnly include rows whose query/criterion contains this substring (case-insensitive).
zeroClicksOnlyNoOnly include rows with 0 clicks in the detail list.
zeroConversionsOnlyNoOnly rows with clicks>0 and 0 conversions (needs Conversions in fieldNames).
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint true, and destructiveHint false. The description adds behavioral details: default aggregated output, special summary behavior for SEARCH_QUERY reports, tab-separated rows for others, and constraints. 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is relatively long but each sentence provides valuable information. It is front-loaded with the core purpose and then details specific cases. Minor redundancy could be trimmed, but overall it is efficient for the complexity.

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 the complexity (14 parameters, no output schema, special report behavior), the description covers all key aspects: default behavior, per-report differences, parameter roles, and output format (tab-separated rows, no header for most, computed summary for SEARCH_QUERY). It is comprehensive.

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%, so baseline is 3. The description adds meaning beyond schema by explaining how parameters like sortBy, topN, minCost, queryContains, zeroClicksOnly, and zeroConversionsOnly shape the summary report, and how fieldNames and Date interact. This enhances understanding.

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 explicitly states it requests a performance report via the Yandex Direct Reports service. It specifies the verb 'Request' and resource 'performance report', distinguishing it from sibling tools like get_account_info or get_balance which retrieve different data.

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 provides clear context for usage: it explains default aggregation, how to get day-by-day data, the rejection of ALL_TIME without campaign filter for certain report types, and the special shape of SEARCH_QUERY_PERFORMANCE_REPORT. It does not explicitly state when not to use, but the guidance is sufficient.

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/askads/mcp-yandex-direct'

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