Skip to main content
Glama
BoxLab-Ltd

yandex-metrica-mcp

by BoxLab-Ltd

Clean or cancel a Metrica log request

logs_clean
Destructive

Clean finished or cancel pending log requests to free Yandex Metrica counter storage quota. Destructive: cleaned data must be requested again for later download.

Instructions

Free the counter storage quota by cleaning a finished (processed) log request, or cancel one still being prepared. Dispatches by current status. Destructive: cleaned data must be requested again to download later.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
counterIdNoYandex Metrica counter id. Optional if YANDEX_METRIKA_COUNTER_ID is configured.
requestIdYesLog request id returned by logs_request.
Behavior4/5

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

The description discloses that the tool dispatches based on current status and adds a specific destructive consequence: 'cleaned data must be requested again to download later.' This goes beyond the annotations (destructiveHint=true) by explaining the exact impact of the destructive action. However, it does not elaborate on other behaviors like auth requirements or error cases.

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 two sentences long, front-loaded with the primary action and purpose, and includes a warning about destructive consequences. Every sentence adds value without unnecessary verbosity, making it highly concise and well-structured.

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 simple two-parameter tool, the description covers the core functionality, usage context, and a key behavioral consequence. Annotations capture the destructive nature, and the schema handles parameter details. Minor gaps exist (e.g., what happens for statuses other than finished/prepared), but the description is largely complete for its complexity.

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?

The input schema provides 100% description coverage for both parameters (counterId and requestId), so the description does not need to add parameter semantics. The tool description focuses on behavior rather than parameter details, and no additional meaning is provided beyond the schema. This matches the baseline for high schema coverage.

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 the tool's action: 'Free the counter storage quota by cleaning a finished (processed) log request, or cancel one still being prepared.' It specifies the resource (Metrica log request) and distinguishes itself from sibling tools like logs_download, logs_status, and logs_request by focusing on cleaning/cancelling to reclaim quota.

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 on when to use the tool: to free storage quota by cleaning finished requests or cancelling pending ones. It mentions 'Dispatches by current status' but does not explicitly name alternatives or state when not to use it, so it lacks explicit exclusionary guidance.

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/BoxLab-Ltd/yandex-metrica-mcp'

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