Skip to main content
Glama
stufently

yandex-metrica-mcp

yandex_metrica_delete_counter

DestructiveIdempotent

Delete a Yandex Metrica counter after explicit user confirmation; stops data collection and removes API access to its statistics.

Instructions

Delete one Yandex Metrica counter; it stops collecting data and its statistics are no longer available through the API. Use when the user explicitly asks to remove a counter and has confirmed the deletion. Do not use this to inspect a counter; call yandex_metrica_get_counter instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
counter_idYesYandex Metrica counter (tag) ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real consequence detail beyond that: the counter stops collecting data and its statistics become unavailable via the API, plus a user-confirmation gate. It does not state whether deletion is reversible or what the response returns, so it falls just short of a 5.

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 short sentences, front-loaded with the action and its consequence, then the precondition, then the sibling exclusion. Every sentence carries distinct, necessary information with no repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter destructive tool with no output schema, the description supplies the action, its irreversible consequence, the confirmation precondition, and the alternative tool. Nothing an agent needs in order to call it correctly 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?

Only one parameter (counter_id) and schema description coverage is 100%, so the schema already documents it fully. The description adds no syntax or format guidance beyond the schema, making the baseline 3 appropriate.

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?

States a specific verb and resource ('Delete one Yandex Metrica counter') and immediately names the sibling it must not be confused with ('Do not use this to inspect a counter; call yandex_metrica_get_counter instead'). An agent can distinguish it from get_counter, list_counters, and create_counter without opening any schema.

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?

Gives an explicit precondition ('when the user explicitly asks to remove a counter and has confirmed the deletion') and an explicit exclusion routing to the alternative tool for inspection. Both when-to-use and when-not-to-use are covered.

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