yandex-direct-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YANDEX_CLIENT_LOGIN | Yes | Yandex Direct client login. | |
| YANDEX_DIRECT_TOKEN | Yes | Yandex Direct OAuth token. | |
| YANDEX_DIRECT_API_URL | No | Base URL for API v5, defaults to https://api.direct.yandex.com. Set this when pointing to a local mock server (for example http://localhost:8091). | |
| YANDEX_DIRECT_GOALS_URL | No | URL for API v4 Live goals, defaults to https://api.direct.yandex.ru/live/v4/json/. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_campaignsA | List Yandex Direct campaigns with their ID, name, status, state, and type. Args: campaign_ids: Optional list of campaign IDs to filter. Returns all campaigns if omitted. |
| get_goalsB | List conversion goals available for the configured Yandex Direct account. |
| get_adsA | Load ad creatives: titles, texts, destination URLs, statuses, and image URLs. Args: campaign_ids: Optional list of campaign IDs to load ads for. ad_ids: Optional list of specific ad IDs. Provide campaign_ids or ad_ids. include_image_urls: Resolve AdImageHash values to original/preview URLs. |
| get_campaign_reportA | Load daily Yandex Direct campaign statistics for a date range. Args: start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format. campaign_ids: Optional list of campaign IDs to filter. goal_ids: Optional list of Yandex Metrica goal IDs for conversion columns. |
| get_ad_reportA | Load daily ad-level statistics (impressions, clicks, cost, conversions). Args: start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format. campaign_ids: Optional list of campaign IDs to filter. goal_ids: Optional list of Yandex Metrica goal IDs for conversion columns. |
| get_search_queries_reportA | Load weekly search query statistics to analyze search terms and negative keywords. Args: start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format. campaign_ids: Optional list of campaign IDs to filter. goal_ids: Optional list of Yandex Metrica goal IDs for conversion columns. clicks_only: If true, return only search queries with at least one click. |
| get_placements_reportB | Load daily ad network placement statistics for campaigns. Args: start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format. campaign_ids: Optional list of campaign IDs to filter. goal_ids: Optional list of Yandex Metrica goal IDs for conversion columns. minimum_clicks: Minimum clicks required for a placement to be included. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool targets a distinct resource or report type (goals, campaigns, ads, search queries, placements, campaign stats, ad stats). The only friction is at-a-glance confusion between metadata getters (get_campaigns, get_ads) and their stat counterparts (get_campaign_report, get_ad_report), but the descriptions clearly separate them.
Every tool follows a clean get_<resource> snake_case pattern, with the report tools consistently suffixed with _report. No mixed conventions or vague verbs.
Seven tools is well within the ideal range and each one covers a distinct reporting axis. Nothing feels redundant or padded for the analytics purpose.
The reporting surface is decent (campaign, ad, placement, search query, goals), but it is entirely read-only: no ad group or keyword tools, and no way to create campaigns/ads, manage bids, or apply negative keywords even though the search-query report suggests that workflow. Agents can analyze but cannot act.