Skip to main content
Glama
stufently

yandex-metrica-mcp

yandex_metrica_cancel_logs_request

DestructiveIdempotent

Cancel a pending Yandex Metrica Logs API export in created or awaiting_retry status to stop unprocessed requests before they run.

Instructions

Cancel a Yandex Metrica Logs API export that is still pending, in status created or awaiting_retry. Use when the user wants to stop an export that has not been processed yet. Do not use this on a processed request; call yandex_metrica_clean_logs_request to delete the prepared files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
counter_idYesYandex Metrica counter (tag) ID
request_idYesLogs API request ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuine context the annotations lack: the valid state preconditions (created / awaiting_retry) and the consequence of misuse on processed requests. It stops short of describing what happens to already-prepared files or the response shape.

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?

Three front-loaded sentences with zero waste: purpose and precondition first, then positive usage, then the exclusion with the alternative. Every sentence earns its place.

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 two-parameter, no-output-schema tool, the description covers purpose, applicability, and routing to a sibling. It would be fully complete with a note on what happens to any partially prepared files, but nothing essential to correct invocation is missing.

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% and both parameters (counter_id, request_id) are documented in the schema itself. The description adds no syntax, format, or ID-source guidance beyond the schema, so the baseline 3 applies.

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?

Names a specific verb (Cancel) and resource (Yandex Metrica Logs API export) and narrows scope to requests in status created or awaiting_retry. It also implicitly distinguishes itself from yandex_metrica_clean_logs_request, which handles processed requests.

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?

Explicitly states when to use it ('user wants to stop an export that has not been processed yet') and when not to ('Do not use this on a processed request'), naming the sibling to use instead. Nothing is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.