Skip to main content
Glama
askads

Yandex Metrica MCP

Произвольный запрос к API Яндекс Метрики

raw_request
Destructive

Send direct API requests to any Yandex Metrica endpoint, including management and stat paths, with support for query parameters, JSON body, and write confirmations for POST/DELETE.

Instructions

Универсальный запрос: обращается напрямую к любому пути API Яндекс Метрики — например "management/v1/counters", "management/v1/counter/{id}/goals", "stat/v1/data". Нужен для эндпоинтов, у которых нет отдельного инструмента. query уходит в строку запроса, body отправляется как JSON для POST. GET выполняется свободно; POST и DELETE — это запись, им нужен confirmWrite=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoТело запроса в JSON для POST.
pathYesПуть API, например "stat/v1/data" или "management/v1/counter/12345/goals".
queryNoПараметры строки запроса (ids, metrics, dimensions, date1, date2, ...).
methodNoHTTP-метод. По умолчанию GET.
confirmWriteNoДолжен быть true для записи (POST или DELETE).
Behavior4/5

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

Given destructiveHint=true and readOnlyHint=false in annotations, the description adds crucial context about write operations requiring confirmWrite=true, which is not in the annotations. It also mentions that POST/DELETE are write operations. However, it doesn't detail what is destroyed or the exact consequences, but the annotations already set the destructive nature, and the description adds a practical guard.

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?

The description is concise, front-loaded with the purpose, and each sentence earns its place. It includes examples, usage conditions, and parameter behavior without redundancy. The structure is efficient and easy to scan.

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?

For a tool with 5 parameters and nested objects, the description together with the schema provides adequate guidance. It lacks mention of response format, but there is no output schema, and for a generic request tool, response behavior is inherently variable. It covers the essential aspects: when to use, how authentication works implied, and write confirmation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters. The description adds value by explaining the role of 'query' as query string parameters and 'body' as JSON for POST, which aligns with the schema. However, it doesn't add much beyond the schema for paths, method defaults, or confirmWrite requirements beyond what the schema describes.

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 is a universal request tool that directly accesses any path of the Yandex Metrica API, with concrete examples. It also explicitly notes it is for endpoints without a dedicated tool, distinguishing it from siblings like list_counters and get_statistics.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says when to use it (for endpoints without a dedicated tool) and implies when not to (when a dedicated tool exists). It also provides conditions for POST/DELETE requiring confirmWrite=true, and notes GET is free. This effectively routes agents to the right tool.

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-metrica'

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