Skip to main content
Glama
yandex-direct-mcp

yandex-direct-mcp

by s3rezhkaa

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
YANDEX_CLIENT_LOGINYesYandex Direct client login.
YANDEX_DIRECT_TOKENYesYandex Direct OAuth token.
YANDEX_DIRECT_API_URLNoBase 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_URLNoURL 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 7 tools

Disambiguation4/5

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.

Naming Consistency5/5

Every tool follows a clean get_<resource> snake_case pattern, with the report tools consistently suffixed with _report. No mixed conventions or vague verbs.

Tool Count5/5

Seven tools is well within the ideal range and each one covers a distinct reporting axis. Nothing feels redundant or pad­ded for the analytics purpose.

Completeness3/5

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.

Maintenance

ActivityMaintained
ResponsivenessOutdated data