Skip to main content
Glama
dontsovcmc

io.github.dontsovcmc/yandex-metrika

by dontsovcmc

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
METRIKA_TIMEOUTNoТаймаут HTTP-запросов к API (секунды)30
METRIKA_FILE_TIMEOUTNoТаймаут скачивания файлов (секунды)60
YANDEX_METRIKA_TOKENYesOAuth-токен Яндекс Метрики

Capabilities

Features and capabilities supported by this server

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

Tools

Functions exposed to the LLM to take actions

NameDescription
ym_searchA

Find available actions by intent. Optional domain filter: reporting, counters, goals, filters, grants, operations, segments, labels, accounts, delegates, annotations, access_filters, logs, uploads. Returns action ID, description, and JSON Schema of parameters.

ym_executeA

Execute action by ID. params_json validated against action schema. Use ym_search to discover actions and their schemas first.

ym_execute_fileA

Execute action that reads or writes a file (uploads/downloads). file_path must be under ~/... or /tmp/... Use ym_search to discover file actions (is_file=true).

ym_countersB

List counters. Optional filters: search_string, permission (own/view/edit), status (Active/Deleted), per_page, offset.

ym_counterC

Get counter details. field: goals,mirrors,grants,filters,operation.

ym_stat_dataB

Table report (GET /stat/v1/data). ids and metrics are comma-separated. Example: ids='12345', metrics='ym:s:visits,ym:s:users', dimensions='ym:s:browser', date1='7daysAgo', date2='today'.

ym_stat_data_bytimeC

Time-series report (GET /stat/v1/data/bytime). group: all/auto/minutes/hour/day/week/month/quarter/year.

ym_goalsB

List goals for a counter.

ym_segmentsB

List segments for a counter.

ym_grantsC

List access grants for a counter.

ym_log_requestsB

List log API requests for a counter.

ym_labelsA

List all labels.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/dontsovcmc/mcp-server-yandex-metrika'

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